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
2answers
1k views

What is the main difference between iptables and EC2's “security groups”?

If I block traffic via a security group, I assume I don't have to pay for it. But if I block traffic via iptables installed on my server then I assume it would be me that pays for any incoming ...
0
votes
2answers
297 views

MongoDB Replica Set

I'm kinda new to MongoDB. I've setup a single mongo server on an Amazon m2.xlarge EC2 instance. I've setup a RAID10 with 4 EBS volumes for storage. Seems to work great for collecting data. How do I ...
1
vote
2answers
529 views

Is EC2 slow? Should i expect the CPU to stall?

While googling EC2 i saw a few unanswered questions about ec2 being slow. I found this which says your EC2 instance may run for a second or two then stall for just as long: the catch with the ...
2
votes
2answers
2k views

Copy/move EBS volume from one Region to another

Background of our setup: We've hosted our web-based application in Amazon EC2 US East (Virginia) Region. Our instance is based on Linux distribution (CentOS) and AMI is S3-backed. 1 EBS volume (400 ...
0
votes
1answer
128 views

Amazon AWS 2-tier Setup

I am new to AWS, so this is probably a newbie question. I have two instances, one for running a .NET Application in IIS 7.5, the other running MS SQL Server 2008 R2. I'd like the app server to get its ...
7
votes
2answers
13k views

How to setup a email address for a domain on Amazon EC2?

I am not used to cloud hosting. Previously I would just setup an email account through cPanel, but since this is not available how would I go about doing this on a Amazon EC2 account? I am assuming I ...
1
vote
1answer
387 views

ubuntu ec2 instance - apply security updates

