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:
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