Amazon Elastic Compute Cloud (EC2) provides self-service, on-demand, pay-for-what-you-use computing infrastructure resources.

learn more… | top users | synonyms (1)

6
votes
2answers
6k views

How to use “Instance Store Volumes” storage in Amazon EC2?

According to AWS I got 850 GB storage with the Medium EC2 server. But when i create an Amazon Linux AMI, I am unable to use the 850 GB provided. While creating it does show in Storage Device ...
6
votes
3answers
2k views

How do I migrate from a micro to a small instance via ec2 console

How do I migrate from a micro to a small instance via ec2 console for my Windows instance, since we are running into heap size issues. I have some software (Apache, PHP) installed on that machine ...
6
votes
3answers
2k views

Using EC2 as a Cloudfront Origin Server

Amazon has recently added the ability to use any server as an origin server for Cloudfront, removing the original S3 only restriction. My question is- how do I set this up? The AWS web-gui seems to ...
6
votes
3answers
3k views

How can I make sure my amazon ec2 instance is using the reserve instance?

I purchased an Amazon EC2 instance at lower cost than regular on-demand instances. When I start a new instance in EC2 there's no indication that I would be using the reserved instance. How can I make ...
6
votes
2answers
1k views

Production deployment to EC2 with minimal downtime

I have a simple web application deployed on a large instance with EC2. I now want to deploy the latest code to this server but I want to do this in a way which minimizes downtime and is a smooth as ...
6
votes
2answers
2k views

Is it possible to have a 100% secure virtual private server?

I am curious if it is possible to have a VPS that has data on it that is not readable by the hosting provider, but is still usable on the VPS. Obviously there are some things that you could do to ...
6
votes
2answers
362 views

Using DNS to push out new versions of web application

I'm thinking of pushing out new versions of our web application using a DNS. We are currently hosting our application using EC2 so my thinking is that we can launch a new instance, deploy the new ...
6
votes
2answers
2k views

ec2 rebooted my instance?

I found out that my CentOS 5 server on EC2 was rebooted, without my command to do so. I did not even log in on the day it was rebooted. When I look at 'last' in linux, it says: jeroen pts/0 ...
6
votes
2answers
517 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
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?
6
votes
1answer
3k views

How do I interact with the console during boot time on Amazon EC2?

I have an instance which is stuck at this boot prompt (looking at the instance log from the management console): The disk drive for /mydisk is not ready yet or not present Continue to wait; or Press ...
6
votes
5answers
3k 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
2answers
6k views

How to specify an IAM role for an Amazon EC2 instance being launched via the AWS CLI?

I am using the "aws ec2 run-instances" command (from the AWS Command Line Interface (CLI)) to launch an Amazon EC2 instance. I want to set an IAM role for the EC2 instance I am launching. The IAM ...
6
votes
2answers
6k 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 ...
6
votes
3answers
4k 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
2k views

Good/Better config for MySQL on an EC2 Large Instance

I have an EC2 Large instance dedicated to MySQL. It will be serving a Joomla/Magento combo so it has a blend of InnoDB and MyISAM tables. I have only worked with MyISAM in the past and am therefore ...
6
votes
2answers
2k views

Correct process for starting new EC2 Instance from an EBS snapshot

I have an EC2 instance running the Ubuntu 12.04 32bit AMI (available in the first page the Classic wizard for launching a new instance). The root device is an EBS volume. I then follow these steps: ...
6
votes
2answers
3k views

Why is my new Ubuntu 12.04 unable to verify a Verisign ssl certificate?

