Creating a Linux Amazon EC2 virtual server instance

Last Updated : Aug 06, 2025 |
Prolog information
If you are using the AWS CLI, you do not need to follow this procedure.
  1. Sign in to the Amazon Web Services Management console.
  2. Under AWS services, navigate to All servicesComputeEC2.
    STEP RESULT:
    The system displays the EC2 Management Console page.
  3. Click Launch Instance.
  4. On the Choose an Amazon Machine Image (AMI) page, search for a Linux AMI, and click Select.
    ADDITIONAL INFORMATION:
    Select an image that includes the AWS command line tools.
  5. On the Choose an Instance Type page, select an instance type, and click Next: Configure Instance Details.
  6. On the Configure Instance Details page, do the following:
    1. In the Network field, click a Virtual Private Cloud (VPC) network.
    2. In the Network interfaces section, assign an IP address.
  7. Click Next: Add Storage.
  8. On the Add Storage page, leave the default settings, and click Next: Add Tags.
  9. On the Add Tags page, add a tag, and click Next: Configure Security Group.
  10. On the Configure Security Group page, create a new security group or select an existing security group, and click Review and Launch.
  11. On the Review Instance Launch page, review the details of each configuration, and then click Launch.
    STEP RESULT:
    The system displays the following screen:
    Select an existing key pair or create a new key pair dialog box
  12. On the Select an existing key pair or create a new key pair dialog box, select one of the following options:
    • Choose an existing key pair: If you select this option, perform the following:
      • From the Select a key pair drop-down list, select a key pair.
      • Select the I acknowledge that I have access to the selected private key file (<example.pem>), and that without this file, I won't be able to log into my instance check box.
    • Create a new key pair: If you select this option, perform the following:
      • In the Key pair name field, type a name for the private key file. The extension of the private key file is .pem.
      • Click Download Key Pair.
      • Save the file in a secure and accessible location.
        Note:
        You cannot download the file again.
    • Proceed without a key pair: If you select this option, select the I acknowledge that I will not be able to connect to this instance unless I already know the password built into this AMI check box.
  13. Click Launch Instances.
    STEP RESULT:
    The system creates the virtual server instance.
  14. Click Launch Status, and click View instance.
    ADDITIONAL INFORMATION:
    When the system creates an instance, the Status Checks column displays the message: 2/2 checks passed.