Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I see which EC2 instances are associated with my Elastic Beanstalk application?

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.

like image 811
Ken Liu Avatar asked Jul 16 '12 14:07

Ken Liu


People also ask

Does Elastic Beanstalk create EC2 instance?

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.

How do I find my instance ID for Elastic Beanstalk?

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.

Which service model AWS Elastic Beanstalk belongs to?

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.


1 Answers

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.

like image 172
Steffen Opel Avatar answered Oct 19 '22 23:10

Steffen Opel