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

learn more… | top users | synonyms (1)

11
votes
3answers
8k views

Which is the fastest way to copy 400G of files from an ec2 elastic block store volume to s3?

I have to copy 400G of files from an elastic block store volume to an s3 bucket... Those are about 300k files of ~1Mb I've tried s3cmd and s3fuse, both of them are really, really slow.. s3cmd ran for ...
1
vote
1answer
395 views

Run EC2 user-data script as non-root user

I'm able to run a user-data script successfully, but it runs as root. I start up a few long running processes with this script, and would like them to be non-privileged processes. Is there some way to ...
3
votes
1answer
1k views

EC2 Ubuntu 12.04 m1.large ami isn't showing extra drives for full 850GB Instance Storage

long time lurker, I just launched a new m1.large instance on EC2 and I need all the available instance storage on the machine(850GB) for data processing. I understand that generally all of the memory ...
4
votes
2answers
3k views

Can Elastic Load Balancers correctly distribute traffic to different size instances

Just been looking into Elastic Load Balancers. As I understand it they just do round robin, evenly distributing connections to the servers behind them. So what happens if you have different size ...
1
vote
1answer
291 views

Random timeouts between zones in Amazon EC2?

I am having issues with tcp connections between two instances in EC2. I thought at first it was the tools I was using (JRuby on Rails stack + MongoDB) when I saw exceptions such as the following in my ...
6
votes
1answer
1k views

How can I access instance storage on a Windows EC2 instance with an ebs root device?

I have created an AMI, but I would like to use instance storage for some scientific programs I want to run. They basically read a bunch of stuff from disk, write it back out to disk and then ...
2
votes
4answers
3k views

Receive emails on Amazon EC2 Server

I just got started with an EC2 instance and got my mail sending limit removed, allowing me to send emails from my instance. But due to lack of experience, I have no clue on how to enable receiving ...
4
votes
2answers
897 views

Create directory before binding via /etc/fstab

I have this line in my /etc/fstab: /mnt/tmp /tmp none bind,nobootwait On EC2 however, /mnt may be lost during restarts causing the mount to fail due to non existent /mnt/tmp. So is there a ...
1
vote
2answers
154 views

Load balancers and going with dedicated over ec2

One mental block I have is load balancers, and I like how AWS/ec2 handles this for you. BUT, I like dedicated servers for the performance and cost benefits etc. I'd love if someone who is well ...
1
vote
1answer
467 views

Multiple subnets on a single interface in EC2

I'm currently working on setting up a QA environment on EC2 along side our production environment. All of the instances are within a VPC setup, with the following subnets: 10.0.83.0/24 - Production ...
4
votes
3answers
2k views

how to add ebs volume to ec2 instance

I already have a ec2 instance running ubuntu on a micro instance. The hard drive is only 7gb. I am shutting down an old server and migrating it to this one. The old server has 15gb of data I need to ...
0
votes
2answers
2k views

Amazon VPC - Elastic load balancer not forwaring requests to Private Subnet instance

I have setup and Elastic load balancer in VPC. There is a public and private subnet. Currently the web server is in the Private subnet and there is a NAT instance in public subnet, from which the web ...
2
votes
2answers
2k views

Net::SSH::AuthenticationFailed when using Chef's Knife ssh

