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.

learn more… | top users | synonyms (2)

8
votes
4answers
554 views

Moving all internal servers to the cloud

Background One of my clients is an IT-dependent workflow-driven law firm with about 50 seats. They have been audited by one of their clients (an FSA regulated mortgage lender) and told that their ...
8
votes
3answers
2k views

Amazon S3 and Access-Control-Allow-Origin

Does Amazon S3 allow custom headers? Or am I out of luck? Access-Control-Allow-Origin: * Thanks in advance!
8
votes
2answers
4k views

EC2 - Shared Storage - S3FS or EBS?

Building my web service onto EC2 right now and have a single instance behind a load balancer. I will of course cater for multiple instances. My initial idea was to run all the instances a dumb ...
8
votes
5answers
391 views

High load due to I/O wait in Ubuntu 12.04 on EC2 instance

I am using Ubuntu server 12.04 , having trouble finding cause of load, I have seen change in response time of server from past week after reading Linux Troubleshooting, Part I: High Load It seems ...
7
votes
4answers
5k views

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 ...
7
votes
2answers
1k views

Convert file system format on AWS EC2 ephemeral storage disk from ext3 to ext4

I have an instance-store EC2 instance with Ubuntu 11.04 i386. At present my disk partition looks like this: Filesystem Size Used Avail Use% Mounted on /dev/xvda1 9.9G 529M ...
7
votes
1answer
1k views

Does anyone have any experience when it comes to speed of Amazon RDS vs MySQL on a Small server?

EC2 Small vs Amazon RDS - which is faster for MySQL? (I have one database, well-indexed and tuned. About 10,000 rows on each table.) How's the performance like?
7
votes
4answers
5k views

How to get the amount of free disk space with CloudWatch?

Is it possible to get the amount of free disk space (df) with CloudWatch? If so, what metric represents the free disk space?
7
votes
3answers
4k views

Accessing storage on an EC2 instance?

I am using a large EC2 instance but just realized that I don't have the space promised. I only get 8 gigs when it says I should have 850 GB. From what I understand two extra 420 gb drives should be ...
7
votes
2answers
7k views

EC2: multiple ssh keys for an instance?

Is it possible to create more than one private key to SSH into an EC2 instance? What's the general best practice for this? We have multiple users who need to SSH into the servers and distributing one ...
7
votes
2answers
365 views

Storing AWS credentials securely on a personal machine

How can I securely store AWS credentials on personal machines? In detail: Everybody in our team requires AWS security credentials for doing administrative tasks (credentials are separated by role). ...
7
votes
1answer
2k views

Why does top report a different cpu usage than CloudWatch?

top shows an average CPU usage during peak times of about 20% while CloudWatch monitoring shows an average CPU usage of 40%. What causes this discrepancy?
7
votes
2answers
3k views

AWS - Assign an Elastic IP to a ELB

Is it possible to assign an Elastic IP to a Load Balancer?
7
votes
3answers
2k views

Use IAM to Allow User to Edit AWS / EC2 Security Groups?

I am trying to grant an IAM group the ability to edit our EC2 Security Groups, but I have been unable to get this working without granting access to everything in EC2. I have tried several versions ...
7
votes
2answers
5k views

How do I attach an Elastic IP to an Elastic Beanstalk app?

I can give a single instance an Elastic IP. No problem. But I have an Elastic Beanstalk app. It can create and remove instances as needed. It has a load balancer. How can I get these features ...
7
votes
1answer
2k views

XFS: no space left on device, (but I have 850GB available!)

I'm using a combination of mdadm, lvm2, and XFS on Amazon EC2. So far, I've had success running a RAID 5 volume built from a number of EBS volumes. The EBS volumes are attached and used with mdadm to ...
7
votes
2answers
546 views

How to change assigned letter for Ephemeral drives automatically?

I have an AWS Windows box (Windows 2008 R2) with the following disks: C:\ 60 Gb (EBS) D:\ 200 Gb (EBS) Y:\ 40 Gb (Ephemeral SSD) Z:\ 40 Gb (Ephemeral SSD) Every time it boots I change ephemeral ...
7
votes
2answers
2k views

