Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix AWS Cli issue?

I am new to Amazon Web Services. I am trying to use the CLI that i have configured on my instance. I am trying to use many commands, but getting the following Error:

aws glacier create-vault --vault-name my-vault --account-id -"Invalid endpoint: https://glacier.US East (N. Virginia).amazonaws.com 

Please help me in resolving the issue.

like image 673
Kishore Avatar asked Feb 26 '16 06:02

Kishore


People also ask

How do you check if AWS CLI is configured correctly?

Use the describe-configuration-recorder-status command to check that the AWS Config has started recording the configurations of the supported AWS resources existing in your account. The recorded configurations are delivered to the specified delivery channel.

How can I fix the error unable to locate credentials when I try to connect to my Amazon s3 bucket using the AWS CLI?

To resolve this issue, make sure that your AWS credentials are correctly configured in the AWS CLI. Note: If you still receive an error when running an AWS CLI command, make sure that you're using the most recent AWS CLI version.

Which command is used to get AWS CLI help?

You can get help with any command when using the AWS Command Line Interface (AWS CLI). To do so, simply type help at the end of a command name.

How do I update my Amazon command line?

To update your current installation of the AWS CLI, add your existing symlink and installer information to construct the install command with the --update parameter.

Why am I getting errors when running AWS CLI commands?

If you receive errors when running AWS CLI commands, make sure that you’re using the most recent version of the AWS CLI. Verify that the AWS CLI is installed and configured correctly. Firstly, make sure that the AWS Identity and Access Management (IAM) role or IAM user has the correct permissions to run the relevant commands.

How do I diagnose connectivity issues in AWS?

From the AWS Command Line Interface (AWS CLI): Note: If you receive errors when running AWS CLI commands, make sure that you’re using the most recent version of the AWS CLI. For example, to diagnose connectivity issues from 172.31.2.7 to 172.31.2.8 on port 443 in an Amazon VPC:

Why can't I access new features in the AWS CLI?

Verify that you have the latest version of the AWS CLI installed. The AWS CLI is updated frequently. You can't access new released features when running an older CLI version. For information on how to update your version of the AWS CLI, see the General: Ensure you're running a recent version of the AWS CLI section in Troubleshooting AWS CLI errors.

What are the problems with AWS-CLI?

AWS CLI Unable to Create RDS Instance 2 Need help understanding 'InvalidParameterValueException: Invalid Content-Length' error when using upload-archive in AWS-CLI 0 Not able to download code deploy agent on aws linux ami 1 parsing issue in AWS CLI 0 aws data migration service . start replication task issue 1


1 Answers

Invalid endpoint: https://glacier.US East (N. Virginia).amazonaws.com

From the error message, it looks like you have specified an invalid region US East (N. Virginia) in your CLI configuration. Instead specify us-east-1. Check your ~/.aws/config or environment vars or wherever you are setting the region. Set your region to:

region=us-east-1
like image 77
helloV Avatar answered Oct 08 '22 10:10

helloV