ElasticBeanStalk没有部署我的节点应用程序

时间:2016-03-23 18:05:06

标签: node.js amazon-elastic-beanstalk

Git在应用程序顶级目录,/ home / bitnami / genapp中设置,应用程序将提交给Git。这是运行Binami AMI for Node的AWS实例。 EB安装在/ genapp中。我可以做一个eb deploy我看到了:

bitnami@ip-10-99-200-73:~/genapp$ eb deploy
Creating application version archive "app-1cff-160323_170817".
Uploading genapp/app-1cff-160323_170817.zip to S3. This may take a while.
Upload Complete.
INFO: Environment update is starting.
INFO: Deploying new version to instance(s).
INFO: New application version was deployed to running EC2 instances.
INFO: Environment update completed successfully.

当我进入EBS(eb ssh)实例时,为什么我看不到部署应用程序的任何迹象?例如,没有/home/bitnami目录?当我ssh in我是一个名为ec2-user的用户。

1 个答案:

答案 0 :(得分:0)

听起来你有一个运行Bitnami AMI的 EC2 实例,而不是运行Bitnami AMI的Elastic Beanstalk环境(我不确定你是怎么做的。)如果你想要在Elastic Beanstalk上运行具有所有自动部署优势的节点,您将需要使用预配置的node.js环境。