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

learn more… | top users | synonyms (1)

3
votes
2answers
2k views

FFMPEG Install on EC2 - Amazon Linux

Hello Serverfault friends, I am about two days into attempting to install FFMPEG with dependencies on an AWS EC2 instance running the Amazon Linux AMI. I've installed FFMPEG on Ubuntu and Fedora ...
11
votes
2answers
4k views

Converting an EC2 AMI to vmdk image

I've come quite close to getting Amazon Linux to boot inside VirtualBox, thanks to this answer and these websites. A quick overview of the steps I've taken: Launch EC2 instance with Amazon Linux ...
3
votes
2answers
459 views

SSH: Configure ssh_config to use specific key file for a specific server fingerprint

I have a key based login for a server. The IP and DNS of the server can change, because it is hosted on Amazon. Is there a way to configure the ssh client config to use the specific key file for ...
2
votes
1answer
87 views

Will creating a custom dns record during signup cause potential issues?

If you have a hosted application, that when customers signup, they choose a subdomain like: customer1234.example.com When they do this, I want to create a custom dns record that will map to a ...
3
votes
3answers
840 views

I/O intensive MySql server on Amazon AWS

We recently moved from a traditional Data Center to cloud computing on AWS. We are developing a product in partnership with another company, and we need to create a database server for the product ...
2
votes
1answer
2k views

Can i change the default AWS EC2 Public DNS?

I'm using Route 53 and created A record to the Elastic IP that associated with an instance. In Security Group, i activated the "All ICMP" and make it accessible from anywhere (0.0.0.0/0) so i can ...
1
vote
2answers
5k views

How to figure out how much RAM each prefork thread requires for maximum Wordpress performance on an EC2 small instance

Just read Making WordPress Stable on EC2-Micro In the "Tuning Apache" section, I can't quite figure out how he comes up with his numbers for his prefork config. He explains how to get the numbers ...
4
votes
1answer
1k views

Apache doesn't immediately notice a change in the document root

We use capistrano for website deployments and our Apache document root is a symlink to a particular code release. The deployment procedure switches the symlink from the old release to the new release ...
2
votes
1answer
2k views

EC2 hosted asp.net not stable

I moved our web hosting to Amazon EC2. At first everything was working well. In the last few days I have been getting this error: The requested name is valid, but no data of the requested type was ...
-6
votes
1answer
153 views

how to Moniter cpu status using chef? [closed]

i try with java and ruby for moniter EC2 instance with aws sdk but not able to find any example how to moniter ec2 instacne with chef. can any one help to find example to moniter ec2 instance so we ...
0
votes
1answer
280 views

Using git on amazon ec2

Hi i have been exploring around ec2. What i have come across is elastic beanstalk allows users to maintain their applications without much overhead of the scalability. But there are some limitations ...
5
votes
3answers
668 views

NIC disabled in AWS instance

Nothing makes you feel dumber than disabling a NIC while in RDP, but here I am :) I have mounted the volume on another instance and tried editing the registry. I have tried enabling auto logon and ...
0
votes
1answer
257 views

Difference in performance: local machine VS amazon medium instance

I see a drastic difference in performance matrix when i run it with apache benchmark (ab) in my local machine VS production hosted in amazon medium instance. Same concurrent requests (5) and same ...
0
votes
2answers
356 views

Mounting Gluster Volumes [closed]

I have created Hosted Zone with 2 IP addresses of Gluster Cluster, both IP are returned by dig. After mounting Gluster, I cannot ls mount point as it takes long time. mount shows me it's mounted, but ...
0
votes
3answers
247 views

Cannot properly read files on the local server

I'm running a RedHat 6.2 Amazon EC2 instance using stock Apache and IUS PHP53u+MySQL (+mbstring, +mysqli, +mcrypt), and phpMyAdmin from git. All configuration is near-vanilla, assuming the described ...
0
votes
2answers
154 views

Unable to mount Amazon Public Dataset using ec2-create-volume

I am trying to use a Public Dataset with the snapshot id of snap-­e1608d88. I am looking at these instructions, but they do not seem to help. The first suggestion there says I should click on ...
0
votes
1answer
208 views

aws server root instead of ubuntu

I have aws server and when I login it logs me in as ubuntu user. Is there a way to enter as a root user. If so, how? I am using the pem file. Also if there is a way, then whats root password
1
vote
2answers
519 views

