1 回答
- 最新
- 投票最多
- 评论最多
0
With the AWS Elastic Beanstalk Compose Environments API, you can create and update groups of Elastic Beanstalk environments within a single application. When you create a group of environments with the Compose Environments API, Elastic Beanstalk creates dependent environments only after their dependencies are up and running.
~/application
|-- webapp
| `-- env.yaml
`-- worker
`-- env.yaml
With each directory containing an environment definition file env.yaml with the source code for each.
Detailed docs at Creating and updating groups of Elastic Beanstalk environments
已回答 2 年前
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 7 个月前
- AWS 官方已更新 8 个月前
- AWS 官方已更新 7 个月前
Thanks for responding. I think this answer isn't what I am looking for. I am looking to deploy the same app to both the webserver and worker environment using CodePipeline. I doubt your answer would allow this, or do I understand it incorrectly?
Ya, I'm not sure this is answering the question. Don't understand why this is so difficult in beanstalk. Web tier with a load balancer, worker tier with no load balancer. How do you deploy the same code to both environments via eb cli?