2014-04-08 137 views
2

我正在嘗試使用Amazon Elastic Beanstalk控制檯將nodejs應用程序部署到Amazon EC2。我們有一個自定義倉庫管理器,並沒有使用Git。 Git是使用Beanstalk的先決條件嗎?或者我可以與任何版本管理器一起使用它嗎?Amazon Elastic Beanstalk without Git

回答

0

是的,您可以創建node.js容器並將其作爲zip文件上載到Elastic Beanstalk應用程序實例。您必須確保您的zip文件包含具有所有必需配置的.ebextentions文件夾。

您可以找到有關Node.js的容器這裏配置的詳細信息:

http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_nodejs_custom_container.html

這裏:

http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html#command-options-nodejs

此外,您還可以看看這個博客如何通過上傳zip文件將「Ghost」(基於node.js的博客)部署到Elastic Beanstalk:

http://blogs.aws.amazon.com/application-management/post/Tx37ALIK2KLNIVC/Six-Steps-to-Deploy-Ghost-to-AWS-Elastic-Beanstalk

相關問題