How to Lunch an ECS Instance on a VPC

1) Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.


2) From the navigation bar, select the region where your reserved instance is located.


3) From the dashboard, click the Launch Instance button.


4) The Choose an Amazon Machine Image (AMI) page displays a list of basic configurations called Amazon Machine Images (AMIs). Choose the AMI that you want to use and click its Select button.


5) On the Choose an Instance Type page, select the hardware configuration and size of the instance to launch. Depending on the AMI you chose, you can stay within the free tier by selecting the Micro instances category, and selecting the t1.micro instance. When you are ready, click Next: Configure Instance Details.


6) On the Configure Instance Details page, select your VPC from the Network list, and subnet from the Subnet list. You can also configure other options as follows, and then click Next: Add Storage:


7) Public IP: Select this check box to request that your instance receives a public IP address. For more information, see IP Addressing in Your VPC. If you don't assign a public IP address during launch, you can assign an Elastic IP address to your instance after launch, which is explained in the next step of this exercise.


8) Network interfaces: If you selected a nondefault subnet, you can specify up to two new or existing network interfaces in the wizard. You can also specify a private IP address to use for the instance, or leave the Primary IP field blank to let the wizard assign one for you.


9) On the Add Storage page, you can specify volumes to attach to the instance besides the volumes specified by the AMI (such as the root device volume). Click Next: Tag Instance when done.

10) On the Tag Instance page, specify tags for the instance by providing key and value combinations. Click Next: Configure Security Group when you are done.


11) On the Configure Security Group page, the wizard automatically defines the launch-wizard-x security group to allow you to connect to your instance. Select the Select an existing security group option, and select the WebServerSG group that you created previously,. When you are done, click Review and Launch.

12) On the Review Instance Launch page, check the details of your instance, and make any necessary changes by clicking the appropriate Edit link.
When you are ready, click Launch.


13) In the Select an existing key pair or create a new key pair dialog box, you can choose an existing key pair, or create a new one. If you create a new key pair, ensure you download the file and store it in a secure location. You'll need the contents of the private key to connect to your instance after it's launched.

Now you can select the acknowledgment check box, then click Launch Instances

Comments