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

learn more… | top users | synonyms (1)

7
votes
1answer
6k views

Difference between static IP and elastic IP address?

With Amazon's EC2, to assign an IP address I create an "Elastic IP", however it seems to just give me a static IP address. What is the difference between a static IP and an elastic IP? Or is it the ...
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
6k 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
1answer
6k views

Where's my ephemeral storage for EC2 Instance

I have looked through the following questions, notably How to use "Instance Store Volumes" storage in Amazon EC2? However, it didn't answer. I created a EC2 small instance with EBS as the ...
7
votes
2answers
7k views

How can I login amazon ec2 with root directly in putty or winscp?

0 down vote favorite 1) How can I login amazon ec2 with root directly in putty?? each time i need to su - root first and change to root...is there any other ways?? 2) How can I login amazon ec2 ...
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
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
3k views

Block IP on EC2. Firewall or other options?

My EC2 (Fedora AMI) based service is being heavily hit by a rogue misconfigured client. What options do I have to block the IP of this rogue client?
7
votes
4answers
5k views

Good methods for monitoring EC2 instances

I'd like to hear your approaches for monitoring Linux instances running in EC2. I'm very accustomed to using Nagios to monitor all manner of aspects of a Web-based application's ecosystem, but its ...
7
votes
2answers
612 views

Can I throttle tar without ionice?

My tar command tar --remove-files -cvif 2011-08-02_14-05-09.tar 2011-08-02_14-05-09 Writes 80MB/s. That's beyond the capacity we can spare because MySQL starts queuing up writes and eventually we ...
7
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 ...
7
votes
1answer
2k views

How do I scale my EC2 instance?

I'm very new to server configurations and Linux in general, so please bear with me: I have a small EC2 instance running a LAMP server on Ubuntu 10.04 LTS. I'm completely baffled as to how I would ...
7
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?
7
votes
2answers
9k views

How to run an OVA + OVF appliance inside of AWS EC2?

GitHub Enterprise ships as an Open Virtualisation Appliance and File; it's intended to be dropped into existing virtualization setup like VMWare, VirtualBox, etc. I'd like to run it inside of the AWS ...
7
votes
1answer
869 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

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
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
3k views

Is RAID 1 overkill on Amazon EBS drives in terms of reliability?

My thinking behind this is that RAID 1 creates two or more copies of the data on multiple EBS drives. Yet, aren't Amazon EBS disks virtually fail-safe because they live on multiple physical drives? So ...
6
votes
2answers
484 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
7k 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
1k views

Amazon Ec2 Elastic IP - Outbound IP?

I am trying to make a kind of proxy using elastic IPs on my Amazon EC2 instance. My question is, say I associate an elastic IP to my Amazon instance, and then I make an outbound connection from my EC2 ...
6
votes
2answers
10k views

Enable Password Login for SSH on Amazon Linux AMI

I wan't to be able to login via ssh with a password and not the key file. Yeah I know it's totally insecure but at this point in the config I was turning variables off and on left and right trying to ...
6
votes
3answers
3k views

Managing reserved Amazon EC2 instances

I'm writing an app and had been paying an hourly rate for my EC2 instance, as I've needed to test. I decided I should just pay for a reserved instance to save money in the long run, but now that I ...
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
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
1answer
3k views

Search ec2 instance by its name from aws command line tool

I have an instance named dev-server-03. Now how can I search all dev-server-* instances from command line? I am using aws cli tool.
6
votes
6answers
15k 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
2answers
370 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
3k views

IP changed when EC2 instance stopped and started

I have a strange issue here regarding and EC2 instance. I had just stopped and started an EC2 instance for windows after expanding the boot drive, not after I had started the instance, the IP it was ...
6
votes
2answers
584 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
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
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
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
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
1answer
648 views

Cloudwatch mon-put-instance-data not reporting on AMI-cloned instance

After cloning an EC2 instance using AMI (to change a hosts security group), none of the statistics reported by the Amazon-provided mon-put-instance-data.pl script are showing up in CloudWatch. I can ...
6
votes
3answers
2k views

Which permissions/policies for IAM role to be used with CloudWatch monitoring script

With CloudWatch monitoring script (mon-put-instance-data.pl) it's possible to specify a IAM role name to provide AWS credentials (--aws-iam-role=VALUE). I'm creating a IAM role for this purpose (to ...
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
2answers
3k 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
1answer
1k views

Possible to limit an EC2 key to just ec2-associate-address?

I have a regular EC2 instance with an elastic IP. The few times the instance has been stopped, I've just manually re-associated the IP with it via the AWS Management console. I'm now thinking about ...
6
votes
3answers
1k views

Automatically shut down server on inactivity (SSH)?

I have a server hosted on EC2. The server is built on the Linux AMI, based on CentOS. It is dedicated to a client project, and I connect via SSH. Sometimes, I forget to shut down the server when ...
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
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
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
6k 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
676 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
631 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
2k 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 ...