Nodejs and php in same environment in aws Elastic

2019-05-11 04:37发布

I have a application where I have both nodejs and php codes. nodejs is used to run several scripts required by the application. How do i deploy such application using aws Elastic beanstalk?

1条回答
乱世女痞
2楼-- · 2019-05-11 04:58

There are two ways to accomplish

Amazon Beanstalk recommended way#1:

  • Use Configuration File to install nodejs. Configuration File scripts will be executed during Beanstalk EC2 instances start up.

Legacy way#2:

  • Customizing an Elastic Beanstalk AMI to install nodejs and fill your Custom AMI ID in Beanstalk Environment Setting.

References:

1.Customizing and Configuring AWS Elastic Beanstalk Environments

2.Using Custom AMIs

查看更多
登录 后发表回答