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

learn more… | top users | synonyms (1)

1
vote
1answer
2k views

Elastic Load Balancer & SSL termination

I am setting up a Rails app on AWS that: 1) all traffic must be ssl encrypted 2) will highly fluctuate in the amount of traffic on a weekly basis 3) will by maintained by someone that is a stronger ...
13
votes
2answers
5k views

How to resize Amazon EC2 instance?

Is it possible to resize an Amazon EC2 instance, e.g. convert from a small instance to a large instance? If so, what is the easiest way to resize Amazon EC2 instance? Like Rackspace Cloud Servers do ...
4
votes
1answer
3k views

Can Amazon VMs be used as Active Directory domain controllers?

I've got a client who wants to move his companies servers off site. As he is only a 10 person company I'm looking for some pretty in-expensive options. One option is the smallest of the Amazon cloud ...
4
votes
3answers
380 views

How to Architect a system on AWS for scaling (with a MySQL back-end)

I'm trying to understand how to architect an Amazon Web Services application. As I understand it, the whole point of using something like AWS is to make the eventual scaling easier, so I'm trying to ...
0
votes
1answer
1k views

Map a URL bought with Dreamhost to Amazon EC2 (AWS)

I have several URLs I purchased through Dreamhost. I'm starting to use Amazon's AWS, and I'd like to map the URLs to Amazon. This is something of a silly question, and I've already done the same ...
0
votes
2answers
595 views

How do I move an Amazon micro instance to a small instance?

I want to move my instance to a micro instance to a small instance but when I try to launch a new AMI based on my Micro instance AMI it only gives me the option for 64 bit instances. My initial ami ...
0
votes
1answer
211 views

workaround for cross domain on ec2 clouds

I have 2 ec2 server instances - i1 and i2. If i1 serves a page, and that page has to make queries to i2 without i1's knowledge, how do I do it ? Is it possible to avoid cross domain calls ? Thanks ...
13
votes
1answer
9k views

How can I run the Ubuntu EC2 AMI images locally?

I've downloaded the Amazon Ubuntu EC2 AMI images (from http://uec-images.ubuntu.com/releases/10.04/release/) and I am trying to run it locally on my linux desktop. Is it possible to run the AMI using ...
0
votes
1answer
698 views

How does everyone set up AWS for PHP with a git workflow while worrying about distributing EC2?

I have been looking for something like heroku but for php, and after much frustration (and almost finding what I need, but not quite) we decided to just go with AWS without any other abstraction. We ...
1
vote
2answers
2k views

Scaling a LAMP website hosted on EC2

I'm very new to all this - I've recently managed to launch my website on EC2. As next step, I want to learn how to scale the website. I have a general idea but wanted some input from the experts about ...
1
vote
1answer
1k views

How to configure DNS for instances on aws?

