How can I see which EC2 instances are associated with my Elastic Beanstalk application? I can see all of my instances running in EC2 but can't tell which ones go with which Beanstalk application/environment. The Beanstalk console doesn't seem to provide this information, either.
When you create a web server environment, AWS Elastic Beanstalk creates one or more Amazon Elastic Compute Cloud (Amazon EC2) virtual machines, known as Instances. The instances in your environment are configured to run web apps on the platform that you choose.
A list of the instances that the load balancer for your Elastic Beanstalk environment uses is displayed. Make a note of an instance ID that you want to connect to. In the navigation pane of the Amazon EC2 console, choose Instances, and find your instance ID in the list.
Elastic Beanstalk is a platform within AWS that is used for deploying and scaling web applications. In simple terms this platform as a service (PaaS) takes your application code and deploys it while provisioning the supporting architecture and compute resources required for your code to run.
This is documented within Listing and Connecting to Server Instances:
You can view a list of Amazon EC2 instances running your AWS Elastic Beanstalk application environment through the AWS Management Console.
Well, yes, but it's indeed not exactly obvious and should be easier ;) - in a nutshell, you'll need to explore the Elastic Load Balancer associated with your respective AWS Elastic Beanstalk environment, the screenshots in the linked article properly illustrate this at least.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With