EC2 out of space on root disk, moving it to ephemeral

I am spawning a few test servers on ec2 that happen to be m1.larges. I am using these test servers for load balancin testing. Anyways, most of the servers I have used before have been backed by EBS, ...
0
votes
2answers
3k views

m1.medium has only 1 CPU

I created an AMI for my micro instance where I was running my application and launched a m1.medium with that image. This is a windows 2008 server class machine. I see that the instance has 3.7 GB of ...
2
votes
0answers
551 views

Connectivity issues with dual NIC machine in EC2

I'm trying to get some servers set up in EC2 in a Virtual Private Cloud. To do this, I have two subnets: 10.0.42.0/24 - Public subnet 10.0.83.0/24 - Private subnet To bridge these two, I have a ...
1
vote
1answer
666 views

ec2-consistent-snapshot cannot validate provided access credentials

I'm trying to use Eric Hammond's ec2-consistent-snapshot utility on a dedicated mysql server. I've created an IAM user and attached a power user permission policy (using the AWS console). On a 32bit ...
0
votes
1answer
474 views

data sync on aws ec2 instances

Hi i am trying to sync the data from one main ec2 instances to all the running ec2 instances. Something like a button click can also do the operation. I am able to get the list of running ec2 ...
2
votes
2answers
756 views

Hibernating Ubuntu on EC2 instance?

I've got an application I'd like to move to EC2. It will likely spend more than half the day completely dormant, so I'm trying to come up with a good solution for starting and stopping it as needed. ...
2
votes
1answer
532 views

Max number of viewers for different types of Flash Media Server instances

I'm looking on Adobe Flash Media Server webiste, under Instance Types For each type of instance, it lists the "Simultaneous connections". If the instance I want lists "1000 RTMFP", does that mean ...
2
votes
1answer
413 views

Need an interface for an Elastic IP (DRBD & EC2)

We are trying to mirror a volumes over a geographical zone using DRBD (and Ubuntu 11.10). We are using elastic IP's - however there is no local interface for Elastic IP's - only an interface for a ...
0
votes
1answer
3k views

get a list of running ec2 instances programmatically

Hi i have started with aws and found out that we can get a list of running servers with the aws php sdk. Is there any other way to get the list of all ec2 instances? after getting the list i want to ...
5
votes
1answer
333 views

Mysterious swap usage on EC2

We're in the middle of a project to move our infrastructure from a co-lo situation into Amazon EC2 and we've noticed some weird memory characteristics of the processes in our setup. Without going into ...
3
votes
3answers
285 views

Managing rolling deployments with amazon EC2

Recently I've been experimenting with various cloud management tools like RightScale, Scalr, custom scripts for managing a variety of servers, each hosting several roles (app, db, load balancer, job ...
4
votes
1answer
345 views

Combining Heroku with custom external services (e. g. Varnish or Postgres on EC2)

I'm planning to set up a Django site on Heroku. It will run on Heroku's Cedar stack, which allows Python apps, but doesn't include or support HTTP upstream caching with Varnish like the other stacks ...
-1
votes
3answers
1k views

EC2 Unable to install httpd

Trying to setup wordpress in EC2. found several tutorials in web and tried. their are few steps to setup apache, php, mysql. one thing is install httpd following command yum install httpd But I am ...
0
votes
2answers
179 views

webserver upload directory 777, security

i have a upload function on my cms using POST (php). everything works fine but the directory needs a 777 setting otherwise i get errors. i would like to bring this down to like a 644. how could i do ...
0
votes
1answer
358 views

Recently registered .st domain name, why is my domain not redirecting to my webserver?

I am having quite a bit of trouble getting my domain name (which is .st) to redirect to my web server on Amazon EC2. I have added an A record in my DNS advanced settings through the web console of my ...
12
votes
2answers
8k views

EC2 Windows password recover

I can't get the password from the AWS console tools. I can reach the box via rdesktop.Can I reset the password remotely? If so, how to go about doing this? the machine is Windows server 2008 R2 ...
2
votes
1answer
503 views

I/O and CPU differences between dedicated hosting and Amazon EC2

I'm looking to run a high population Minecraft server (150+ players online at a time). For those unfamiliar with the Minecraft server, it is a (non-multithreaded) application written in Java (some ...
0
votes
1answer
776 views

