Amazon Web Services (AWS) delivers a set of services that together form a reliable, scalable, and inexpensive computing platform "in the cloud". If you have a question about a specific web service, consider asking on its tag, e.g., amazon-ec2.
Questions tagged [amazon-web-services]
8595 questions
3
votes
2 answers
How to list ec2 instance using aws cli
How can I get the list of amazon ec2 instance using aws command line tool? I checked various available commands but could not fount one suitable for this purpose.

AppsWise
- 141
- 1
- 6
3
votes
1 answer
AWS - How to limit outward traffic amount?
I want to exploit the AWS free tier to learn and do some personal projects. However what worries me is the bandwidth limitation. Specifically, the AWS free tier FAQ states that "15 GB of bandwidth out aggregated across all AWS services". Now, it is…

Norsul Ronsul
- 33
- 2
3
votes
1 answer
Terraform, ecs service creation fails when using a configured IAM policy
Using Terraform, ecs service creation fails when using a configured IAM policy.
Error applying plan:
1 error(s) occurred:
* aws_ecs_service.beatthemarket_service: InvalidParameterException: Unable to assume role and validate the listeners…

Frye
- 253
- 2
- 3
- 11
3
votes
2 answers
Ansible : How to find the route ID connected to a subnet
I have a VPC with some routes and subnets. I want to get ansible to work with it but I can't see a way to link the subnet with the route table ID.
I've used the ec2_vpc_route_table_facts, ec2_vpc_subnet_facts and ec2_vpc_net_facts modules but unless…

Max Allan
- 303
- 1
- 4
- 11
3
votes
2 answers
how i can change AWS ubuntu ec2 shell prompt name
When we connect to aws ec2 instance using ubuntu server, after login I see the following prompt at the bash shell
ubuntu@ip-xx-xx-xx-xx
Is there there a way I can change that text without effect any networking thing in server?
I have searched but…

Rohan Zakie
- 141
- 3
3
votes
3 answers
Nginx directory (21: Is a directory)
I'm trying to configure nginx on AWS Linux. I can get it working for one site, but when I try to add another I continually receive the following error:
nginx: [crit] pread() "/home/ec2-user/public/sites/example.com" failed (21: Is a directory)
This…

David
- 33
- 1
- 1
- 3
3
votes
1 answer
How to connect to OpenVPN clients from LAN 'members'
Working on a IoT type of thing, I want to connect some devices "in the wild" to servers in AWS through OpenVPN on an EC2 instance.
So far I have been able to set up an EC2 instance configured as an OpenVPN server, and I have the client devices…

davur
- 191
- 1
- 10
3
votes
1 answer
Cache-Control not working in AWS S3 object Metadata
Follow-up to my original question: No Cache-Control Header for files from AWS CloudFront with S3 Origin
Im serving up static files using AWS CloudFront with AWS S3 as the origin. I tried to set the Cache-Control header for my objects using AWS web…

jarvis
- 2,006
- 4
- 18
- 31
3
votes
2 answers
Cannot Switch To Root On AWS
I created an instance on Amazon AWS and gave it a key. When it boots I SSH into that instance as ec2-user using that key but I cannot run anything as root. If I type sudo su it asks me for a password.
It's an Amazon Linux 2016.03 instance.

Artem Kalinchuk
- 141
- 5
3
votes
1 answer
Amazon CodeDeploy failing on invalid certificate
For the past year or so, I've been deploying to AMI ubuntu-trusty-14.04-amd64-server-20150325 (ami-d85e75b0) running on C3.large instances with Amazon CodeDeploy. I'm using the standard user-data script from the documentation to install the…

wheresmycookie
- 131
- 1
- 3
3
votes
2 answers
Adding environment variables to files within .ebextensions
I pulled this from the New Relic docs. I'm looking for a way to replace YourNewRelicLicense and NameOfYourServer with environment variables set up on the ec2 instance.
packages:
yum:
newrelic-sysmond: []
rpm:
newrelic:…

ThomasReggi
- 621
- 2
- 10
- 25
3
votes
0 answers
Why EBS keeps waiting for terminated instances?
Why EBS keeps waiting for terminated instances?
2016-03-02 01:41:22 UTC+0100 INFO Still waiting for the following 3
instances to become healthy: [i-1b5e9691, i-7f5c94f5, i-5d5e96d7].
Only one instance is still active and passes the load…

Wojtek Dmyszewicz
- 131
- 5
3
votes
1 answer
Benefits of moving MySQL to its own SSD on AWS EBS
When using hardware (rather than virtualization), there is a clear benefit in using a 200 GB disk for MySQL and a 200 GB disk for content. But due to the way AWS works, is there actually any potential benefit in using two 200 GB disks on a web…

Ikram Hawramani
- 33
- 3
3
votes
2 answers
What is the difference between AWS OpsWorks and my own Chef server?
Is there any difference between using AWS OpsWorks, which uses Chef internally, and using my own installation of Chef?
Currently I have a my own Chef server. What are the advantages or disadvantages of replacing it with OpsWorks?

Vikas Saini
- 163
- 3
3
votes
2 answers
Configure AWS Config to send to one global SNS topic
I'm using CloudCheckr.com, and following recommendations to enable AWS Config in regions where where we currently have no activity.
Ideally, I want to setup each region to use the same S3 bucket and SNS topic from the default region (since it's…

Mike Crowe
- 151
- 1
- 5