AWS VPC - why have a private subnet at all?

In Amazon VPC, the VPC creation wizard allows one to create a single "public subnet" or have the wizard create a "public subnet" and a "private subnet". Initially, the public and private subnet ...
7
votes
2answers
3k views

EC2 Update my existing AMI

I'm using Elastic Load Balancing to load balance my Auto Scaling Group, for that I have a private AMI that hold my application server (Tomcat) and my web app deployed to it as war ... Now everything ...
7
votes
2answers
3k views

RDS Replication across regions

We are using Amazon AWS for our web services but given the recent instabilities in their infrastructure, we are trying to figure out how to run our application across multiple regions for additional ...
7
votes
1answer
858 views

Has anyone achieved Level 1 PCI compliance on AWS?

All the FAQs, documents and statements published by AWS aside, did any Level 1 merchant actually achieve PCI compliance on AWS yet? We're evaluating moving some of our services to EC2/VPC, but our ...
7
votes
1answer
2k views

At what point is EBS usage the bottleneck?

I've got a site hosted on Amazon using a EC2 instance backed by an EBS volume. On the weekends, traffic spikes and I make the instance larger which helps quite a bit -- I'm no longer seeing CPU usage ...
6
votes
4answers
1k views

Easy way to convert custom 32-bit AMI into 64-bit one?

