Category "aws-cli"

How to copy a file with spaces in its file name from one bucket to the other using AWS CLI (Dos)

I am trying to copy a file by the same My CV 2017.pdf from one AWS bucket to the other using the AWS command line. But I am getting error doing that. I tried u

Connect to AWS account via AWS CLI [closed]

I need to login to AWS account via AWS CLI. I imagine the first port of call with anything AWS CLI is to connect via the terminal. How do I do

AWS CLI: Key is not in valid OpenSSH public key format

How to solve this? # I used this command to create the key with a password $ ssh-keygen -b 2048 -t rsa -C "awsfrankfurt" -f ~/.ssh/awsfrankfurt # Then when I

List all parameters in AWS SSM Parameter Store

How do I list all parameters in the AWS Systems Manager (SSM) Parameter Store? I am using the AWS CLI. I can store them with aws ssm put-parameter. I can fetch

AWS CLI command completion with fish shell

Has anybody been able to set up auto-complete for the AWS CLI with fish shell? The AWS documentation only offers the guide for bash, tcsh, and zsh. Bash export

How to download a directory from an s3 bucket?

I downloaded the aws cli with the macos gui installer: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html And I'm running this comman

passing user-data as a string to aws cli ec2 run-instance command

I am trying to provide bash command for bootstrapping my ec2 instance during creation time in the following way aws ec2 run-instances --image-id ami-0000025f7c0

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 copy from a S3 bucket. aws --debug s3 cp s3://aws-codedeplo

How to install awscli version 2 on raspberry pi

sudo apt install awscli installs currently version 1.16.113-1 The official website (https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-linux.html)

AWS S3 CLI - Connection was closed before we received a valid response from endpoint

$ aws s3 ls s3:// Connection was closed before we received a valid response from endpoint URL: "https://s3.amazonaws.com/". What could be the problem?

How Do I Clear The Credentials In AWS Configure?

I have deleted the AWS credentials in sudo nano ~/.aws/config. But, the credentials are still in aws configure. Is there a way to reset aws configure with clear

Why isn't my aws cli default region name configuration saving?

When I run aws configure and am prompted to enter the Default region name, I input us-east-2 - but it never seems to save that configuration. This feels simple