Currently, my company has several ubuntu-based instances running on Amazon EC2, being released, in the meanwhile, multiple updates, including security related. Once all instances are ebs-based (for ...
5
votes
4answers
7k views

How to update AWS CLI tools on AWS Linux?

I am running "Amazon Linux AMI release 2010.11.2". I noticed that the AWS CLI tools are outdated. I have tried to use yum update and yum upgrade but it's telling me that the packages are already at ...
5
votes
1answer
1k views

Amazon EC2 notifying the instance when the autoscale service terminates it

I am in need of knowing when an instance is supposed to be shutdown by the autoscale, as I want the instances to register themselves and deregister themselves from a given service. I know that the ...
0
votes
1answer
574 views

Hadoop streaming job on EC2 stays in “pending” state

Trying to experiment with Hadoop and Streaming using cloudera distribution CDH3 on Ubuntu. Have valid data in hdfs:// ready for processing. Wrote little streaming mapper in python. When I launch a ...
0
votes
1answer
363 views

Please recommend a book re: Amazon AWS and EC2 [closed]

Starting to use AWS, setting up a few permanent instances, several temporary ones, maybe some storage, monitoring, DNS - the works. I'm looking for a book geared towards the experienced technical ...
0
votes
1answer
362 views

increasing amazon root volume size

I have a default amazon ec2 instance with 8GB root volume size. I am running out of space. I have: Detach the current EBS volume in AWS Management Console (Web). Create snapshot of this volume. ...
6
votes
1answer
4k views

How do I create an instance store based AMI from an EBS instance?

To give a background, I need about 10 instance replicas for a research purpose. So, here is what i do: I have an EBS based EC2 instance as master instance where i do all the development. Create an ...
0
votes
1answer
626 views

An Amazon EC2 “Micro” (smallest) linux instance can reliably serve a dynamic website to how many users?

How "large" of a website can one reliably host on Amazon EC2's micro instance? Running apache, nginx, lighty, I don't care. Just curious how far that $5.20/month would get you and why I should or ...
0
votes
4answers
627 views

Increase application performance on Amazon AWS

I've got a client with an MVC v1 (.NET) application running on a micro instance. On this instance, I've got .NET, IIS 7.5, and MS SQL Server 2008 running to handle the application. The client has ...
0
votes
2answers
281 views

Basic EC2 Load Balancing Concepts [duplicate]

I am creating a site that I expect to receive DDoS attacks on occasion. I have created two EBS AMIs on Amazon EC2. One AMI for a MySQL Database and one for the web host. I have added an elastic IP ...
0
votes
1answer
1k views

How To Setup Website Nameservers Using Ubuntu 11.04 & Nginx on Amazon's EC2 Cloud?

I have nginx installed and showing a default page on Ubuntu 11.04 inside Amazon EC2. How does one go about setting up multiple nameservers for a website and hosting it through amazon EC2? I am ...
2
votes
3answers
4k views

Creating user accounts in Amazon EC2

I am putting together a test environment using Amazon's EC2 for me and some friends to collaborate on a project. I am not a server guy but I do know my way around a bash prompt and have done some ...
2
votes
1answer
83 views

Amazon EC2 Sign In

When I change the home directory of my Amazon EC2 instance from /home/ubuntu to /home/ubuntu/folder in the /etc/passwd file, I am no longer able to access the instance using my existing keypair. Once ...
0
votes
2answers
1k views

How do you create a SimpleDB on Amazon EC2?

Where exactly could I start creating a SimpleDB, I will be using PHP as the client. I can't find it anywhere on the AWS console.
2
votes
1answer
485 views

Managing logs for several dynamic instance on Amazon

I have this problem or rather an itch that I could really use help with. I use autoscale and several instances on Amazon. Problem is I have all these logs PHP, Apache, system but also my web app ...
8
votes
1answer
2k views

JIRA installation on Amazon EC2

Trying to install JIRA on an EC2 micro instance, that has only 600MB. The moment I start tomcat, JIRA uses up almost all existing memory, it is very very slow and it doesn't even start completely. ...
1
vote
2answers
426 views

Can I have several wordpress instances running in a single Amazon EC2 instance?

Can I have several wordpress instances running in a single Amazon EC2 instance? Each one with a different URL.
1
vote
2answers
1k views

Building nginx 1.0.4 on Amazon EC2 micro - perl and python problems

I'd like to run nginx as a reverse proxy with apache2 on my EC2 micro instance. yum install nginx gives me nginx-0.8.53-1.2.amzn1.x86_64.rpm The current nginx is 1.0.4 I found and followed this guide:...
2
votes
1answer
303 views

amazon RDS Security Groups Issue

We had a odd issue today related to the security groups in our RDS. All the sudden, without any changes from our end, our RDS instance's security group stopped working. No server was able to connect ...
5
votes
1answer
7k views

ec2 instance - is it safe to change /etc/hostname?

I'm having several ec2 independent instances(staging and production). They do not talk to each other in any way. Is is safe to modify /etc/hostname for better clarity of what instance you've logged ...
0
votes
1answer
593 views

EC2 instance stops responding after reboot

I have created a private AMI from the image I had running from my other EC2 instance. When I create the instance using that private AMI, it boots up fine but when I restart the newly created instance, ...
0
votes
1answer
520 views

Mounting cron configuration files - is it possible?

I'm running a few CentOS servers on EC2. We're working to run them all from one image and mount all the variant configuration files from persistent storage. We just started mounting cron ...
0
votes
1answer
374 views

Figuring out memory hogging process in a Linux centos machine

I have a micro instance of Centos AMI from EC2 to run my dev instances. Applications keep on blowing off due to memory issues. How can I find out process that are taking memory and take decisions ...
2
votes
2answers
1k views

Detaching EBS Volumes (in LVM) take a lot of time

I have an EC2 Instance(EBS Backed-root partition) with EBS volumes configured via LVM. I have formatted it as ext4 and can mount it to store data etc. Now i want take a snapshot of the root partition,...
1
vote
3answers
3k views

Problem moving a MySQL data directory to a new drive

I have an EC2 instance and am trying to move the mysql data directory from the default drive to another EBS volume. I moved the mysql directory in /var/lib/mysql to the new destination and then ...
0
votes
2answers
583 views

MySql is not picking up changes to my.cnf file on a custom Ubuntu AMI. How do I fix this?

I created an AMI from my running EC2 Ubuntu instance. I then brought it up, and MySql is not running the same way on this copied instance. 1) Changes to my my.cnf file are not getting picked up. 2)...
3
votes
1answer
838 views

How to select an Amazon EC2 kernel?

When launching an instance, I'm presented with this most cryptic list: There seems to be absolutely zero documentation on Amazon as to which kernel does what. They explain fairly well what these ...
1
vote
4answers
4k views

How to install VNC server on Linux SUSE EC2 instance?

