EC2 Instance Step 1: Launch An Instance

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

EC2 Instance

Step 1: Launch an instance


You can launch a Linux instance using the AWS Management Console as described in the
following procedure. This tutorial is intended to help you launch your first instance quickly, so it
doesn't cover all possible options. For more information about the advanced options,
see Launch an instance using the Launch Instance Wizard. For information about other ways to
launch your instance, see Launch your instance.

To launch an instance

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

2. From the console dashboard, choose Launch Instance.

3. 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 an HVM version of Amazon Linux 2. Notice that these AMIs are marked
"Free tier eligible."

4. On the Choose an Instance Type page, you can select the hardware configuration of


your instance. Select the t2.micro instance type, which is selected by default.
The t2.micro instance type is eligible for the free tier. In Regions where t2.micro is
unavailable, you can use a t3.micro instance under the free tier. For more information,
see AWS Free Tier.

5. On the Choose an Instance Type page, choose Review and Launch to let the wizard


complete the other configuration settings for you.

6. On the Review Instance Launch page, under Security Groups, you'll see that the wizard
created and selected a security group for you. You can use this security group, or
alternatively you can select the security group that you created when getting set up
using the following steps:

i. Choose Edit security groups.

ii. On the Configure Security Group page, ensure that Select an existing security


group is selected.

iii. Select your security group from the list of existing security groups, and then
choose Review and Launch.
7. On the Review Instance Launch page, choose Launch.

8. When prompted for a key pair, select Choose an existing key pair, then select the key
pair that you created when getting set up. Warning
Don't select Proceed without a key pair. If you launch your instance without a key pair,
then you can't connect to it.

When you are ready, select the acknowledgement check box, and then choose Launch
Instances.

9. A confirmation page lets you know that your instance is launching. Choose View
Instances to close the confirmation page and return to the console.

10. On the Instances screen, you can view the status of the launch. 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 changes to running and it receives a public DNS name. (If
the Public IPv4 DNS column is hidden, choose the settings icon (   ) in the top-right
corner, toggle on Public IPv4 DNS, and choose Confirm.

11. It can take a few minutes for the instance to be ready so that you can connect to it.
Check that your instance has passed its status checks; you can view this information in
the Status check column.

Step 2: Connect to your instance


There are several ways to connect to your Linux instance. For more information, see Connect to
your Linux instance.

Important
You can't connect to your instance unless you launched it with a key pair for which you have
the .pem file and you launched it with a security group that allows SSH access from your
computer. If you can't connect to your instance, see Troubleshoot connecting to your
instance for assistance.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy