- Open the Amazon EC2 console at
- From the console dashboard, click Launch Instance.
- The Choose an Amazon Machine Image (AMI) page displays a list of
basic configurations called Amazon Machine Images (AMIs) that serve as templates
for your instance. Select the 64-bit Amazon Linux AMI. Notice that this
configuration is marked “Free tier eligible.”
- On the Choose an Instance Type page, you can select the hardware
configuration of your instance. The
t2.microinstance type is selected
by default. Alternatively, select All generations from the
filter list, and then select the
t1.microinstance type. Note that these
are the only instance types eligible for the free tier.
T2 instances must be launched into a VPC. If your AWS account supports EC2-Classic
and you do not have any VPCs, the launch wizard creates a VPC for you. Otherwise,
if you have one or more VPCs, click Next: Configure Instance Details
to select a VPC and subnet.
- Click Review and Launch to let the wizard
complete the other configuration settings for you.
- On the Review Instance Launch page, under Security
Groups, you’ll see that the wizard created and selected a security group for
you. Instead, select the security group that you created when getting set up using the
- Click Edit security groups.
- On the Configure Security Group page, ensure the
Select an existing security group option is
- Select your security group from the list of existing security groups,
and click Review and Launch.
- On the Review Instance Launch page, click
- In the Select an existing key pair or create a new key pair dialog
box, select Choose an existing key pair, then select the
key pair you created when getting set up.
Alternatively, you can create a new key pair. Select Create a new
key pair, enter a name for the key pair, and then click
Download Key Pair. This is the only chance for you to
save the private key file, so be sure to download it. Save the private key file
in a safe place. You’ll need to provide the name of your key pair when you
launch an instance and the corresponding private key each time you connect to
A key pair enables you to connect to a Linux instance through SSH. Therefore,
don’t select the Proceed without a key pair option. If you
launch your instance without a key pair, then you can’t connect to it.
When you are ready, select the acknowledgment check box, and then click Launch
- A confirmation page lets you know that your instance is launching. Click View
Instances to close the confirmation page and return to the
- On the Instances screen, you can view the status of your instance. It
takes a short time for an instance to launch. When you launch an instance, its
initial state is
pending. After the instance starts, its state
running, and it receives a public DNS name. (If the
Public DNS column is hidden, click the
Show/Hide icon and select Public