This section provides an overview of what amazon-ec2 is, and why a developer might want to use it.
It should also mention any large subjects within amazon-ec2, and link out to the related topics. Since the Documentation for amazon-ec2 is new, you may need to create initial versions of those related topics.
Detailed instructions on launching an EC2 instance.
In this example, we will launch a basic EC2 Instance with Amazon Linux in the quickest manner possible via the AWS Management Console. Amazon frequently improves the user experience of the AWM Management console, so you might experience some changes to the screens below.
Important: launching an instance in this manner is not considered secure and can incur cost if the instance is left running. Please terminate any instances created with these steps that you do not intend to use and pay for.
Amazon offers new users the AWS Free Tier account that allows you to test drive AWS features at very low cost.
First, sign into the AWS Management console. Create an account if you don't have one already (and take advantage of the Free Tier).
Scroll down to the compute section and click EC2
In the middle of the EC2 main screen, click the blue Launch Instance button.
For the Step 1 screen, chose Amazon Linux by clicking on the top Select button.
For Step 2, select t2.micro instance type and click the Next: Configure Instance Details button.
On Step 3, keep all of the defaults and click the Review and Launch button.
This takes you to Step 7 screen - Review and Launch. Click the blue launch button at the bottom of this screen.
A dialog window will pop up asking you to create a new key for your instance. Please select Create new Pair and provide a name for your Key Pair Name. Click the Download Key Pair button to download the key pair to your computer. This will enable the blue Launch Instances button.
If you plan to keep your EC2 instance, then you need to safeguard this Key Pair file. This is the only time you will be offered the Key Pair. If you plan to terminate this EC2 after completion of this example, you can safely ignore the Key Pair file.
Click Launch Instances to launch your test EC2 instance.
The next screen Launch Status contains a link to view the status of the launch. Click the instance name to view the launch status.
As AWS brings up the instance, the status will show Initializing for a few minutes.
When the instance is fully launched, your EC2 status should be Running and your instance screen should be similar to the following:
The last step of this example is to terminate this instance. Select Actions -> Instance State -> Terminate. Then click the blue button on the dialog screen(not shown): Yes Terminate.