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
28
votes
5 answers
How to download public key from Amazon AWS?
I have a running amazon ec2 linux instance associated with a keypair (p1) and I have downloaded the private key to my home desktop. Now at work, I created a keypair (p2) on my work desktop and imported the public key to Amazon via the AWS…

Jus12
- 405
- 1
- 4
- 8
28
votes
2 answers
How to resize Amazon EC2 instance?
Is it possible to resize an Amazon EC2 instance, e.g. convert from a small instance to a large instance? If so, what is the easiest way to resize Amazon EC2 instance?
Like Rackspace Cloud Servers do with Rebuild, see screenprint:
My instance uses…

Randy Hoff
- 281
- 1
- 3
- 3
27
votes
2 answers
How to convert a unencrypted EBS to be encrypted
I have a number of older EBS volumes that are not encrypted. In satisfying new corporate security measures, all data needs to be "encrypted at rest" so I need to convert all of the volumes to be encrypted.
What is the best way to accomplish this?

Gray
- 579
- 1
- 5
- 17
27
votes
3 answers
Amazon ECS (Docker): binding container to specific IP address
I'm playing with Amazon ECS (a repackaging of Docker) and I'm finding there's one Docker capability that ECS does not seem to provide. Namely, I would like to have multiple containers running in an instance, and have requests coming in to IP…

Mark R
- 411
- 1
- 4
- 9
27
votes
2 answers
kworker consuming +90% IO and zero disk write
this is a standard apache web server on AWS Linux AMI + EBS. We are noticing high load average (+8) and iotop -a shows:
Total DISK READ: 0.00 B/s | Total DISK WRITE: 2.37 M/s
TID PRIO USER DISK READ DISK WRITE SWAPIN IO> COMMAND …

user2383712
- 371
- 1
- 3
- 4
27
votes
9 answers
Is it possible to restrict AWS users/accounts to a specific region?
We run a number of AWS services in the eu-west-1 region. Unfortunately it seems that a lot of our developers and other employees who need to create temporary resources forget about this aspect of AWS and don't select this region before launching…

Bruce P
- 2,193
- 3
- 18
- 21
27
votes
10 answers
how to forward godaddy domain to ec2 load balancer
I have a domain with godaddy: example.com
I have an ec2 load balancer pointing to an ec2 instance.
I would like to example.com to point to my load balanced instance.
I first added a www cname record for my elb DNS. Then I forwarded example.com to…

petey
- 572
- 3
- 9
- 20
27
votes
4 answers
AWS EC2 and build-essential
I am trying to compile Node.js on Amazon EC2, but I can't even install "build essential". Where's the problem?
Thanks.
sudo yum install build-essential
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
(...)
No…

Randy Hartmen
- 273
- 1
- 3
- 5
26
votes
3 answers
AWS CLI Command Line: How to use "--query" to output multiple source lines
I am using aws-cli version 1.7.8 to get the --query output to create one record that is derived from multiple lines.
In this case I am trying to get specific information from describe-instances.
In the describe-instances command, we get lines /…

Chris Charles
- 261
- 1
- 3
- 4
26
votes
1 answer
How to add directives to php.ini on AWS Elastic Beanstalk?
I'd like to add these PHP settings to my Elastic Beanstalk environment:
upload_max_filesize = 64M
post_max_size = 64M
These options cannot be set with option_settings in .ebextensions:
Namespace |…

BenMorel
- 4,507
- 10
- 57
- 85
26
votes
7 answers
How to export a hosted zone in AWS Route 53?
I see no option to export a backup of the settings for a domain.
Maybe I should save the results of public DNS with dig but I would question whether a friend knows a better way.

gpupo
- 1,214
- 2
- 12
- 12
26
votes
8 answers
Why can't I ssh into my new EC2 Instance?
I created a new instance (tiny, 64 bit AMI linux from Amazon)
Created a new key pair called "mir".
I downloaded mir.pem and put it in my ~/.ssh folder.
I even did ssh-add mir.pem.
Then I tried to ssh ubuntu@public_DNS_from_amazon
Why doesn't it…

Alex
- 8,471
- 26
- 75
- 99
26
votes
3 answers
How can I deploy a scalable, reliable haproxy cluster on Amazon EC2?
We need some more advanced functionality than ELB provides (mostly L7 inspection), but it's not obvious how to handle things like heartbeat and high availability with something like haproxy using EC2. There's a high likelihood we'd need 3 or more…

Don MacAskill
- 1,808
- 3
- 16
- 22
25
votes
1 answer
In AWS, how to check which resources are using VPC IP addresses
According to Amazon and my test, a /24 VPC subnet allows for 251 available IP addresses. I have 2 other subnets in that VPC that appear to have no IP's in use by EC2 and the available IPs field indicates that there are only 250 available. I have…

ilanco
- 353
- 1
- 3
- 5
25
votes
3 answers
AWS CloudFormation: VPC default security group
I have a cfn stack that (among other things), creates a VPC, several security groups, and a handful of EC2 instances. It's trivial to assign security groups that are created within the stack to instances that are also created by the stack. However,…

EEAA
- 109,363
- 18
- 175
- 245