Configure the AWS and ECS CLIs.
Navigate to My Account and enable access to billing data for IAM users.
Set username as
Administratorand click Next: Permissions.
Under the Add user to group tab, select Create group. Call the group name
Administratorsand check the AdministratorAccess job function in the list of policies. Then click Create group to continue.
Click through the Tags page, review your settings and click Create user. Download the CSV with login information.
Return to the Users page and select the Security credentials tab for the
Administratoruser you just created.
Under Access keys, click Create access keys.
aws configure --profile myprofile(where you substitute
myprofilewith a name of your choosing; this is just in case you want to have multiple logins, which you probably will), pasting your Access Key ID and Secret Access key as needed.
Note: When configuring AWS, be sure to specify
us-east-1as your default region name and
jsonas your default output format.
The output should look like this.
AWS Access Key ID [None]: AKIAIOSFODNN7EXAMPLE
AWS Secret Access Key [None]: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
Default region name [None]: us-east-1
Default output format [None]: json
There's no need follow the steps on the ECS CLI 'configuration' page. The Pushkin CLI will handle this for you.
Note: In configuring the ECS CLI, you'll need the AWS profile name you are using, as well as the related Access Key ID and Secret Access Key. If you can't remember the name of your profile, you can get a list of active profiles on your computer using:
aws configure list-profiles
To see the Access Key ID and Secret Access Key for a given profile, run the following, where
[profile]is replaced with the name of the profile you want to use:
aws configure get aws_access_key_id --profile [profile]
aws configure get aws_secret_access_key --profile [profile]