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

learn more… | top users | synonyms (1)

0
votes
1answer
453 views

DNS settings for SaaS in the cloud?

I am building a SaaS product. When a user signs up for an account they must select an alias for their site --------.getlaunchpoint.com. Right now I have an A record *.getlaunchpoint.com that points to ...
2
votes
2answers
382 views

Wiped out the known_hosts file on my server machine. Is it safe?

I am fairly new to managing my production server and I had some problems accessing my EC2 account with the RSA HOst key for xxx has changed message. I read on a couple of Blogs that by simply deleting ...
5
votes
2answers
4k views

Keep alive timeout not being respected on Amazon ELB

I'm using Tomcat 6.0.24 on Ubuntu (JDK 1.6) with an app that does Comet-style requests on an HTTPS connector (directly against Tomcat, not using APR). I'd like to set the keep-alive to 5 minutes so I ...
0
votes
1answer
571 views

Can I use my own copy of SQL Server on Amazon's EC2?

If I have a license of SQL Server, can I install it on a normal Windows Amazon EC2? Will data I save in an EC2's instance be saved if I turn it off and start it a day later?
0
votes
2answers
724 views

Amazon mount EBS

I'm trying to mount /vol to a EBS volume on an Amazon EC2 instance. I'm formatting the device to xfs, adding "/dev/sdh /vol xfs noatime 0 0" to my /etc/fstab file, making the /vol dir and mounting it ...
5
votes
4answers
2k views

Providing high availability and failover using MySQL on EC2

I would like to have a highly-available MySQL system, with automatic failover, running on Amazon EC2 instances. The standard approach to solving this is problem Heartbeat + DRBD, but I've found a lot ...
1
vote
1answer
497 views

Automated EBS snapshots in Windows Server 2003

I've successfully done automatic snapshots from an Ubuntu instance on AWS using a bash script and the API tools. But how is this done with a Windows Server instance? Is there a similar set of tools ...
12
votes
4answers
2k views

Amazon EC2 spot instances - is there a catch?

I needed to start a new EC2 instance today and decided to try out the new spot instances, where you can reduce your instance cost by bidding on the maximum per-hour price you're prepared to pay. ...
0
votes
1answer
253 views

How do I start DB2 on an Amazon EC2 Volume?

I've got an instance of DB2 installed as part of an IBM WebSphere Portal development AMI on the Amazon EC2 cloud. Its installed a separate, persistent file system from the rest of the AMI. ...
0
votes
2answers
715 views

DNS ec2 confusion

Sorry for my confusion - I have tried looking for tutorials explaining these concepts, but haven't found anything that made sense. I am moving my hosting from mediatemple to ec2 and I understand the ...
3
votes
3answers
341 views

How can I generate filesystem images that are usable on many different virtualization systems?

