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)

5
votes
3answers
688 views

Running Rails3 with force_ssl = true, with nginx, on AWS EC2 with SSL terminated by an ELB, setting up health check

I want to run my entire Rails app with SSL, so I thought to use Rails' global force_ssl config option, which works great, except that the ELB's healthchecker will never work because if I set it to ...
5
votes
4answers
497 views

Is there a decent GUI for Amazon Route 53?

Because frankly it's a bit tricky without...
5
votes
3answers
8k views

How to create EBS based EC2 AMI from scratch?

after Amazon announced the new EBS based AMIs, I'm wondering if it is or will be possible to create new AMIs that are not based on the existing Fedora/Windows AMIs. The documentation says: The ...
5
votes
2answers
629 views

Options for PCI-DSS on AWS - file integrity monitoring and intrusion detection

I need to deploy some file integrity monitoring and intrusion detections software on AWS instances. I really wanted to use OSSEC, however it does not work well in an environment where servers can ...
5
votes
2answers
2k views

Periodic spiky CPU usage by winlogon / LogonUI

I've noticed that my AWS server occasionally starts using a bunch of CPU for no particular reason, looking something like this: Observe that it does not occur at specific times, but has a very ...
5
votes
3answers
971 views

Tracking costs within one AWS account

I have what I'm sure is a very common problem. Our company has many projects and groups working for different clients. We do a lot of our development work in the cloud and deploy our solutions there. ...
5
votes
3answers
3k views

Deploy an AWS Auto Scaling groups using Chef Server

You can, for example, to deploy an an Auto Scaling groups consists of web severs, ELB and DB using AWS CloudFormation (with Chef server): ...
5
votes
3answers
113 views

Automatically mount volume on EC2

There is a procedure given by Amazon to make a volume available for use that has been attached as a block device. Given that I am attaching an EBS volume that is already ready to be used, is there a ...
5
votes
1answer
2k views

Highest value of max_connections in AWS RDS micro instance

Currently, the value for the max_connections parameter in a MySQL RDS t1.micro server model is {DBInstanceClassMemory/12582880} is 32. Since my server does not allowing any more connections after 32, ...
5
votes
2answers
2k views

What algorithm does Amazon ELB use to balance load?

I found this in the official ELB documentation By default, a load balancer routes each request independently to the application instance with the smallest load. but an article on Newvem says ...
5
votes
1answer
155 views

How does one properly escape a leading “#” character in linux etc/environment?

I would like to store a system-wide environment variable in etc/environment on AWS Linux AMI 2013.03. In this example, I am trying to store the phrase "#hello". See the examples below. echo $control ...
5
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 ...
5
votes
1answer
328 views

Google c2dm transient 401 errors on some AWS instances

How can we figure out why we're getting occasional 401 errors from the Google c2dm push service on some AWS instances when asking c2dm to deliver a notification? This is a transient problem. All AWS ...
5
votes
1answer
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). ...
5
votes
3answers
3k views

Shutting an EC2 instance down locally (on the instance)?

edit: this seems to be a problem specifically with the AMI that I am trying to shut down. Other AMIs politely shut down with the "sudo poweroff" command. The goal is for an EC2 instance to shut ...
5
votes
2answers
2k views

Webstats for large Amazon S3/Cloudfront logs?

I'm trying to find a way to parse our Amazon S3 access logs to get some webstats. I've been trying to use AWStats 7, but I got to the point of where after day 9 of a given month it can't process any ...
5
votes
1answer
1k views

How to change default user (ubuntu) via CloudInit on AWS

I'm using CloudInit to automate the startup of my instances on AWS. I followed the (scarce) documentation available at ...
5
votes
2answers
2k views

Running MySQL on Amazon EC2 with EBS (Elastic Block Store) and Elastic Beanstalk

I'm new to Elastic Beanstalk, but I created an environment with a container running 64bit Amazon Linux running PHP 5.3. I want to get MySQL set up on EBS, then install phpMyAdmin and import my ...
5
votes
1answer
575 views

