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

learn more… | top users | synonyms (1)

2
votes
1answer
249 views

Keeping a consistent configuration across load-balanced servers

First off -- I'm not a sysadmin so I'm not even sure what I'm doing is right. Basically I have two Amazon EC2 webservers that are essentially clones of each other. I've created an Elastic Load ...
1
vote
2answers
1k views

MySQL max_connections on an EC2 m1.large instance

I'm running a dedicated MySQL server on an m1.large EC2 instance, which has 7.5 GB of RAM. What might be a good number to set my max_connections value to?
21
votes
3answers
9k views

How can I deploy a scalable, reliable haproxy cluster on Amazon EC2?

We need some more advanced functionality than ELB provides (mostly L7 inspection), but it's not obvious how to handle things like heartbeat and high availability with something like haproxy using EC2. ...
3
votes
2answers
607 views

EC2 instance backup

I have an EC2 instance that I spent a lot of time setting up to run my Ruby on Rails application. The project is currently not under development and I need to take it down so we can eliminate the ...
5
votes
2answers
728 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.
14
votes
1answer
7k views

What is “freeable memory”?

Amazon RDS has a metric for 'freeable memory'. It appears to go up & down in a sawtooth pattern. This leads me to believe that it's memory that is being used by MySQL for caching and that when ...
9
votes
4answers
8k views

Is it possible to move an AWS EC2 AMI from one region to another region and if so how?

I have an AWS EC2 AMI in the EU region. I want to move it to the US region. The root device type is EBS and the OS is Linux. Is it possible to transfer the image to the US region and if so how?
1
vote
1answer
2k views

Hidden costs of Amazon EC2? [closed]

After Amazon launched their new Micro Instances at EC2, I took a closer look at Reserved instances and I did some math. I'm currently using Linode 512 so I'll compare it to that. Small Instance is ...
0
votes
1answer
228 views

SuExec is not giving permission to apache user

I am not much aware of SuExec .. As I see SuExec module is loaded in httpd.conf.. In my virtualhost tag i have given SuexecUserGroup apache apache But when i run the project it tells permission ...
0
votes
2answers
38 views

How can I host part of a site on another server and present as a directory off the URL?

A client would like us to build a microsite off of their domain. The main web site is hosted on a MSFT IIS server on www.client.com URL. We would like to develop the microsite using PHP on an EC2 ...
4
votes
5answers
7k views

Override DHCP hostname on RHEL5/CentOS/Amazon Linux

I'm running Amazon Linux (based on RHEL5) on EC2. I have my own domain name pointing to the instance's elastic IP. Amazon auto-assigns the instance a generic (and not visible on the Internet) ...
4
votes
3answers
5k views

Amazon Community AMI: How to know root password?

I'm using ami-c2a255ab. It is up and running. I can SSH to it. But when it asks for password for any sudo command - I have nothing to say. Where can I get this info?
4
votes
3answers
2k views

What's the cheapest way to host hobby projects?

What's the best place to put your hobby web projects(the web app itself, not the code) ? Typically, the projects are such that: a) I just want to test out an interesting idea without exploring the ...
3
votes
1answer
671 views

Simple, manageable DNS on EC2?

I'm working on a large network of servers sitting on EC2, and need a way for the servers to know about each other's locations in the cloud. I thought the simplest way would be to use DNS, because if I ...
2
votes
5answers
18k views

EC2 login as EC2 user other than root

I am trying my experience with Amazon EC2, but unable to connect to the server. After creating PEM file inside Amazon Management Console, then I create private key using PuttyGen. Using Putty, I tried ...
0
votes
1answer
568 views

Create an EBS based EC2 AMI from Ubuntu server with some tools installed

Download Ubuntu Server (last LTS version, 10.04) Install it under VirtualStudio, or any other VM. Install some useful stuff for GIS developers, like build essentials, PostgreSQL, PostGIS and GDAL ...
2
votes
2answers
1k views

How to send email notification, when ubuntu ec2 server shuts down?

I'm running ec2 instance with ubuntu server and sometimes it seems to be shut down. Is it possible to send an email notification, if server switches to runlevel 0? And how?
1
vote
4answers
2k views

Amazon Ec2 cheapest possible solution

I currently run a couple of very small sites on a Webfaction VPS. It is not very powerful, but for as low as $100 / year I can run a couple of blogs and do all my experimentations on a server and the ...
0
votes
2answers
358 views

Loading a snapshot on a live instance to replace the root volume without terminating or stopping

I have a small EC2 instance running Ubuntu 9.10. I cannot stop or terminate it because it's a production server and we cannot lose our IP. I have an Amazon EBS volume that is our root drive and I ...
13
votes
2answers
6k 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
3answers
858 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 ...
8
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 ...
2
votes
3answers
1k views

uploading to amazon s3 using lftp

Is it possible to upload files from an ftp to an amazon s3 bucket using lftp? I tend to run this from an ec2 instance.
1
vote
1answer
516 views

How can I monitor my EC2 instances CPU usage and reboot it if it stays on 100% for too long?

Every so often (maybe once every 3 months), all of a sudden our instance gets 100% CPU usage and locks out and becomes very unresponsive. I'd like to find a way to detect this condition and initiate ...
4
votes
5answers
3k views

Can't launch glassfish on ec2 - can't open port

I'm trying to start glassfish on an EBS-based AMI of Ubuntu 10.04 64-bit. I have used glassfish on non-ec2 servers with no problems, but on ec2 I get this message: $ sudo -u glassfish bin/asadmin ...
0
votes
2answers
6k views