I have written a script that generates a root filesystem image (based on Debian lenny) suitable for User-Mode Linux. (Essentially this script creates a filesystem image, mounts it with a loop device, ...
2
votes
2answers
1k views

Mounting an Amazon EC2 instance on MAC OS X

What are some methods for transferring files to and from Amazon EC2 instances. I'm looking for solutions / tools for editing files as well as copying files to EC2 instances from both Mac and Windows. ...
2
votes
2answers
399 views

Elastic IPs in Amazon EC2

When I use Elastic IPs in I can't use SSH. When I try to login, following message is show @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS ...
4
votes
2answers
3k views

Setup Domain with Amazon EC2

I have domain from name.com and I want to add in Amazon EC2 server. I got Public DNS ec2-xxx-xx-x-xxx.compute-1.amazonaws.com Can I add A-Record in this DNS ? When I add Elastic IPs , I can't use ...
46
votes
3answers
52k views

How to delete Instances in Amazon EC2 ? Change Pair Key?

How to remove Instances ? I test some Instances and now I terminate it. So, I want to remove it. I can't find delete or remove action. I just found terminate. How to change the pair key ? I don't ...
1
vote
1answer
402 views

Example Batch File To Start A Spot Instance Of Certain EC2 AMI?

I want to start a certain EC2 AMI at the click of a button, well two buttons actually. Just to speed up testing / launch-time. How would you call the EC2 API tools for windows via a batch file to ...
4
votes
4answers
3k views

Is it possible to host email and DNS on AWS

We are working towards moving our app to AWS. I have heared that email and DNS cannot be hosted on AWS, is this correct? If this correct, then what are my options?
3
votes
3answers
1k views

AWS - Where should we store images, CSS and log files of the application?

Looking for a clarification and guidance on the best practice. Where should we store images, CSS and log files of the application? Application server or S3? We will be storing user related images ...
2
votes
1answer
397 views

Amazon EC2 instance, viable options and management tools for development environment

I am a freelancer and plan to work with other freelancers in the coming time. Since I would be owning the project(s), I want to own the development environment as well. We all will be working out of ...
2
votes
1answer
595 views

Hadoop slaves file necessary?

I'm working on a team trying to create a system for creating Hadoop clusters on EC2 with minimal effort on the part of the user. Ideally, we would like slave instances to only require the hostname of ...
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 ...
0
votes
1answer
909 views

How to configure squid for retrieving (and caching) directly my static resources?

I have an Apache/Tomcat/Spring tc Server running on CentOS EC2 VM. I would like to install squid on the same machine as a proxy for retrieving (directly i.e. without forwarding the request to ...
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 ...
0
votes
2answers
176 views

How Can I Virtualize An Ubuntu Server Into A Windows OS Inside Amazon EC2?

I would like to use a windows desktop inside the Amazon EC2 cloud, but their prices for windows are too high. Please provide step by step instructions to virtualize a windows OS inside of an Ubuntu ...
3
votes
4answers
3k views

How Can I Automatically Run Firefox On Ubuntu Server System Startup?

How do I automatically run Firefox on an Ubuntu Server inside the Amazon EC2 cloud as soon as the server starts up? I know how to create my own AMIs and all that jazz. I just need to know how to ...
3
votes
3answers
1k views

Long connection times from PHP to MySQL on EC2

I'm having an intermittent issue connecting to a database slave with InnoDB. Intermittently I get connections taking longer than 2 seconds. These servers are hosted on Amazon's EC2. The app server is ...
0
votes
3answers
1k views

How To Automatically Login To Ubuntu On Amazon's EC2 Service?

< NEW > My apologies, I didn't explain my goal very well. I want to automatically "log onto" and start running any given program under a user account in Ubuntu. I guess this has very little to do ...
1
vote
5answers
3k views

Should I persist images on EBS or S3?

I am migrating my Java,Tomcat, Mysql server to AWS EC2. I have already attached EBS volume for storing Mysql data. In my web application people may upload images. So I should persist them. There ...
1
vote
2answers
273 views

Is it prudent to ignore all kernel updates on Amazon EC2 instances?

Given that it's impossible to "aptitude update" your way to a new kernel on an Amazon EC2 instance, I was wondering if it ever makes sense to apply kernel updates. My guess is no, and that I should ...
1
vote
2answers
156 views

What kind of database server should I use for a 500k stored procedure calls per day database?

I have a database that gets about 500,000 stored procedure calls a day in addition to other stuff. It's running too slow for us and we're going to upgrade it when we get around to it. I'm looking at ...
8
votes
5answers
5k views

Which is faster for read access on EC2; local drive or EBS?

Which is faster for read access on an EC2 instance; the "local" drive or an attached EBS volume? I have some data that needs to be persisted so have placed this on an EBS volume. I'm using ...
1
vote
1answer
256 views

Problem making a website running on Windows visible on Amazon EC2

I just launched an instance of Windows server 2008 on Amazon EC2. This instance is in a security group allowing RDP and HTTP. Here are the allowed connections on this instance "Connection Method" ...
0
votes
3answers
1k views

Automatically Login & Startup A Windows Program On Amazon's EC2 Service

How can I automatically start a program on Amazon's EC2 Windows 2008 web servers? For example, if I wanted to test the "Digg effect" on a web page of mine, how could I open 100 windows 2008 servers ...
5
votes
3answers
896 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 ...
1
vote
2answers
171 views

Web service for converting YouTube videos to MP3 files

I need to create a web service that given a YouTube URL will output a MP3 file with the audio of the video, and was wondering how I could host something like this. Amazon EC2, or just normal web ...
9
votes
3answers
7k views

Amazon EC2 time zone

I have an Amazon EC2 dedicated instance (Fedora Linux). Although I took an instance in US West, it came set to EST. I changed the timezone to PST (export TZ=America/Los_Angeles) and it works - for ...
0
votes
2answers
656 views

Moving MySQL directory on an Amazon EC2 machine

I'm trying to have MySQL point to a directory on an EBS volume I mounted on my EC2 machine. I took th following steps: Stopped MySQL (/etc/init.d/mysqld stop) - successful Created a MySQL directory ...
7
votes
2answers
2k 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?
6
votes
4answers
7k views

Why are Amazon EC2 Elastic IPs encouraged to be used with a CNAME rather than an “A” record?

I am setting up a server on EC2 that will be used by people that will be freaked out when they see ec2-111-111-111-111.compute-1.amazonaws.com in the URL bar. I know this would be solved by using an ...
2
votes
3answers
2k views

Ubuntu 9.10 cron script 'ec2-consistent-snapshot' unable to execute and access files

I have a Ubuntu 9.10 image running on Amazon EC2 and I've setup a backup script ec2-consisten-snapshot. I'm able to run the script from SSH, and everything works peachy. sudo ec2-consistent-snapshot ...
3
votes
1answer
380 views

Can Linux RAID 1 account for high latency?

Scenario: we're running a large (3TB total in cluster) Solr installation in EC2. I'm only concerned about disk performance on the read side of things. We suspect that we are limited by disk I/O and ...
1
vote
4answers
5k views

when connecting to an ec2 via SSH, how to transfer files?

I connect to an ec2 instance via SSH. What options do I have to transfer files over to my linux box? Is there anything other than setting up an FTP server? (I'm on a windows computer )
1
vote
1answer
2k views

Indefinite hang when restoring SQL 2005 database on a SQL 2008 server in EC2

I'm trying to restore a 25 GB database backup taken from a Windows 2003/SQL 2005 machine to a Windows 2008/SQL 2008 machine in the Amazon EC2 cloud, using a .bak file and the SQL Management Studio. ...
0
votes
1answer
427 views

Import LDIF file to external server

As a follow-up to my previous question, which I've resolved part of, what we're trying to do now is take an exported .ldif file of the "Users" container on our OS X Server and import it into a ...
0
votes
1answer
323 views

How can I measure the load capacity of my video encoding server and plan for scaling?

I have a server running on Amazon EC2 that acts as a video encoder (LAMP CentOS + FFMPEG). How can I load test it with video files and get an idea of how many encodings it can handle. I can't seem to ...
33
votes
3answers
14k views

Do I need to run ntpd in my EC2 instance?

I'm working on getting some servers running in the EC2 environment and I'm noticing some errors with ntpd trying to sync (using CentOS). I was reading on this site and the impression I get is that I ...
2
votes
3answers
1k views

EC2 EBS AMI Instance stopping/restarting doesn't start services

I've recently been moving our instances to EBS instances (CentOS) and still have a bit of confusion on what's happening when I "stop" and instance. I have some of my services with runlevels 345 on but ...
1
vote
2answers
422 views

AWS EC2 - If a server fails and restarts, how do other servers connect to it?

Lets say I have an application server and a database server on Amazon EC2. If the db server fails and restarts, how can the app server know the new internal ip of the db server and automatically ...
1
vote
2answers
424 views

How do you persist installed software & configurations on an Amazon EC2 instance?

I've gotten a base Debian AMI up and running and now I need to know the best way to maintain it. I've ran the updates (aptitude update/upgrade) and installed/configured my software (Apache, Ruby, ...
1
vote
2answers
249 views

Would it be possible to set up a desktop computer on a ec2 instance?

Would it be possible to set up a desktop computer on an EC2 instance for a Linux computer? Say Ubuntu? I know you can do this with Windows, you just terminal server into the server and use it like a ...