Convert EC2 instance to VMware workstation

How can I export one windows instance (with active directory, SQL, SharePoint) from amazon (EC2) to my local environment, and be able run it on a local VMware workstation? I have used the VMware ...
5
votes
2answers
4k views

How do you transfer AWS RDS snap shot to a different AWS account

I have an RDS database that I need to transfer a snapshot of to another AWS account. I understand there are issues being able to do this between availability zones so I'm really unsure if this is ...
5
votes
2answers
410 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 ...
4
votes
3answers
2k 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 ...
4
votes
1answer
1k views

Nginx Solution for AWS Amazon ELB Health Checks - return 200 without IF

I have the following code that is working on Nginx to keep the AWS ELB healthcheck happy. map $http_user_agent $ignore { default 0; "ELB-HealthChecker/1.0" 1; } server { location / { if ...
4
votes
4answers
225 views

Windows Password Sync without using Active Directory

I have a number of Windows servers running in AWS. As the number of servers grows, managing Windows logins across all the servers has become a headache. I need some sort of password synchronizer ...
4
votes
1answer
723 views

Can't find my AWS shared AMI when trying to share with specific account

I followed the instructions to share my AMI with a specific account here: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sharingamis-explicit.html I made sure the account number is correct, and ...
4
votes
2answers
1k views

Confused by Amazon EC2 Spot Price and On-demand price, help needed

I am a little confused by Amazon EC2 Spot price and on demand price. For example, an On-demand windows instance's price is $0.07 per hour. If I bid on the "spot requests", Do I put down price lower ...
4
votes
3answers
3k views

AWS 'vol-xxxxxxx' with Marketplace codes may not be attached as as secondary device issue

I'm encountering the same problem as here: http://www.quora.com/Amazon-EC2/Is-it-possible-to-rescue-an-EBS-volume-which-has-marketplace-codes. Basically I've locked myself out of the instance and I ...
4
votes
2answers
3k views

Can Elastic Load Balancers correctly distribute traffic to different size instances

Just been looking into Elastic Load Balancers. As I understand it they just do round robin, evenly distributing connections to the servers behind them. So what happens if you have different size ...
4
votes
1answer
2k views

How do you get Redis connections working within an Amazon VPC private subnet?

I have an Amazon VPC setup with a private subnet containing 2 instances. One of them has redis running on it, the other instance I want to use to connect to the redis server. I have the redis instance ...
4
votes
2answers
2k views

amazon aws - regional data transfer - in/out/between EC2 Avail Zones

can anyone say what this charge item is from the account activity? $0.010 per GB - regional data transfer - in/out/between EC2 Avail Zones or when using public/elastic IP addresses or ELB i launched ...
4
votes
2answers
2k views

Amazon ec2 - how to setup?

Everytime I launch a new large ec2 instance, I get 30GB of storage, Did I do something wrong? shouldn't i get 850GB? See instance type http://aws.amazon.com/ec2/instance-types/ Large Instance 7.5 ...
4
votes
3answers
5k views

Can't connect to EC2 instance in VPC (Amazon AWS)

I've taken the following steps: Created a VPC (with a single public subnet) Added an EC2 instance to the VPC Allocated an elastic IP Associated the elastic IP with the instance Created a security ...
4
votes
1answer
1k views

What is the difference between a plain Amazon ec2 instance and beanstalk?

I am a solo developer and the sites I'm deploying are very small, usually hobby sites and I have a few questions about the Amazon services. Is there a reason for me to use beanstalk or should I just ...
4
votes
3answers
6k views

Configure BIND with database backend and DLZ support

Decided to move my windows based DNS servers to linux. The problem is I need to be able to dynamically update zone files without having to restart bind. It seems the most popular solution is to ...
4
votes
1answer
275 views

Latency & speed considerations between 2 servers on Amazon EC2

I'm setting up a system that consists of: 2-4 database servers 2-4 webservers (running Node.js) The webservers use the database servers heavily. Aside from connecting to the private IPs of the ...
4
votes
4answers
208 views

Is it possible to audit the Amazon AWS console?

We had a situation recently where an elastic IP address assigned to a production server mysteriously became disassociated from that server. We have had this same thing happen in the past to other ...
4
votes
3answers
961 views

Can you require MFA for AWS IAM accounts?

Is it possible to require Multi-factor Authentication (MFA) be enabled for specific/all IAM accounts in Amazon Web Services? There are options for password requirements and it's clear how one can ...
4
votes
2answers
2k views

Assign multiple Elastic IPs to EC2 instance

When I try and associate a second Elastic IP to a small EC2 instance, the currently assigned Elastic IP is disassociated. Do I need to use a VPC?
4
votes
1answer
641 views

why does and EBS volumes mounted in an Ubuntu 12.04 EC2 instance as /dev/sdh1 appear as /dev/xvdh1?

When mounting an EBS volume on ubuntu specified as /dev/sdh1 it actually mounts it at /dev/xvdh1. The aws console still thinks it's mounted at /dev/sdh1 so it took a while to realize that it was ...
4
votes
1answer
1k views

1 EC2 instance per website - manage multiple websites on Amazon cloud using EC2

I'm managing multiple websites, most based on WordPress and all are based on LAMP stack. I'm moving all my websites to Amazon cloud. I'm new to AWS and my plan is moving 1 website by one, starting ...
4
votes
1answer
999 views

How to programmatically migrate an EC2 EBS AMI to other regions?

Before EBS based AMIs were available, it was possible to use the command ec2-migrate-image in order to migrate AMIs to different regions. Is there a simple way to do the same for EBS based AMIs? ...
4
votes
2answers
184 views

Does Cloud Computing COST a premium? (or is it competitive with shared/managed/co-location)

Since cloud solutions (Google AppEngine, Amazon, etc.) do more for you, at the end of the day do they cost significantly more than doing it "yourself" with co-location hosting, etc. Not just ...
4
votes
4answers
3k views

Is it possible to host email and DNS on AWS

We are working towards moving our app to AWS. I have heared that email and DNS cannot be hosted on AWS, is this correct? If this correct, then what are my options?
4
votes
2answers
1k views

What happens when you reboot an instance store based Amazon EC2 instance?

I have an EC2 instance, with instance store root device (i.e., not EBS), running Linux (Ubuntu). What happens if I restart the instance like so: sudo reboot Will the instance storage still be ...
4
votes
2answers
2k views

Instance's deployment / post configuration for AWS Elastic Beanstalk

I am using AWS Elastic Beanstalk, it is easy to start with deploying Java based web app, which is great. However, I want to install Memcached on every instance locally so they can be used for ...
4
votes
3answers
6k views

Amazon VPC and using OpenVPN

I'm not interested in having all of my EC2 instances having a public IP on their network interface. I want to have full access over what boxes can speak directly to the Internet and which can be ...
4
votes
1answer
510 views

Is it possible to obtain a copy of Amazon Linux for use outside AWS

How difficult (if at all possible) would it be run a copy of Amazon Linux on a private physical server or hypervisor (Virtualbox/KVM) ? (I am thinking something based in a office/home) I realise it ...
4
votes
3answers
1k views

Remote orderly shutdown of EC2 instance?

I'm writing a script which shuts down EC2 instances remotely using ec2-terminate-instances. I would like to perform orderly shutdowns (similar to the ones triggered by Linux 'shutdown' command) ...
4
votes
2answers
1k 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 ...
4
votes
1answer
2k views

Estimate IOPS for an Amazon EBS volume using Windows PerfMon

I'm evaluating moving our aging infrastructure to Amazon's AWS and am trying to estimate costs. I know our current disk space requirements, bandwidth, and most of the other variables that will affect ...