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
4k 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 ...
6
votes
2answers
746 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
3answers
8k views

Allow scp/ssh for www-data user

I am on Amazon EC2 using Ubuntu 10.04.2 My web folder is owned by www-data so I want to be able to log into my server as www-data for ssh and scp. Thanks! Adding the line to my /etc/ssh/sshd_config ...
6
votes
2answers
360 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
474 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
958 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
3answers
195 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
2answers
16k views

how do i set the dns server on godaddy with AWS?

I have a domain name on godaddy and i also have a amazon web services account. I have an EC2 instance and i want to change the dns nameserver on the godaddy control panel to aws and i have no idea ...
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
885 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
5answers
3k 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 ...
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
2k views

How to mount /tmp in /mnt on EC2?

I was wondering what is the best way to mount the /tmp endpoint in the ephemeral storage /mnt on an EC2 instance and give the ubuntu user default write permissions. Some suggest editing /etc/rc.local ...
5
votes
4answers
2k views

On AWS do I have to open ports in an EC2 instance's firewall as well as security group?

If I change my SSH port from 22 to 23453, I can no longer ssh in. In more detail, I'm using a Red Hat EC2 instance on Amazon Web Services. This is the second change I've on a fresh install (first ...
5
votes
1answer
2k views

update-rc.d on Amazon Linux

I am fairly new to system administration and I am simply trying to make sure nginx runs at startup on my Amazon EC2 instance (running Amazon linux) I have placed the script in /etc/init.d, but it ...
5
votes
2answers
4k 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. ...
5
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 ...
5
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 ...
5
votes
1answer
491 views

`ps` and `bin/bash su` in ps aux output

I have a shared server (amazon ec2 micro powered by bitnami) with a web application (Wordpress), which is showing low performance lately (with relatively stable traffic and usage). The only suspitious ...
5
votes
3answers
1k views

How to allow elastic load balancer through port 80 in security groups?

I want to temporarily block port 80 for the outside world, but want the load balancer to pass through the firewall (via security group) so it won't see the instance as unhealthy. How can I do that? ...
5
votes
3answers
4k views

Speeding up Apache and PHP

What are some good modules or systems that for caching that I can use for decreasing my load on Apache on an EC2 server running PHP, and why would you choose them?
5
votes
3answers
759 views

long SSH password vs SSH Keys

Using amazon's EC2 Service, which is awesome in every regard. Only problem is, I have problems logging in with the SSH keys they automatically genarate. I have no idea what the problem is, but have ...
5
votes
4answers
2k views

Which Amazon EC2 AMI to use for cross browser testing?

Which Amazon EC2 AMI should I use for cross browser testing? I'd like to test on IE6, IE7 and IE8 (using a Mac), and would like an AMI with sensible settings, and perhaps something like Superpreview ...
5
votes
4answers
1k views

Multiple AWS instances and one database

I have a web app that lives on two AWS instances - one instance hosts the site, and the other hosts the actual database (MySQL). The instance hosting the site has an elastic IP pointing to it, which ...
5
votes
2answers
3k 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 ...
5
votes
2answers
398 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 ...
5
votes
2answers
2k views

Most efficient (time, cost) way to scrape 5 million web pages?

I have a list of web pages that I need to scrape, parse and then store the resulting data in a database. The total is around 5,000,000. My current assumption of the best way to approach this is to ...
5
votes
1answer
2k 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 ...
5
votes
1answer
2k views

Need to scale an Amazon EC2 instance (but JUST the storage, not the CPU)

I currently have this image: High-CPU Extra Large Instance (Amazon Linux AMI) 7 GB of memory 20 EC2 Compute Units (8 virtual cores with 2.5 EC2 Compute Units each) 1690 GB of instance storage 64-bit ...
5
votes
2answers
4k 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 ...
5
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?
5
votes
1answer
845 views

Postgres suddenly slower and higher CPU usage

We're running a Postgres DB that's about 38GB, hosted on a 68GB EC2 instance. It's been humming along, with load at ~0.7 (on an 8 core machine) and little CPU usage until about 16 hours ago, when CPU ...
5
votes
2answers
3k views

Are EC2 security group changes effective immediately for running instances?

I have an EC2 instance running, and it belongs to a security group. If I add a new allowed connection to that security group through AWS Management Console, should that change be effective ...
5
votes
1answer
364 views

What's the best way to share source code between EC2 instances?

Currently I have 4 EC2 instances in amazon cloud behind a load balancer and this number will grow up to 20-30. I am looking for the best way to manage source code on all of these instances. There is a ...
5
votes
1answer
681 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 ...
5
votes
2answers
643 views

CentOS, Amazon EC2, and EBS AMI

How do you go about finding the most "accepted" image for Amazon which allows you to store it as an EBS image. Specifically I'm looking for a CentOS image.
5
votes
4answers
3k views

How to move S3 bucket to different location

We use S3 for storing millions of entries in our webapp, now we move the whole thing to EC2, EU servers, and we also want to move that S3 data to EU. But the bucket we use is in US, and there seem to ...
5
votes
4answers
4k views

Amazon EC2 tools for Debian?

What is the recommended way of getting command-line Amazon EC2 tools on Debian? So, basically the same as this question, but for EC2 instead of S3. Ubuntu has ec2-ami-tools and ec2-api-tools, but I ...
5
votes
3answers
462 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 ...
5
votes
1answer
5k views

Setfacl: Operation not supported [duplicate]

Possible Duplicate: setfacl: x.txt: Operation not supported I am trying to do: setfacl -m d:u:apache:rw /etc/asterisk/additional/ but getting: setfacl: /etc/asterisk/additional/: ...
5
votes
1answer
1k views

Amazon EC2 instance ssh problems

I`m new to EC2 and I'm having some problems setting up my first instance. I followed this guide: http://www.robertsosinski.com/2008/01/26/starting-amazon-ec2-with-mac-os-x/ with the difference that I ...
5
votes
5answers
944 views

Ec2 Denial of Service: Securing cloud based website from DOS attack

How can I prep up my website infrastructure running on an EC2 instance against DOS attacks? I run apache with nginx as reverse proxy
5
votes
2answers
2k views

Windows Group Policy Startup script is not executed at startup

I have written a .cmd file which calls ten different .exe files. I am able to run this .cmd file locally, on my server, and it works fine. When I use [gpedit.msc] (Group Policy Editor) for "Computer ...
5
votes
4answers
4k 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 ...
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
1answer
454 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 ...
5
votes
2answers
2k 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 * ...
5
votes
1answer
310 views

Mysterious swap usage on EC2

We're in the middle of a project to move our infrastructure from a co-lo situation into Amazon EC2 and we've noticed some weird memory characteristics of the processes in our setup. Without going into ...
5
votes
3answers
3k views

Terminating a high volume of SSL connections cost effectively on EC2

I have recently set up a Node.js based web socket server that has been tested to handle around 2,000 new connection requests per second on a small EC2 instance (m1.small). Considering the cost of a ...