|« PreviousNext »|
|Did this page help you? Yes | No | Tell us about it...|
You can view a list of Amazon EC2 instances running your AWS Elastic Beanstalk application environment through the AWS Management Console. You can connect to the instances running Tomcat or PHP using any SSH client. For more information about listing and connecting to Server Instances using the AWS Toolkit for Eclipse, see Listing and Connecting to Server Instances. You can connect to the instances running Windows using Remote Desktop. For more information about listing and connecting to Server Instances using the AWS Toolkit for Visual Studio, see Listing and Connecting to Server Instances.
You must create an Amazon EC2 key pair and configure your AWS Elastic Beanstalk–provisioned Amazon EC2 instances to use the Amazon EC2 key pair before you can access your AWS Elastic Beanstalk–provisioned Amazon EC2 instances. You can set up your Amazon EC2 key pairs using the AWS Management Console. For instructions on creating a key pair for Amazon EC2, go to the Amazon EC2 Getting Started Guide. For more information on how to configure your Amazon EC2 instances to use an Amazon EC2 key pair, see Amazon EC2 Key Pairs.
To view and connect to Amazon EC2 instances for an environment
Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.
From the region list, select a region.
In the navigation (left) pane of the console, click Load Balancers.
Load balancers created by AWS Elastic Beanstalk will have a awseb in the name. Find the load balancer for your environment and click it.
Click the Instances tab in the bottom pane of the console window.
A list of the instances that the load balancer for your AWS Elastic Beanstalk environment uses is displayed. Make a note of an instance ID that you want to connect to.
Click the Instances link in the left side of the Amazon EC2 console, and find your instance ID in the list.
Right-click the instance ID for the Amazon EC2 instance running in your environment's load balancer, and then select Connect from the context menu.
Make a note of the instance's public DNS address on the Description tab.
To connect to an instance running Linux, use the SSH client of your choice to connect to your instance and type ssh -i .ec2/mykeypair.pem ec2-user@<public-DNS-of-the-instance> . For instructions on how to connect to an instance running Windows, see Connect to your Windows Instance in the Amazon Elastic Compute Cloud Getting Started Guide.
For more information on connecting to an Amazon EC2 instance, see the Amazon Elastic Compute Cloud Getting Started Guide.