Top "Aws-cli" questions

The AWS Command Line Interface (CLI) is a unified tool to manage AWS services.

AWS CLI S3 A client error (403) occurred when calling the HeadObject operation: Forbidden

I'm trying to setup a Amazon Linux AMI(ami-f0091d91) and have a script that runs a copy command to …

amazon-web-services amazon-s3 aws-cli
How can I resolve the error "The security token included in the request is invalid" when running aws iam upload-server-certificate?

I cd into the directory where all the pem/key files are and run the following: aws iam upload-server-certificate --server-certificate-name …

amazon-web-services amazon-iam aws-cli
The AWS Access Key Id does not exist in our records

I created a new Access Key and configured that in the AWS CLI with aws configure. It created the .ini …

amazon-web-services amazon-s3 aws-cli
Error You must specify a region when running command aws ecs list-container-instances

I am trying to use aws container service as per the documentation in http://docs.aws.amazon.com/AmazonECS/latest/…

amazon-web-services amazon-ec2 aws-cli
How to upgrade AWS CLI to the latest version?

I recently noticed that I am running an old version of AWS CLI that is lacking some functionality I need: $…

linux ubuntu amazon-web-services amazon-s3 aws-cli
AWS : The config profile (MyName) could not be found

Every time I want to config something with AWS I get the following error : "The config profile (myname) could not …

python amazon-web-services credentials aws-cli
AWS CLI $PATH Settings

I am following the AWS CLI Setup guide. I have managed to successfully install the tool on my Mac OS …

macos amazon-web-services aws-cli
How to display only files from aws s3 ls command?

I am using the aws cli to list the files in an s3 bucket using the following command (documentation): aws …

linux amazon-web-services amazon-s3 ls aws-cli
How to test credentials for AWS Command Line Tools

Is there a command/subcommand that can be passed to the aws utility that can 1) verify that the credentials in …

amazon-web-services aws-cli
How can I use wildcards to `cp` a group of files with the AWS CLI

I'm having trouble using * in the AWS CLI to select a subset of files from a certain bucket. Adding * to …

amazon-web-services amazon-s3 aws-cli