How to create Amazon EC2 Instance

  1. Open the Amazon EC2 console at
    https://console.aws.amazon.com/ec2/.
  2. From the console dashboard, click 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 the 64-bit Amazon Linux AMI. Notice that this
    configuration is marked “Free tier eligible.”
  4. On the Choose an Instance Type page, you can select the hardware
    configuration of your instance. The t2.micro instance type is selected
    by default. Alternatively, select All generations from the
    filter list, and then select the t1.micro instance type. Note that these
    are the only instance types eligible for the free tier.

    Note

    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.

  5. Click 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. Instead, select the security group that you created when getting set up using the
    following steps:

    1. Click Edit security groups.
    2. On the Configure Security Group page, ensure the
      Select an existing security group option is
      selected.
    3. Select your security group from the list of existing security groups,
      and click Review and Launch.
  7. On the Review Instance Launch page, click
    Launch.
  8. 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
    the instance.

    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
    Instances
    .

  9. A confirmation page lets you know that your instance is launching. Click View
    Instances
    to close the confirmation page and return to the
    console.
  10. 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
    changes to running, and it receives a public DNS name. (If the
    Public DNS column is hidden, click the
    Show/Hide icon and select Public
    DNS
    .)
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s