Assuming I can ssh to my Linux instance (SUSE Linux Enterprise Server 11 SP1) as root and that I can transfer files into it - how do I install a VNC server (let's say RealVNC free version) on the ...
1
vote
1answer
756 views

EC2 startup script?

We're using Amazon's 32-bit Linux AMI. What is the best way to automatically run a script after the OS is loaded (not on ssh login, just after it has booted up)?
0
votes
1answer
240 views

Send commands to EC2 Ubuntu instance

I create an instance automated with the AWS SDK and want some shell scripts to be executed by the box once it boots up the first time. BUT only on certain conditions, so I cant place this scripts in ...
3
votes
2answers
403 views

What is the Windows equivalent of CloudInit for initialization of Amazon EC2 instances?

Is there a way to hook into the first-boot process of a new Windows Amazon EC2 instance to run initialization scripts? We would like to automate the setup of our instances without resorting to ...
1
vote
2answers
5k views

How to get password for EC2 Linux instance?

I am exploring Amazon EC2. I created a Linux SUSE instance etc. now I am trying to remote into it from my mac using a VNC client (Chicken of the VNC client): I have the public dns of the instance ...
7
votes
1answer
20k views

My server is working fine, but I can't ping it

I noticed earlier, one (of many) of our EC2 instances doesn't respond to ping requests. Everything else runs fine, SSH, HTTP, FTP, Database all working perfectly, but ping fails. This instance is ...
2
votes
1answer
1k views

AWS Free Usage Tier + Cloudflare… possible?

If I throw my MySQL/PHP app up on a Amazon EC2 instance (using their AWS Free Usage Tier program) and couple it with CloudFlare (the free plan of course) roughly how many daily visitors can I ...
0
votes
2answers
1k views

How can I resolve a “Connection closed” issue on an EC2 instance?

I've run into this issue before and rebooting the instance, I assumed, reset the /root/.ssh/authorized_keys and the /home/ubuntu/.ssh/authorized_keys files. I've reboot the instance twice now and I'...
1
vote
3answers
1k views

How do I install Wine on Amazon Linux AMI?

I am trying to install Wine on Amazon Linux AMI. First I did: sudo yum install wine It said "No wine package available." Then I did the following: sudo rpm -Uvh http://download.fedora....
0
votes
1answer
2k views

ASP.NET MVC multi-instance session management on amazon ec2

I have a web application written in asp.net mvc2. Currently hosted on amazon cloud ec2. Because of growing traffic we want move multi instance enviorenment. I have a custom session class which ...
0
votes
1answer
581 views

Deploy app from github without 2 repos?

I have an Amazon EC2 instance with a bare git repository containing my app. I've setup a post-receive hook that does a git checkout -f into my www. To push to this repo I've setup a remote in my local ...
0
votes
1answer
536 views

Outbound SSL connection from EC2 instance. Anything special required?

I am trying to connect to an external server using an SSL connection with a client certificate from my EC2 instance. So the external server has issued me a SSL certificate, I load this in my (java) ...
4
votes
1answer
955 views

What is the easiest way to get a EC2 public dns inside a running instance?

I'm writing a bash script that needs to use the instance's public dns name. What's the easiest way to obtain it from inside the running instance?
-2
votes
1answer
147 views

best cloud computing company for webhosting business [closed]

I'm running a reseller business. but now I have plans to expand it to the clouds. can you suggest some economical options for the same. most of them would be running wordpress and joomla. as far as I ...
0
votes
1answer
458 views

Convert Amazon AMI to Eucalyptus EMI

What are the steps to convert an Amazon EBS backed AMI to an Eucalyptus EMI? Can we even do that? What are the steps to convert an Amazon instance store AMI to an Eucalyptus EMI?
0
votes
1answer
840 views

SMTP implementation on EC2 using Pear Mail package (PHP)

I am working on sending out SMTP relay email's using Gmail as my server using Pear Mail package in PHP. I have installed Pear package using YUM. Also I have located the path for pear_dir and included ...
0
votes
1answer
75 views

Amazon EC2 EBS - can't locate data?

I'm having troubles understand Elastic Block Storage... Last month I set up my first EC2 instance, I know that I will eventually use EC2 for my production site. I grabbed the Ubuntu official AMI ...