In short: This request fails. $ curl 'https://secure.ogone.com/ncol/prod/orderstandard.asp' -vv * About to connect() to secure.ogone.com port 443 (#0) * Trying 213.254.248.101... connected * ...
6
votes
2answers
930 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
3answers
1k views

Why can't ec2-consistent-snapshot find my AWS cert/keys?

I have two systems, one running Ubuntu 11.04 and one running 10.04 LTS. The same configuration on both machine yields different results. The 10.04LTS machine is unable to find my AWS credential files. ...
6
votes
4answers
3k views

What's the easiest way to auto-backup an EC2 instance? [duplicate]

Possible Duplicate: What’s the easiest way to back up EC2 instances automatically? I have an EBS-backed Amazon EC2 instance. I would like to create a daily backup schedule, and keep, say, a ...
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
1answer
573 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
3answers
579 views

deploying Python code with Puppet

I'm trying to implement a deployment system for my web application, based on Puppet. The application consists of several services (a couple of web servers: Django- and Tornado-based and a worker ...
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
6answers
4k views

Is it possible to use an EC2 RDS MySQL instance as a slave to an external master?

I have a master MySQL instance running on our local network, but I was wondering if I can get an EC2 RDS instance to replicate the master or is this locked down by amazon?
6
votes
4answers
6k views

Windows desktop (XP, Vista or Win7) EC2 AMI for QA testing

I need to perform QA testing for Windows based applications on a Windows desktop client and I would like to know if EC2 supports Windows images that are NOT server based (e.g. Server 2003). I have ...
6
votes
1answer
192 views

How to make a Cent OS install as similar to an EC2 rhel based instance as possible?

I'm trying to setup vagrant to deploy locally, while we also want to deploy to elasticbeanstalk. So how can I make my local cent OS Vagrant VM as close to the Amazon EMI as possible? My co-worker ...
6
votes
1answer
207 views

Disable “shared terminal” behavior with Unbuntu 11.10 on EC2?

I recently created by first EC2 server using an Ubuntu 11.10 AMI (previously had been using 10.4). The default terminal behavior for this server seems a bit odd. When I ssh to the server from a Mac ...
6
votes
1answer
1k views

Having problems with maintaining sessions across multiple Amazon EC2 instances

One of my sites is hosted via Amazon EC2 service. The problem starts happening when the site faces a heavy load which in turn spawns a new EC2 instance via AutoScaling. This is good but the issue is ...
6
votes
1answer
3k views

How do I create an instance store based AMI from an EBS instance?

To give a background, I need about 10 instance replicas for a research purpose. So, here is what i do: I have an EBS based EC2 instance as master instance where i do all the development. Create an ...
6
votes
3answers
2k views

Convert a .vmx file for use on EC2

I've got a virtual machine that I'd like to have running as an EC2 instance. Is there any way to simply convert a .vmx to an EC2 image?
6
votes
3answers
2k views

Amazon CloudFront and EC2: Global Load Balancing

We have an app that is going to store and serve up a decent amount of data in S3 to a global audience where latency should be minimized. So, we've been doing tests with Amazon CloudFront and have seen ...
6
votes
2answers
5k views

Should you use iptables with EC2 instances?

You can use ec2-authorize to specify what kind of traffic to allow to your ec2 instance. Is it still a good idea to run iptables, or is that introducing unnecessary complexity?
6
votes
2answers
774 views

Amazon EC2 multiple private IP addresses per instance

I have a scenario where an application requires multiple private IP addresses but does not require the resources of multiple instances. In this case, I would like to run multiple jboss instances on ...
6
votes
2answers
1k views

MMS gets hostname from uname and can't connect to it

I'm trying to get 10gen's MongoDB Monitoring Service monitoring my 3-node replica set. The replica set running in an AWS VPC. Each node runs on a different [virtual] machine. Assume their IPs are ...
6
votes
2answers
416 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 ...
6
votes
1answer
496 views

Is there a place to get popular AMIs for Amazon EC2?

Amazon has a list of public AMIs: http://aws.amazon.com/amis But this list is sorted by date, not popularity, so it's practically useless for finding good AMIs, unless you know in advance what ...
6
votes
1answer
1k views

xen:balloon: reserve_additional_memory: add_memory() failed: -17

We're running Ubuntu 14.04 on an EC2 virtual machine. I've been seeing a lot of these errors in our kernel log: [ 704.032085] xen:balloon: reserve_additional_memory: add_memory() failed: -17 [ ...
6
votes
1answer
1k views

debugging high load average due to slow io on ec2

I am on amazon ec2 ubuntu 11.04 large instance with a 150GB volume mounted for the database (ext4). The cpu usage is VERY low but the load average has been consistently at 2.0 for about a day now. I ...
5
votes
5answers
12k views

Why Can't I Reach My Amazon EC2 Instance Via It's “Elastic IP Address?”

The server works fine via the Amazon assigned DNS entry, but I cannot reach it (using a browser) via the Elastic IP address Amazon assigned the box. Ping does not work either. I am trying to confirm ...
5
votes
3answers
197 views

Files in /var are gone

I have mounted an additional hard drive and all my files in /var are gone. I added one more EBS hard drive in Amazon EC2. After mounting that drive my whole /var is gone. I cannot even start Apache ...
5
votes
4answers
1k views

EC2 billing for fractional hours [closed]

Amazon's EC2 billing page says that fractional hours are billed as whole hours. But does anyone know if that means they round up the hours at the end of the month, or round up the hours at the end of ...
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
4answers
4k views

High iowait on Amazon EC2 MySQL instance with EBS volume

We have a MySQL server running on an Amazon EC2 c1.medium instance relying on a single EBS volume using the ext3 filesystem for storage. This MySQL server is queried ~500/ps by several applications ...
5
votes
3answers
897 views

Are there any advantages to using OpenSolaris over linux other than ZFS?

Are there any advantages to using OpenSolaris, other than ZFS, rather than using a common linux distribution such as CentOS or Ubuntu? I ask because I'm interested in using OpenSolaris on AWS to take ...
5
votes
3answers
8k views

Mounting an attached ebs volume in EC2

I've created an EC2 instance, created an EBS volume, attached it to the running instance, and successfully ssh'ed into my instance. The drive is attached as /dev/sdf Next, I tried mounting the drive ...
5
votes
4answers
1k views

Lock Windows Disk for Backup (EC2 Snapshots)

I'm looking for a way to flush all pending writes to disk in Windows, then buffer all future writes until a command gives the go-ahead. I'd like to flush SQL Server writes and Windows system writes, ...
5
votes
3answers
6k 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
3answers
5k views

How to use Amazon EC2 command line interface?

I am trying to use the command line interface to get a description of an EC2 instance that I just setup. I connected to the server via ssh and ran the command ec2-describe-images ami-12345abc. ...