meteor mup:以编程方式构建和部署

时间:2018-01-30 05:25:00

标签: meteor mup

我想为我的meteor应用程序设置自动缩放功能。 理想情况下,我希望在s3(或其他一些存储,图像通常是从上一次构建生成)上保持构建映像,并使用aws-lambda(因此不需要专用构建服务器)在新实例上使用此映像进行部署。我希望所有这些都能在2分钟内完成。

因此可以为这些任务进行mup

  1. 构建映像并将其保存到aws s3,无需部署。
  2. 使用来自aws s3的图片以编程方式运行mup deploy
  3. 不需要mup setup,因为我将使用已设置的ami启动实例。
  4. mup也在使用letsencrypt为我设置ssl。

    我也对其他工具/脚本持开放态度。

1 个答案:

答案 0 :(得分:1)

You won't get much response from this question, because mup makes deployment life quite simple, and most people who use it don't know much about what it does.

You should have a look at the code of meteor-up to see what it does, and see where you can extend it for your own purposes. You could also look at yamup, as that is another approach to the same problem.