1 Answer
- Newest
- Most votes
- Most comments
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
answered 2 years ago
Relevant content
- asked 17 days ago
- asked 9 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 18 days ago
- AWS OFFICIALUpdated 18 days ago
- AWS OFFICIALUpdated 8 months ago
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?