I have customised (EBS-backed) AMI for running a demo version of an application of ours. (The AMI contains Ubuntu 11.04 with a Tomcat & MySQL setup for the app itself, and Jenkins for easy ...
6
votes
2answers
465 views

How to address an EC2 instance from both inside and outside datacenter?

I'm trying to find a good way of being able to address my EC2 database instance from both inside and outside of the datacenter. Other EC2 instances need to be able to call into it, and other clients ...
6
votes
5answers
6k views

If I shut down Amazon EC2 instance then start it again, will everything be ok?

I have a web site that runs on an Amazon EC2 Linux-based instance, and is mapped to a regular domain name (x.com). This site talks to a database on a second EC2 instance. I need to shut down this ...
6
votes
1answer
2k views

Can I SSH into my Amazon EC2 server instance if I don't have .pem file from when instance was created?

I am working with some Amazon EC2 servers that are up and running, and I need to SSH into the servers. I don't have any keys that were generated when the servers were first set up (someone else did it ...
6
votes
3answers
5k views

Forcing CloudFront to pass-through the latest HTML file from S3

Background I'm hosting a static site on S3, with CloudFront over the top. The issue I have is with my HTML files. According to CloudFront's FAQ: Amazon CloudFront uses these cache control ...
6
votes
2answers
6k views

Amazon RDS Instances: db.m1.large vs db.m3.large

Recently, Amazon announced new instance types for RDS. Currently, we are running db.m1.large, and it looks like the new db.m3.large is comparable but cheaper. Before moving these over, I wanted to ...
6
votes
1answer
4k views

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.
6
votes
2answers
565 views

Does Amazon EC2 and RDS have ECC memory?

I know that Amazon's Cluster GPU Instances have ECC memory as mentioned on their blog but there's no mention of other instance types. There's a forum post from back in 2007 that went unanswered. Does ...
6
votes
5answers
4k views

Automated snapshots of EBS-backed EC2 instance running Ubuntu

I'm running an EBS-backed instance which acts as a software development team's build server (running Jenkins and host of other services). The server is running Linux (latest Ubuntu from the official ...
6
votes
6answers
13k views

How to schedule automatic (daily) snapshots of AWS EC2 Windows Instance?

I have some Windows servers hosted on Amazon EC2. Some run Windows Server 2003 and other run Windows Server 2008. These are EBS-backed instances. Most of the instances also have some additional ...
6
votes
3answers
5k views

Is there a way to set an AWS instance's name from command line tools?

In the web console there is a field "Name" which you can edit to associate useful context with an instance, is there a way to set or retrieve this info from the command line?
6
votes
2answers
1k views

What are common strategies for configuration management on EC2?

Without using a 3rd party cloud configuration service, what are common patterns/strategies or whitepapers written on the subject of configuration management with EC2? Specifically on how to configure ...
6
votes
4answers
5k views

How to automate an Amazon EC2 instance startup, execution of some commands and shutdown?

I need to download 100 GB of files (it’s in about 150 files) within a 7 day period before they expire. The download is rate-limited by the host so it takes MUCH longer than the theoretical transfer ...
6
votes
2answers
6k views

How do I set a VPC in AWS to 'default VPC' = true?

I have one VPC set up in AWS, but Default VPC is set to 'false'. How can i change it to true, and make it the default VPC?
6
votes
2answers
2k views

EC2 Auto-Scaling with Spot and On-Demand Instances?

I'm looking to optimize the cost of our auto-scaling EC2 groups by having them launch spot instances instead of on-demand instances. What I really want is to be able to keep some servers in the group ...
6
votes
1answer
649 views

Cannot create a EC2 server root volume greater than 8 GB

I am trying to create an EC2 large instance. AWS claims to say I shall get 850 GB instance storage if I go for Large Instance. I configure the VM to have the Root Volume size of 100 GB. But, when I ...
6
votes
1answer
1k views

How can I access instance storage on a Windows EC2 instance with an ebs root device?

I have created an AMI, but I would like to use instance storage for some scientific programs I want to run. They basically read a bunch of stuff from disk, write it back out to disk and then ...
6
votes
2answers
5k views

Force HTTPS with AWS Elastic load balancer

I need to redirect all incoming HTTP traffic to HTTPS on my elastic load balancer. I tired using Apache mod_rewrite: RewriteEngine On RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule ...
6
votes
1answer
4k views

How do you recover you RDS master user username?

Resetting the RDS master user's password is simple enough, but how do you find your master users username?
6
votes
2answers
2k views

AWS S3 Backup Strategies - How should I approach backing up S3 buckets?

I am in the process of building a web-app with potential for a massive amount of storage requirements which can be satisfied by amazon S3. My main concern is the usage of API keys on the server, and ...
6
votes
1answer
2k views

Amazon SES e-mails ending in Yahoo & Hotmail Spam folders, even though SPF and SenderID and DKIM are set correctly

This is incredibly frustrating. My Amazon SES e-mails are ending in Yahoo & Hotmail Spam folders, even though my SPF, SenderID, and DKIM are setup correctly. Since this particular site requires ...
6
votes
2answers
1k views

How do you get AWS VPC EC2 instances to be able to see the AWS APIs?

We're spinning up infrastructure inside of an AWS VPC via CloudFormation. We're using auto-scaling groups to bring up VPC-EC2 instances (so, we don't bring up instances directly; ASGs manage that). ...
6
votes
1answer
2k views

AWS t1 to t2 migration: Client.InstanceInitiatedShutdown on new t2 instance

I've had a Linux t1.micro running a small Apache/PHP/Postgresql website for a couple of years now (referred herein as "original instance"). Works like a charm. I wanted to migrate the site to the ...
6
votes
2answers
639 views

Running docker in VPC and accessing container from another VPC machine

I'm having issues while running docker in AWS VPC. Here is my setup: I've got two machines running in VPC: 10.0.100.150 10.0.100.151 both having an elastic IPs assigned to them, both running in ...
6
votes
2answers
464 views

Strategy for maintaining Amazon RDS instance on prod vs development

How do you folks manage your Amazon RDS instances? In production I obviously want to use Amazon RDS with a master-slave replication setup going. Unfortunately this incurs substantial costs to bring ...
5
votes
3answers
7k views

Nginx set_real_ip_from AWS ELB load balancer address

I have a set of Nginx servers behind an Amazon ELB load balancer. I am using set_real_ip (from the HttpRealIpModule) so that I can access the originating client IP address on these servers (for ...
5
votes
9answers
3k views

EC2 IP Address : How can a web server identify db server ip address at startup?

I have a simple 2-tier arrangement - one web server (Websphere hosted on windows), and one oracle db server. The web server needs to connect the oracle database server. I am trying to write a script ...
5
votes
3answers
4k views

Why doesn't the aws cloud formation install the packages that I specify?

I'm very new to the AWS services. I'm trying to use the AWS cloud formation and I created a template. The template is error free and I am able to create machines using that. But I have added some ...