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
0 answers

m4.large not ebsOptimized

M4 large instances are EBS-optimized by default as per below URL : https://aws.amazon.com/ec2/instance-types/ When I try to check the status using aws-cli I get result with boolean value set to false. The command I used is as below…
0
votes
1 answer

Is there any way of programmatically setting up a Monthly Cost Allocation Report in AWS?

Basically, is there any way of doing this [1] via API or AWS CLI? I need to automate this for new accounts being set-up, and would like to avoid having to log in to each one of them to enable it. Regards. [1]…
scetoaux
  • 1,289
  • 2
  • 12
  • 26
0
votes
0 answers

AWS times out, cant upload my application

Can anyone help me debug what is wrong with what I am doing? I have tried all kinds of things, watched like 10 tutorials, all say to do the same things, I can't get past this step regardless. I always go to do a eb create and it just times out…
seanscal
  • 101
  • 1
0
votes
2 answers

Moving 1TB / 1 million files across buckets in same region cheaply

Currently we need to migrate a bucket of about 1 TB but it contains a lot of files split into many layers of subdirectories. If I understand the pricing correctly moving data between buckets in same region should be free according to…
Carl
  • 3
  • 3
0
votes
2 answers

AWS Secondary NIC disabled

In order, through the CLI: I create the vpc {10.1.0.0/16} I create two subnetworks {10.1.0.0/24, 10.1.1.0/24} I create the EC2 instance with the default NIC in the 10.1.0.0/24 subnet aws ec2 run-instances --image-id $AWS_IMAGE --count 1…
ale93p
  • 103
  • 3
0
votes
0 answers

Why can I access the encrypted S3 file?

I've got an AWS key generated and an S3 file which I wanted to encrypt server-side. I don't understand why one of the users can decrypt it though. The setup I've got is: Key with 3 policy statements: arn:aws:iam::${AWS::AccountId}:root with access…
viraptor
  • 1,296
  • 6
  • 21
  • 41
0
votes
2 answers

aws ecr is invalid choice

I want to push my docker images to my ECR on aws. According to the documentation, I need to run aws ecr get-login. This is what I get: > aws ecr get-login usage: aws [options]
Anthony Kong
  • 3,288
  • 11
  • 57
  • 96
0
votes
1 answer

ClientError: Multiple different grub/menu.lst files found when try to import ubuntu-16.04-server-cloudimg-amd64.ova to AWS EC2

Trying to import https://cloud-images.ubuntu.com/releases/16.04/release/ubuntu-16.04-server-cloudimg-amd64.ova to Amazon EC2 with aws ec2 import-image --description "XXX" --disk-containers file://xxxx.json --platform Linux …
corretge
  • 217
  • 3
  • 9
0
votes
2 answers

How to access instance information if an Availability Zone goes down?

Is it possible to obtain information about an instance (attached volumes, information about those volumes, etc.) if an AZ has an outage? Will this require any special configuration, or will the AWS CLI commands still work if the AZ that an instance…
user409449
  • 41
  • 1
0
votes
0 answers

AWS Beanstalk environment health "degraded". How do I troubleshoot the issue?

I followed this tutorial to deploy a basic Django app: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-deploy-python-django.html and everything worked fine. I then followed this guide:…
0
votes
1 answer

AWS describe-instances limiting to tagged

With the following policy in AWS IAM: { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "ec2:DescribeInstances" ], "Condition": { …
t988GF
  • 111
  • 3
0
votes
0 answers

AWS and Powershell in a Lab (sub-account) of a primary AWS account

This is a little esoteric, but I need help folks! So I have a corporate AWS account that holds my user permissions. The corporate account has a sub-account that is housing all Lab facilities (so think an AWS within an AWS). I've been given full…
Falcones
  • 73
  • 5
0
votes
0 answers

How to list pending route53 requests via AWS CLI?

The route53domains console can show list of pending domain transfers/purchases but I didn't find a way to get this information from the AWS CLI "route53domains" subcommand. Is this possible?
Capt. Crunch
  • 839
  • 2
  • 12
  • 25
0
votes
1 answer

How to verify RSA fingerprint for Linux AWS instance from Windows

The instructions for connecting to AWS Linux AMI states that when using putty, you should locate the SSH HOST KEY FINGERPRINTS section and note the RSA fingerprint. I am running the "aws ec2 get-console-output ..." CLI command but see nothing that…
smackenzie
  • 101
  • 1
0
votes
1 answer

AWS OpsWorks - An error occurred while stopping the instance

Last few days my script (aws-cli) is unable to stop OpsWorks instance. I didn't change anything. When I log into aws.amazon.com it shows: Status: stop_failed Message: An error occurred while stopping the instance MyInstanceName Internal Error How…
Maris B.
  • 182
  • 3
  • 12