Connecting to EC2

Connecting to EC2

  1. Starting the Connection Process
    After configuring the Security Group, begin connecting to EC2.

    • Navigate to the EC2 interface and select Instances.
    • Choose the SID-performance-instance.
    • Click on Connect.

    CloudFormation Template

  2. Using the Connect to Instance Interface

    • Choose EC2 Instance Connection.
    • Click on Connect.

    CloudFormation Template

  3. Successful EC2 Connection
    The connection to EC2 is now established.

    CloudFormation Template

  4. Creating an Access Key After EC2 Connection
    Post successful EC2 connection, proceed to create an Access Key for AWS CLI configuration.

    • Go to IAM.

    CloudFormation Template

  5. Navigating the IAM Interface

    • Select Users.
    • Choose SID-lab-user1.

    CloudFormation Template

  6. In the User Interface

    • Click on Security credentials.
    • Select Create access key.

    CloudFormation Template

  7. Upon Successfully Creating an Access Key

    • Choose to Download .csv file.
    • Click Close.

    CloudFormation Template

  8. Entering Commands in the SSH Interface
    Enter the following command:

aws configure
  • Continue with the configuration using the information from the downloaded csv file.

CloudFormation Template