multi-user rvm gem install failure when called from CloudFormation::Init

I've taken an Amazon Linux AMI (based on CentOS) and installed RVM (1.10.3) to it in multi-user fashion (see {1} below). I used that to install ruby 1.9.3-p125, rubygems 1.8.17, and bundler 1.1 as ...
1
vote
3answers
571 views

android.apis.google.com DNS issue at EC2

We have a really strange issue with DNS on our EC2 instances. An application we're running on some of our instances is Java-based service that provides a back-end for an Android application. As part ...
0
votes
1answer
150 views

Improving web hosting for high traffic website

Our website is current running on a intel Xeon 2.3GHz that is about 5 or 6 years old with 8GB. The website is current getting around 2,000 visitor per day. Running on windows 2008 R2 Web edition. The ...
2
votes
2answers
214 views

Amazon CloudFrount on EC2

I know that i can mount s3 buckets with s3fs on EC2 instance. So i have next question can i somehow mount Amazon Cloud Front (my S3 buckets files) in EC2 instance?
1
vote
1answer
720 views

Is it possible to Install Windows 8 Server(Beta) on a existing EC2 AMI?

I want to try out this OS,so I am trying to understand how to do this. Should I do inplace upgrade of a 2008 AMI and burn as a custom AMI? or Create a Virtual Image on Laptop and upload a AMI ...
7
votes
2answers
10k views

Run a bash script after EC2 instance boots

I have a script on an EC2 instance that remotely starts another instance. Once this instance has fully loaded (finished booting) I want it to automatically run a bash script, what would be the best ...
4
votes
1answer
5k views

Amazon ec2 Public DNS not working

With reference to this question: How do I access my public DNS on Amazon's EC2 If I configure my security groups acccording to Windows web platform firewall rules then is there an issue? Because ...
3
votes
1answer
2k views

Amazon EC2: how to find out detailed CPU usage?

I am running several EC2 instances, and I want to know the exact work my CPU is doing. On "normal" machines I am doing this with munin and its CPU plugin which looks at the statistics provided by ...
2
votes
1answer
684 views

SSH How to ignore checking IdentityFile?

I have setup a config file located at "~/.ssh/config" which contains some IdentityFile lines to point to the key files that I use for some of my servers. e.g. IdentityFile ~/Data/Keys/KeyFile.pem ...
1
vote
0answers
496 views

Trying to get heartbeat to work on ec2 on ubuntu 64

I am trying to get heartbeat to work on ec2. I followed the steps in this blog post. SERVER1 autojoin none ucast eth0 175.41.181.175 warntime 5 deadtime 15 initdead 60 keepalive 2 crm respawn node ...
1
vote
0answers
1k views

EC2 Windows: Certificate for local system with Thumbprint … is about to expire or already expired

I regularly see this error in the Windows Error Log on one of my EC2 instances: Certificate for local system with Thumbprint aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa is about to ...
0
votes
1answer
178 views

Lsyncd installing issue on 64bit

During the installation of Lsyncd 2.0.6 ./configure && make && make install process I am receiving a not found error. gcc: /usr/lib/liblua.a: No such file or directory make[1]: *** ...
1
vote
3answers
362 views

AWS Elastic load balancer doesn't decrease instances from Alarm Trigger

I have a load balancer that I created an auto-scaling-group and launch-config for. I created the auto-scaling-group with a min-size of 1 and max size of 20. I have a scaledown policy: ...
3
votes
2answers
2k views

How to migrate an EC2+EBS standard instance to spot instance?

I've been playing with EC2 spot instances, with the ultimate aim of migrating a standard instance hosting a website to a spot instance (yes, I'm well aware this really isn't what spot instances are ...
5
votes
1answer
956 views

Possible to limit an EC2 key to just ec2-associate-address?

I have a regular EC2 instance with an elastic IP. The few times the instance has been stopped, I've just manually re-associated the IP with it via the AWS Management console. I'm now thinking about ...
3
votes
2answers
2k views

increasing size of /tmp on EC2 instances

I am running an Ubuntu server on EC2 ebs, and my application needs a lot of temporary disk space, allocated in /tmp. However, on ec2 the root drive which also contains /tmp is pretty small, around ...