To run AWS commands on your machine, download and install the AWS CLI as explained in:

https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html

Alternatively, you can use the ShellCloud provided by the AWS console. This option requires uploading the configuration file as explained below.

To upload the AMI import configuration file

  1. Type "shell" in the search box of the AWS console.
  2. Select CloudShell in the search results to display the online AWS shell. 
  3. In the options menu, select Actions > Upload file.
  4. Select the containers.json file described in Creating an AMI import configuration file.
  5. Click Upload.