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 공식업데이트됨 8달 전
- AWS 공식업데이트됨 4년 전
- AWS 공식업데이트됨 8달 전
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?