Creating a Test EC2 Instance

Creating a Test EC2 Instance

  1. Open Amazon EC2 Console:

  2. Start the Launch Process:

    • From the EC2 dashboard, find the Launch instance box and select Launch instance.
  3. Specify Name and Tags:

    • Under Name and tags, enter a descriptive name for your instance.

    Create VPC

  4. Select Amazon Machine Image (AMI):

    • Under Application and OS Images, go to Quick Start and select Ubuntu.
    • From the AMI options: Ubuntu

    Create VPC

  5. Choose Instance Type:

    • Under Instance type, select c5.large for a more powerful configuration suitable for production environments.
  6. Configure Key Pair:

    • In Key pair (login), select a key pair you previously created.
    • Warning: Avoid selecting Proceed without a key pair.

    Create VPC

  7. Set Up Networking:

    • Click Edit next to Network settings.
    • Choose from the list of security groups.

    Create VPC

  8. Review and Launch:

    • Review your settings and click Launch instance.

    Create VPC

  9. Post-Launch Steps:

    • Monitor the status of your new instance.

    Create VPC

Connecting to EC2

To connect to your instance using a browser-based client from the Amazon EC2 console:

  1. Open the Amazon EC2 console.

  2. Select Instances.

  3. Choose your instance and select Connect.

    Create VPC

  4. Choose EC2 Instance Connect.

    Create VPC

  5. Verify the username and select Connect.

    Create VPC