4.1 Test Connection

Test Connection

  1. Go to EC2 console and select the instance you just created.

    • Copy the public IP address of the instance.

    Copy Public IP Copy Public IP

  2. Open MobaXterm, create a new SSH session:

    • Remote host: Paste the public IP address of the instance.
    • Check Specify username and enter ec2-user.

    In the Advanced SSH settings tab, go to Use private key and select the .ppk file you downloaded when creating the instance.

    MobaXterm SSH MobaXterm SSH

  3. Now you should be able to connect to the instance. Run the following command to check the current bucket in Amazon S3.

    aws s3 ls

    AWS S3 List AWS S3 List