AWS - Creating your first EC2 Instance | Scribe

    AWS - Creating your first EC2 Instance

    • Hafeez Baig |
    • 12 steps |
    • 4 minutes
    information ordinal icon

    Refer to the following guide to learn how to use IAM in the cloud\ <https://scribehow.com/shared/Creating_an_IAM_User_and_User_Group_in_AWS_Management_Console__hWNiiXlcRJKFqYZZEJD-cg>

    1

    Sign in to **AWS Management Console** as an **IAM User** **Pre-requisite** - Ensure you have selected the AWS region closest to your location\ For this guide, we will be using us-east-2 (Ohio) as a preferred choice

    2

    Type **EC2** in the search bar and click on **EC2** to view the EC2 Dashboard

    3

    On the EC2 dashboard click on **Instances** from the left bar to view the EC2 instances

    4

    Click on the **Launch instances** button from the top right of the page to Launch an Instance

    5

    Launch an instance wizard will open, Type the Name as "**First EC2 Instance**"

    6

    Scroll to the "**Amazon Machine Image**" section, choose the "**Amazon Linux**" Operating System image and select an **AMI** Eligible under Free tier

    7

    Scroll to the **Instances type** section and select **t2.micro** instance type, which qualifies for the free tier

    information ordinal icon

    The **t2.micro** instance on **AWS** offers a cost-effective solution for general computing tasks, providing moderate CPU performance suitable for various workloads.

    8

    Scroll to the **Key pair (login)** section and click on the "**Create a new key pair**" option to generate a new keypair

    9

    The Key pair creation wizard will open, Type your key pair name as "**EC2 Default**". Choose **RSA** as the key pair type and select the **.pem** as private key file format

    10

    Click on the **Create key pair** button and download the private key pair ***Note***:*Don't forget to securely store the downloaded key pair since it's essential for **SSH** access to the **EC2** instance*

    information ordinal icon

    **What is a Keypair in AWS?** In AWS, a key pair is a set of cryptographic keys used to securely connect to instances (virtual servers) in the cloud

    11

    Review your settings and click on **Launch instance** button

    12

    The instance launch will be successfully initiated

    information ordinal icon

    Congratulations on completing this lab and Creating Your First EC2 Instance on AWS! Good job!