Questions tagged [aws-cli]

aws-cli is the Amazon Web Services Command Line Interface

aws-cli is an open source project that provides a command line interface to the Amazon Web Services APIs.

The project is hosted on GitHub: https://github.com/aws/aws-cli

380 questions
0
votes
1 answer

How to configure aws cli on ubuntu gitlab?

While trying to install and configure aws cli on ubuntu runner in pipeline, stuck at below screen. pipeline stuck How to do that?
Kalel
  • 134
  • 1
  • 4
  • 16
0
votes
0 answers

How to get aws account id from local configuration?

I'm well aware of the aws sts ... method but that requires a remote call. Is there a way to get my account id/number from local configuration?
AlexanderF
  • 211
  • 1
  • 9
0
votes
1 answer

How do I extract a list of all folders of my AWS S3 storage bucket or directories?

Does Amazon provide an easy way extract a list of all folders that have files greater than 500 MB from a s3 bucket? want to limit the scope to the '/files/ftp_upload/' directories also This is so I can calculate my costs, etc. I had tried this but…
sam23
  • 49
  • 1
  • 5
0
votes
0 answers

How to run aws cli on amazon linux container?

I want to run amazon linux commands as part of gitlab pipeline. So, trying to use docker image as runner, amazonlinux:latest So, connected to docker container and ran below command. yum -yq install aws-cli It installed aws-cli Then, configured aws…
uday
  • 352
  • 10
  • 30
0
votes
1 answer

How do I switch to another organization in the AWS console?

My company has two organizations: one is the primary organization that my user is part of. The other is a new one created for testing purposes. I need to switch to that organization to create an S3 bucket (and possibly some other resources) so that…
Kramer
  • 101
  • 3
0
votes
1 answer

AWS CLI Usage Issue

In our scenario, We previously had some AWS keys. The IAM interface show/showed no usage for it but the employee has been able to upload resources. Could anyone advise how to check if the interface is just erring or if they were perhaps not using…
0
votes
0 answers

Providing working-directory in AWS CLI ECS run-task command

Is there any way of overriding the working-directory from the task-definition default when starting a task from the CLI? It seems like a fairly easy thing and a potentially important thing, but, if it is available, it looks like it's going to be…
Dustin Oprea
  • 560
  • 2
  • 8
  • 19
0
votes
1 answer

How to download millions of s3 files and compress them on the fly?

I have an S3 bucket with millions of files, and I want to download all of them. Since I don't have enough storage, I would like to download them, compress them on the fly and only then save them. How do I do this? To illustrate what I mean: aws s3…
jorge
  • 1
  • 1
  • 1
0
votes
1 answer

S3 Logs event Issue

Is there a way to see what actions the 'g2' IAM user is performing in S3, and which IP(s) they are running from? I have already enabled the logging of S3 actions. One point I’m still not able to figure out is that when I’m trying to find logs in…
0
votes
0 answers

Why does AWS take a long time to change the password of DB Clusters?

I'm running this command to change the master user password of a DB Cluster on AWS: aws rds modify-db-cluster --db-cluster-identifier development-db \ --region us-east-2 --master-user-password newpassword --apply-immediately \ --no-cli-pager…
neubert
  • 317
  • 8
  • 26
0
votes
0 answers

How to show which resources are connected to (depend on) which other resources in AWS

Is there a way to show which resources are connected to what other resources in AWS? Basically the kind of information that would allow one to understand/view the current architecture. There are CLI tools like list-application-dependencies and…
Cybernetic
  • 103
  • 2
0
votes
1 answer

how to download archive in aws s3 glacier

first, sorry for my bad english. i create a vault in glacier service and then i uploaded an archive into vault and in out-put, aws gave back me a archive id. then using the archive-id, i created a job for downloading using this command: aws glacier…
User12
  • 89
  • 1
  • 8
0
votes
1 answer

Ansible EC2 metatadata options?

I'm trying to get Ansible EC2 to provision instances that require IMDSV2. Through the aws ec2 run-instances I'm able to do it by adding --metadata-options "HttpEndpoint=enabled,HttpTokens=required" to my command. I'm not seeing a matching option in…
Charlie
  • 103
  • 3
0
votes
0 answers

How can I let apache server work always on my ec2 instance?

I am learning aws's EC2 server. I configured apache and php. I started the apache server with the command Sudo service httpd start But every time I stop my pc, or the next day, when I want to continue the course. I have to start again the apache…
0
votes
3 answers

Is there a way to export all AWS Security Groups to CSV? moreover, is there a recommended way of keeping track of SR changes?

We have a relatively small dev environment in AWS with about 50 Security groups with multiple permission entries. is there a recommended way of keeping track of SR changes, Access, etc? My manager dont want to use AWS config (Price wise), so the…