I have 3 instances running on amazon ec2 instance 1 should be called myname.com, instance 2 and 3 should be called node1.myname.com and node2.myname.com respectively. How can this be achieved ? (can ...
1
vote
1answer
737 views

Upgrade Ubuntu linux-virtual on EC2

I have an Ubuntu 10.10 EBS boot server on EC2. There are new updates available for it: linux-image-virtual linux-virtual Is it even ok to upgrade those packages on an EC2 server? When I do try ...
3
votes
1answer
330 views

Does Amazon remove EC2 instances?

Does Amazon remove EC2 instances that that have not run for a period of time?
1
vote
2answers
266 views

Unable to launch an EC2 image as a Micro Instance

The good people at OSQA created an Amazon image ("us-east-1", ID "ami-24e7114d"), as a micro instance. When I try to launch this instance, I only get options "large" and above - I don't see any ...
1
vote
1answer
425 views

is it possible to put multiple instances of ec2 under one domain?

Is it possible to have multiple instances of aws under a single domain ? I am trying to host data in several instances, and there'll be one server, but if I want to give my client side script to ...
1
vote
2answers
269 views

Where are all the Amazon EC2 micro AMIs?

I'd like to take advantage of Amazon's offer of free micro EC2 servers. I'm browsing through public AMIs, but any public AMI that I try to launch requires a minimum of "small" instance - I don't find ...
0
votes
1answer
419 views

bottle.py on EC2 micro instance causes 2 order of magnitude slowdown

Cross-posted from StackOverflow: I wrote a little toy script to solve this type of game, and put it on my new micro EC2 instance. It works perfectly, but while it takes around 0.5 seconds to run a ...
2
votes
2answers
519 views

Which AMI should I use as a base for a Django application?

I'm starting development of a Django application, on Amazon's Web Services. I'm looking to build an instance that will serve the Django. I don't have much experience with such things, having only ...
10
votes
3answers
4k views

EC2 VM import: VirtualBox

I would like to know if it's currently possible to import a virtualbox vm on the ec2 cloud, I have tried with a virtualbox vmdk but it did not succed. Apparently it is designed for VMware's vmdk ...
4
votes
1answer
355 views

What's SUSE linux? Why does it cost more on Amazon EC2?

What's the difference between EC2's "linux/unix" server, and "SUSE Linux" ? Why does SUSE cost more? Is it better?
3
votes
2answers
989 views

Setting a price cap for AWS Free Tier

I'd like to setup a website on the Amazon AWS free tier but I'd like to be sure I won't lose any money if I see a sudden spike in traffic. Is there any way to set a cap on traffic or stop the server ...
2
votes
3answers
1k views

Amazon Auto Scaling + Elastic Load Balancer + Web Application

Let's say I have web application that runs on a single EC2 instance (PHP + PostgreSQL). Now I create Load Balancer and set Auto Scaling. The question is: how do I replicate database on the fly when ...
-2
votes
2answers
357 views

is xfs a good raid setup?

I'm using amazon, and there is docs everywhere to use xfs. Is xfs a software based raid? Is it fast?
0
votes
1answer
1k views

EC2 Autoscaling AMI and auto attaching new EBD from snapshot

Trying to work out how to configure EC2 autoscaling to automatically attach and EBS volume when a new instance is spawned. Ideally we're trying to achieve the following when a new instances is ...
2
votes
3answers
243 views

Help needed with Amazon EC2 / rackspace cloud terminology, to pick a good provider

I have a rackspace linux server with 512 MB of RAM and a Linux Micro instance on EC2 (it has 613 MB of RAM). I wanted another bulkier instance for a new web app our company is deploying. I am ...
2
votes
2answers
2k views

SQL Server on EC2: Where do you put the database?

If I run SQL Server 2008 on an EC2 instance.... what are my options for the location of the mdf ? If it is in the local instance storage, I can lose it when the instance reboots. (My understanding ...
1
vote
1answer
658 views

What is a bucket on EC2?

I'am new on the Amazon Cloud World, and i trying hard to understand how this hosting works. I can't found any articles about buckets. What is buckets, anyway? Someone know a good article/book about ...
2
votes
3answers
1k views

Is it possible to run Windows Server 2008 R2 on Amazon EC2?

Is it possible to run Windows Server 2008 R2 on Amazon EC2? Is it possible to upload your own images of operating systems to Amazon EC2?
0
votes
2answers
1k views

Using apt-get in Linux EC2 Micro Instance

I am trying to install apt on my Linux EC2 Micro Instance. I am trying to do as it is mentioned in the first answer of this question. But when I try to edit and save the sources.list file, I am ...
0
votes
1answer
286 views

trouble attaching ebs volume to ec2 instance

I am trying to attach a ebs volume to an ec2 instance, with this : $response = $ec2->attach_volume($volume_id, $disp['instanceId'], '/dev/sdf'); It goes to "attaching" state, then to "attached" ...
0
votes
1answer
1k views

can't connect to free ec2 instance

I created a new ec2 ubuntu instance. I can't connect to the instance, all I get is connection timed out when I try to connect. I can't ping the instance either. If I try to add new security rules ...
4
votes
2answers
1k views

Allow ports on EC2 only for Heroku

I have some services - mysql, some HTTP services - which I would like to have open for Heroku exclusively. I can define IP adress / IP mask (I am not sure what it is in EC2 security groups). Which IP ...
0
votes
3answers
5k views

Getting 'Permission denied (publickey)' error while ssh into EC2

I am trying to ssh into my EC2 instance, and get the following ssh verbose output. THe identity file is in a pem format, which is X.509, i think. I dont know the login name, or I could have tried ...
0
votes
1answer
1k views

Is it possible to map amazon S3 to a EC2 micro-instance?

I just created a Amazon Linux micro-instance and setup a S3 bucket & an EC2+EBS. I want to know, if at all it is possible, to map a S3 to an EC2 instance, preferably via ssh, and not from the ...
1
vote
1answer
423 views

How can i run apache2 on EC2 Amazon Debain?

I want to install apache2 on EC2 Amazon instance and access it from internet . I have installed apache2 sucessfully using command apt-get install acache2 After that I checked status of apache2 ...
0
votes
1answer
367 views

SQL Server on EC2: Any pointers or suggestions? [closed]

Our production app is in a datacenter, on our gear. We are looking to set up a DR site in Amazon EC2. For starters, we will need SQL Server, and we will do encrypted log shipping to the instance. ...
1
vote
1answer
66 views

what are the simplest ways to get a few GBs of data from ec2 linux instance?

I have a linux instance with several GBs of data. What are simple ways of getting the data out to my local machine? I wonder about S3, Cloudfront, scp, ftp, http etc. Thanks in advance.
2
votes
1answer
203 views

Why are ACLs not loading on ec2 instance from saved image?

I am doing a nightly backup of an Ubuntu (9.10) server instance I have running on Amazon's EC2. This morning I started a new instance from the most recent saved image. When I ssh into the instance ...
0
votes
1answer
23 views

Synchronise when an instance of Server 2008 is brought up in Amazon

What is built into Windows server to allow the replication of files from a "Master" folder on the main server to be copied over to the instance that was just CREATED in the amazon control panel? The ...
1
vote
1answer
142 views

Database redundancy, more than just daily

We're an online store and backups are made daily. The problem is that if our database is lose, we lose all database changes/orders that were made on our site that day. We're tossing around the idea ...
0
votes
3answers
531 views

Amazon EC2 in Japan slow [closed]

Transfer speeds from Amazon EC2 to Japan is slow as h***. Is there anything one can do to speed that up, except changing providers? Oh, we're using EC2's Singapore instance here.
4
votes
5answers
6k views

SSH access problem: debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY

We have a server XXX ON Amazon EC2. SSH is running on a standard (22) port. I placed my pubkey at the /.ssh/authorized_keys file The fun thing is that YESTERDAY it was working great! But today, I ...
1
vote
1answer
365 views

Building for web node redundancy with load balancing on EC2

Currently we have on c1.medium webnode and an Amazon RDS sql server. The problem we face is that every now and then the webnode fails and the site goes down. I am considering mitigating this risk by ...
0
votes
1answer
189 views

Access MySQL database from virtual machine hard drive (EBS volume) in Amazon EC2

I had an Ubuntu image that was corrupted and will not longer boot (hosted with EC2). This is just a problem with the OS booting and not a problem wit the actual EBS volume. So I have mounted the EBS ...
0
votes
1answer
190 views

EC2 Ubuntu 10.04 publickey error on a new instance (key works for an existing instance)

Tried booting through the aws dashboard. Also tried creating from the command line api tools. Checked ssh with -vvv and made sure it was trying the key (note that an old instance with the same key ...
0
votes
2answers
774 views

Installing gem MySQL failed

I'm installing mysql gem on Amazon AMI 2010.11.1 and I'm having the next problem: # gem install mysql Building native extensions. This could take a while... ERROR: Error installing mysql: ...
1
vote
2answers
951 views

Windows 2008 additional disk going offline with reboots on Amazon EC2

OK, so I took the stock Windows 2008 64-bit Amazon AMI and wanted to add a D: drive for page file space and crash dumps. I launched the instance with a second EBS volume attached as xvdf and went ...
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?
2
votes
1answer
250 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?