Category "aws-cli"

How to get orderer logs | amazon managed blockchain

I setup hyperledger fabric in amazon managed blockchain. I can get peer node logs, CA logs, chaincode logs. I do not know how to get orderer logs. That is requi

docker exec cli peer channel create | failed to create new connection: context deadline exceeded | amazon managed blockchain

I am trying to setup hyperledger fabric blockchain network using amazon managed blockchain following this guide. In the step 6, to create the channel I have exe

Error | entroll the member admin | fabric-ca-client enroll | Amazon Managed Blockchain

I am trying to setup hyperledger fabric blockchain network using amazon managed blockchain following this guide. To entroll, I have used the following command,

How to get MyPeerNodeEndpoint | aws managedblockchain get-node | step 3

I am trying to setup hyperledger fabric blockchain network using amazon managed blockchain following this guide. In the step 3, I need MyPeerNodeEndpoint to cre

How do I delete all except the latest 5 recently updated/new files from AWS s3?

I can fetch the last five updated files from AWS S3 using the below command aws s3 ls s3://somebucket/ --recursive | sort | tail -n 5 | awk '{print $4}' Now

Copying s3 bucket from on account to another: "The security token included in the request is invalid"

I am trying to copy a set of s3 files from one s3 bucket to another. I'm following the example shown on Amazon Web Services - Copy list of files from S3 bucket

awscli version 2 on alpine linux

I was trying to put awscli_v2 into an alpine-based docker container and see that it fails with the following error message: /aws/install: line 78: /aws/dis

AWS CLI with Python 3.9.0a1 error `from collections import MutableMapping`

I have installed AWS CLI using pip on my Python 3.9.0a1 alpine docker image. Install went fine. When I run aws command, getting below error. aws Traceback (m

Disable progress output aws s3 sync without disabling all output

Is there any way to disable the Completed 1 of 12 part(s) with 11 file(s) remaining... progress output with the aws s3 sync command (from the aws cli tools). I

Disable progress output aws s3 sync without disabling all output

Is there any way to disable the Completed 1 of 12 part(s) with 11 file(s) remaining... progress output with the aws s3 sync command (from the aws cli tools). I

Problems pushing images to lightsail containers registry

I'm starting to deploy an app in Lightsail Containers. I've created the service from the console and ran custom images from public repositories. Now, I'm trying

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)