Facts: I have a Chef server installed. I have registered a node to this server, and I can see the node in the webUI (This is an existing node, NOT bootstrapped using knife bootstrap When I execute ...
0
votes
2answers
606 views

Amazon EC2 estimation

I'm a software/web developer and for the first time I have to set up a cloud system to host one of the websites I have coded. I found very difficult to estimate the costs for an Amazon EC2 cloud ...
1
vote
1answer
1k views

Wordpress website with extremely slow response (only for the first request)

I've a weird issue with my wordpress website ( http://rohitnair.info/) . The "first request" takes ages to respond. Any subsequent responses behave normally. Things I've observed while debugging ...
2
votes
2answers
3k views

How can I setup a VPN for remote users to connect to a AWS RDS server?

I have remote developers that travel and have constantly changing IP addresses. I would like them to be able to connect to a VPN running on a instance on EC2. Once they are connected to the VPN with a ...
0
votes
1answer
648 views

Why does EC2 instance have problems upgrading my Ubuntu server to 12.04?

I just tried upgrading our Ubuntu EC2 server to 12.04 from 11.10, and it halts on several package upgrades, starting with memtest86+. CTRL+C is the only way out, and in the end there is the following ...
3
votes
4answers
2k views

How can I automatically cycle a new image in an AWS Auto Scaling Group?

I have a web application setup with a load balancer and auto scaling group to manage scaling. The source code is in a git repository so I don't have to update the images when the code changes, but ...
0
votes
1answer
839 views

Amazon VPC unable to access internet from private subnet

I have setup an Amazon Public+Private subnet VPC. There are two instances in public subnet: Amazon Nat instance OpenVPN Access Server I am able to setup VPN to the internal private subnet ...
2
votes
2answers
313 views

The instance created from EBS snapshot fails to launch

I was working on the mirroring of an EC2 instance. I followed these steps create an image(AMI) of the instance you would like to mirror Launch an instance out of the image ssh into the new instance ...
1
vote
2answers
652 views

Amazon Elastic Beanstalk - Any file managers?

Are there any file manager UIs I can use with Elastic Beanstalk (upload,view,etc)? Does the AWS Management Console include one? I'm doing PHP and HTML.
5
votes
2answers
2k views

Running MySQL on Amazon EC2 with EBS (Elastic Block Store) and Elastic Beanstalk

I'm new to Elastic Beanstalk, but I created an environment with a container running 64bit Amazon Linux running PHP 5.3. I want to get MySQL set up on EBS, then install phpMyAdmin and import my ...
0
votes
1answer
140 views

The Image created from a snapshot does not launch the instance properly

I was working on the mirroring of the instance. I followed these steps: create an image(AMI) of the instance you would like to mirror Launch an instance out of the image ssh into the new instance ...
1
vote
1answer
497 views

Problems accessing EC2 instance with SSH key pair

Just set up a new EC2 instance, downloaded the pem file and currently cannot get into the box. I'm using the command... $ ssh -i .ssh/key.pem ubuntu@ec2-176-34-183-***.eu-west-1.compute.amazonaws.com ...
1
vote
1answer
142 views

Adobe FMS 4.5 only showing 1 active connection

I am running a live stream using Adobe Flash Media Server 4.5, running on a Amazon Web Services EC2 server. I know that there are at least 5 active connections, but when I log into the FMS server ...
0
votes
1answer
2k views

Mac OS X Server on AWS EC2

I'm thinking of making a dynamic HTTP Live streaming server, and I'm going to need a lot of CPU power that can transcode and segment the files on demand, so naturally I thought of EC2. I've been ...
1
vote
1answer
281 views

sftp uploads to multiple servers

I have multiple EC2 instances that share the same directory and files in /var/www. Now, everytime I need to upload, I need to use an sftp client, it is good maybe if I have only one server but, I ...
2
votes
3answers
3k views

CloudFormation/EC2 - access IP address of EC2 instance in the template?

i'm trying to define a cluster of Cassandra nodes, together with some other instances ( some middleware and app servers ). I'd like to be able to add the ( internal ) IP addresses of the Cassandra ...
1
vote
1answer
919 views

Amazon EC2 Socket connection not being accepted

I am trying to run a java application on my EC2 instance. The application accepts socket connections on port 54321. If I try and connect to it, it times out. My Security Group is set as: TCP Port ...
1
vote
2answers
696 views

Simple control panel for starting/stopping AWS instances

I have an EBS-root server at AWS that the service desk staff use for infrequent tasks, and I only want it to be turned on when they need it. I would like the service desk to be able to go a web page ...
0
votes
1answer
2k views

Amazon EC2 and IRC

I need to be always on IRC and so a few Google searches showed that it was possible with the Amazon EC2 free tier micro instance. Once this free period ends, how much (approx.) should I be expected ...
1
vote
2answers
859 views

consequences of deleted key pair on ec2 instance

What will happen if the keypair associated with an ec2 instance is deleted via the aws management console? Will this block access to the instance forever?
4
votes
2answers
195 views

Mongo database replicas on the same machines as load balanced webservers?

We're testing deployment of a web app on Amazon's EC2 which uses MongoDB for the database. Mongo recommends using at least 3 nodes for replication for data integrity. Although this is testing, we'd ...
2
votes
2answers
2k views

How do I create a EC2 S3 backed instance, starting from a Windows VHD?

I have a Windows VHD image created in Hyper-V, and I want it to exist as a S3-backed instance on EC2. I've found several articles (and a tutorial) on how to import my virtual machine to EC2. However, ...
1
vote
1answer
998 views

MDADM not able to connect to EBS drives on Ubuntu 11.10

I have been using a raid.sh script [1] for over a year now and has never gave me trouble. I recently started moving from Ubuntu 10.04 machines on AWS to Ubuntu 11.10. I updated the raid.sh script from ...
3
votes
1answer
874 views

Can't Start 64-bit AMI on t1.micro instance on AWS

I created a custom AMI based on the Ubuntu 11.10 64-bit AMI from Amazon. When I try to start it up, I get an error: ec2-run-instances -t t1.micro ami-c0b368a9 -k showcase -z us-east-1a ...
2
votes
1answer
201 views

How can I turn an existing Windows Server 2008 EBS-backed instance into a S3-backed (instance-backed) AMI?

I understand there is no direct conversion to get from EBS to S3. But is there some series of steps that can make this happen, or is rebuilding the image from scratch the best option? Is there a way ...
1
vote
0answers
196 views

How to clone a Linux server on EC2

Hi have a linux server on EC2 and I created a snapshot from that server, the the snapshot has been used to create an AMI, then I created an instance from the AMI. I always get a file system error, ...
0
votes
1answer
1k views

Access to apache virtual hosts and document root on EC2

I've set up a new VirtualHost on Apache with this configuration: DocumentRoot "/var/www/html" <VirtualHost *:80> ServerName mydomain.net DocumentRoot /var/www/html/mydomain.net ...
-1
votes
1answer
215 views

Video Uploading on Amazon instances?

I am having real problems trying to wrap my head around my problem. I have decided on the middle and end solution to my problem but I can't seem to work out the the beginning of it. So as a bit of a ...
0
votes
2answers
3k views

EC2 instance always ask me to enter passphrase for the pem during connection

The pem file is generated by AWS console I was able to connect using the EC2 remote web interface, using the same pem file The permission of pem is 600 already Error.. ssh -i ~/test.pem -v ...
2
votes
2answers
2k views

Unable to ping my Ubuntu AWS instance

I'm new to AWS, just setup a ubuntu ec2 and I've made a security group which allows me to ssh in and that's about all for now. What do I have to do to make it so I can also ping my instance?
3
votes
1answer
777 views

Determine availability zone of AWS IP address

I'm currently using Heroku (which uses AWS) and my program needs to communicate with my own EC2 instance. I've made my EC2 instance in the same Region as Herokus', however, in order to reduce costs ...
1
vote
1answer
520 views

Arch Linux with an nginx/django setup refuses to display ANYTHING

I'm on Amazon Ec2, with an Arch Linux server. While I truly am loving it, I'm having the issue of actually getting nginx to display anything. Everytime I try to throw my hostname into the browser, the ...
5
votes
1answer
2k views

simple and reliable centralized logging inside Amazon VPC

I need to set up centralized logging for a set of servers (10-20) in an Amazon VPC. The logging should be as to not lose any log messages in case any single server goes offline - or in the case that ...
3
votes
1answer
1k views

How to install ceph on EC2 Amazon Linux AMI

I want to test Ceph (a distributed network storage and file system) on some EC2 hosts which is derived from Amazon Linux AMI (amzn-ami-2011.09.2.x86_64-ebs). The kernel version is 3.2 and btrfs is ...
4
votes
3answers
599 views

Ubuntu 32 or 64 bit for a Django App on Amazon EC2?

For my Django e-commerce web application that will run on Nginx, gunicorn, postgresql and memcached, what should be my preference while selecting the right Ubuntu server version (32 or 64 bit) for ...
0
votes
1answer
360 views

Amazon ec2 folder missing

To set permissions on the settings file On your Amazon EC2 instance, at a command prompt, use the following command to set permissions: sudo chmod 666 /var/www/html/sites/default/settings.php ...
1
vote
1answer
382 views

Browser does not render phpinfo()

I have a php file at http://lohray.com/info1.php that is just - <?php phpinfo(); ?> The page does not render on my browsers (I have tried chrome and firefox), however, wget fetches all ...
1
vote
1answer
5k views

Amazon EC2 instance missing Network Interface

I am running Linux on a t1.micro instance at Amazon EC2. Once I noticed bruteforce ssh login attemtps from a certain IP, after litle Googling I issued the two following commands (other ip): iptables ...