what server hardware does the amazon cloud use?

Does anyone know the hardware vendor amazon uses for their EC2 cloud?
0
votes
2answers
225 views

Monitoring batch job servers that go up and down randomly?

I'm going to be running dozens of Amazon Web Service spot instances. They go up and down based on market price, and are good for workloads where you care more about cost than speed. I want to monitor ...
1
vote
1answer
161 views

Installing abiword on amzon ec2 fails due to dependencies

I am installing abiword-2.8.6 on amazon ec2 instance But it failing due to dependencies Error: Package: 1:libabiword-2.6.4-8.el5.2.i386 (epel) Requires: libbonoboui-2.so.0 Error: Package: ...
1
vote
2answers
326 views

Amazon cloud: What should I backup exactly?

ec2 Micro type instance comes with only EBS storage - Should I backup everything critical from there? other ec2 instances come with local storage - Should I backup everything critical from there? s3 ...
0
votes
2answers
433 views

problem connecting to amazon ec2 instance after copying it to another region

I have a running instance on us-east which I can connect to. It is an EBS volume based on one of the ubuntu 10.10 server AMIs. It was created by starting a default image, and then customizing it and ...
0
votes
1answer
1k views

RDP connections not working to EC2 instance

EC2 will not accept RDP connections. On windows, I am using RDP to connect to my EC2 windows instance. But on the step where I see "configuring session..." , a second or two later the connection is ...
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 ...
0
votes
1answer
48 views

Site down after root drive expanion on EC2

Hey there I have expanded the root drive of an EC2 windows instance machine. Now after re-attaching the drive and firing up the instance, i cannot RDP into the instance as the site is down which as ...
3
votes
1answer
1k views

How to send my public keys to EC2 server?

I need to send a public key to an EC2, without use the ec2-* api commands, and I can't. I've tried scp and ssh-copy-id, but booth can't use the -i parameter to connect using the keypairs. The ...
2
votes
5answers
4k views

Find out public ip address of the EC2 server

i would like to find the public IP address of my EC2 instance from within the server itself.I know it is possible using ec2-describe-instances. But i want to do it assuming ec2-api-tools are not ...
0
votes
2answers
286 views

How to create a smaller disk size Windows instances on Amazon EC2?

Does anyone know how to create smaller disk size Windows instances on Amazon EC2? Their default is 30 GB, and I have to pay $0.10/GB/month for EBS storage, which means that for each Windows instance I ...
1
vote
1answer
932 views

High Availability on a Budget using EC2 for Fail-Over?

I am doing some research to determine how to best create a high availability solution for deployment of a rails/mysql web application for the minimum cost. I've come up with a possibility, and am ...
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 ...
0
votes
2answers
125 views

Best practice for routing requests to the right application server version on EC2

I'm following this procedure to deploy new application versions to EC2. When the new version proves stable, I update the A record of the DNS entry to route the traffic to the IP address of the new ...
0
votes
2answers
241 views

Why is my EC2 Instance Timing out with a CNAME?

I setup a CNAME record at my registrar (godaddy) and pointed it to my running instance located at ec2-204-236-164-223.us-west-1.compute.amazonaws.com. I can't seem to browse, ping, or otherwise get ...
0
votes
1answer
233 views

How to map an address to a custom one?

Ok so first of all sorry for a rather poor title, I'll try to make up for it in the description. Secondly, bear in mind I am no sysadmin and I'm a complete noob. So here's the story: I just setup an ...
0
votes
4answers
3k views

monitoring outbound traffic on port 25

I just started up a new instance that i build using debian squeeze on amazon last night. This morning I just got an email saying that I reached a limit on the volume of email you were able to send ...
2
votes
2answers
841 views

Amazon EC2 java installation problem

I'm having a little problem here: I got the amazon free usage tier to test it, launched a ami-465c6932 (Ubuntu 10.10 32bit iirc) on an eu west server. I installed postgresql and made sure it is ...
0
votes
1answer
421 views

Unable to use EBS volumes

I have a Debian AMI that I built, its working great, but I cannot access any EBS volumes. I have created an EBS volume and, using the EC2 control panel, I have attached it to my instance as /dev/sdf ...
2
votes
2answers
908 views

Are Amazon EC2 IDs globally unique across regions?

Are Amazon EC2 IDs (instance, volume, snapshot, etc) across regions? For example, is it possible, albeit unlikely, for instance ID i-1a2b3c4d to appear in both eu-west-1 and us-east-1? I have seen ...
1
vote
2answers
331 views

This morning when sshing in, server asks for password (has never happened. normally use identity file)

I always log in to my server(Amazon EC2) by: ssh -i blahblah.pem root@server.com This morning the server asked for a password which I never set. I thought this could mean either my key(pem file) is ...
0
votes
1answer
133 views

if I have a reserved instance (windows), can I use it for an equivalent linux version?

Both linux and windows reserved instances have the same deposit, so can I switch between the two?
4
votes
3answers
2k views

Remote X session on EC2

I am using an Ubuntu Server EBS-based AMI on Amazon EC2. I have installed the desktop packages and ssh -X to my machine using the default ubuntu account but when I enter the command: startx I get ...
2
votes
2answers
157 views

Has ec2 made self-hosting possible for 'amateur' sysadmins possible?

I'm a developer, and it seems ec2 has made it possible for a amateur sysadmin like me to setup and maintain a fairly large set of servers. Now I don't mean to undermine real sys admins, as I know the ...