Amazon Web Services (AWS) delivers a set of services that together form a reliable, scalable, and inexpensive computing platform "in the cloud". If you have a question about a specific web service, consider asking on its tag, e.g., amazon-ec2.

learn more… | top users | synonyms (2)

0
votes
1answer
227 views

Is it more stable to run Ubuntu 11.04, Natty Narwhal on EC2?

For example, Instagram said "We run Ubuntu Linux 11.04 (“Natty Narwhal”) on Amazon EC2. We’ve found previous versions of Ubuntu had all sorts of unpredictable freezing episodes on EC2 under high ...
0
votes
2answers
146 views

How can I use a VPN to protect an EC2 instance so that only my devs can access it

I have a dev EC2 instance and I would like to use a VPN (ideally provided by AWS) so that only my web devs could access the website on port 80 Is this What virtual private connect is for?
2
votes
3answers
383 views

CentOS 6.1 AMI for running on EC2?

I don't seem to see any public AMI images created for CentOS 6.1. Is there a reason for that? Is it recommended I spin my own up?
1
vote
1answer
374 views

MySQL update fatal error on AWS Ubuntu server

I was just browsing the system logs on my alestic Ubuntu 10.04 AWS EC2 production server, and found this: daemon.log.1:Dec 9 22:45:42 server1 /etc/mysql/debian-start[865]: /usr/bin/mysqlcheck: Got ...
3
votes
2answers
249 views

MySQL setup for High Connections, High Writes

My box is pegging out. I'm trying to setup a MySQL box running for: 3000 connections (3 workers for 1000 boxes) (box maxes out at 700 connections, already) Heavy Writes Current Setup: AWS ...
0
votes
1answer
611 views

VPN to Amazon EC2 Windows 2008 Instance .. or Other Solution?

I have a Windows 2008 Amazon EC2 instance with a public facing web site and a back office 'Admin' site. Currently the back office site is secured with username / password, but ideally I'd like to add ...
6
votes
3answers
7k views

Forcing CloudFront to pass-through the latest HTML file from S3

Background I'm hosting a static site on S3, with CloudFront over the top. The issue I have is with my HTML files. According to CloudFront's FAQ: Amazon CloudFront uses these cache control ...
0
votes
3answers
3k views

Trying to SCP from Local Mac to Amazon AWS Linux Machine

I am trying to copy a file from my local Mac to my Linux instance running on the Amazon EC2 / AWS Cloud. I am able to connect to the server via Terminal, but am unable to get my file up to the ...
0
votes
1answer
194 views

What AWS volume am I booted from and how do I change it if necessary?

I had an Ubuntu Lucid 10.04 instance running on an m1.small in AWS us-east region. A while back it had some issues (I think it was an AWS problem) anyway we started up a new one, attached our separate ...
1
vote
2answers
1k views

Is it possible to change the availability zone of a running EC2 instance?

Is it possible to change the zone of a running EC2 instance? I currently get "insufficient capacity" error when I try to start an EBS backed micro instance that was running 30 mins ago. I'm trying ...
2
votes
1answer
621 views

PHP's FTP isn't working on Amazon linux EC2 instance?

I set up a m1.large EC2 instance and want to use it to download logs off a cdn's server. I had the code working just fine on my ubuntu laptop but once uploaded to the server the ftp_rawlist() function ...
0
votes
1answer
5k views

Restore a terminated ec2 instance from a snapshot

I accidentally terminated an ec2 instance, but I have several snapshots of its volume. I created a new ec2 instance and I want to have an identical environment (files, installed programs) to the ...
0
votes
1answer
2k views

EC2 - AWS SDK - config.inc.php where?

I've set up an instance running Amazon Linux AMI x86_64 EBS. I installed httpd, and PEAR, then installed the AWS SDK. Now, I'm new to all this server configuration so forgive my naivety. My web ...
0
votes
1answer
107 views

Amazon AWS tutorial - Cannot redirect to service provided destination - try using AWS keys for authentication or check destination URL

I'm following the Amazon AWS tutorial and I have reached Step 6: Launch Amazon EC2 Instances Using Auto Scaling http://docs.amazonwebservices.com/gettingstarted/latest/wah-linux/ But when I run the ...
0
votes
1answer
204 views

Does ‘git push’ create a new SSH session?

I've set up a new EC2 instance with Heroku-like deploy. I followed this article cuppster.com/2011/05/12/diy-node-js-server-on-amazon-ec2/. My problem is... If I push to the server several times, CPU ...
0
votes
2answers
576 views

Amazon AWS mysql RDS Cluster with outside AWS?

I'm now using AWS RDS multi-AZ with great results, the problem is that I want my infrastructure fault tolerant between regions. I'm looking for some kind of tool to make a cluster with RDS and my ...
1
vote
1answer
2k views

Amazon EC2 EBS pricing over a month of dynamically allocated space? [closed]

I see http://aws.amazon.com/ebs/ which says $0.10 per GB allocated per month. However, if I were to create a 30GB EBS image on day 1, delete it after a day and have 0GB for the rest of the month, how ...
1
vote
4answers
4k views

Using ELB Across Multiple Regions

Let say I have the website domain http://myawesomesite.com, and to start I have a ELB setup on the US-EAST Region with 2 instances running my application. As the site becomes more awesome and I ...
0
votes
1answer
105 views

What components should I purchase at AWS? [closed]

This might sound silly question, but it is a real problem which I need help in regards. Unlike "normal" VPS providers I used to such as linode.com and slicehost.com, at AWS they have all those fancy ...
1
vote
1answer
186 views

AWS Security Group for internal network

i'm wondering if i can create a Security Group that limits access of internal network , as i know all ports are open for internal network and i wanna limit it
1
vote
1answer
232 views

Unable to run the cronjob in ubuntu 10.10 server, EC2 instance

I have a AWS EC2 instance with ubuntu 10.10 server. I am trying to add a cron job to the list. But the cron job is not being executed. I am actually uploading a particular file to aws s3 using s3cmd ...
0
votes
2answers
149 views

Apache stops writing logs after moving/deleting them

I have a bunch of ec2 instances running web services; every hour I want to copy the logs back to S3. Which works perfectly well. But, it appears if I move the logs and then touch a new file, or just ...
1
vote
2answers
540 views

CPU Utilization LAMP stack

We've got an ec2 m2.4xlarge running Magento (centos 5.6, httpd 2.2, php 5.2.17 with eaccelerator 0.9.5.3, mysql 5.1.52). Right now we're getting a large traffic spike, and our top looks like this: ...
1
vote
1answer
221 views

Amazon Linux AMI questions

I have a few question regarding the Amazon Linux AMI, I want to run a local copy of it in vmware is possible to download the image once its laucnhed in amazon and put it into vmware fusion 4 ? Is ...
0
votes
1answer
822 views

Cannot import EC2 keypair (Length exceeds maximum) via AWS console from existing keypair

I want to use the same keypair from one availability zone in another but I cannot import it. If I generate a new key I get the same error. See AWS console > Newtwork and Security > Key pairs > Import ...
1
vote
3answers
1k views

Is it possible to merge multiple AWS EC2 instances?

I'm getting a reserved AWS EC2 instance. but i'm worried that if i invest in it upfront and need to upgrade i wouldn't be able to. In fact i would but i won't get my money back for the rest of the ...
1
vote
1answer
837 views

Protected bucket @ S3 - Access Denied

I'm trying to grant RW access to a given bucket to a specific user using the following bucket policy: { "Id": "Policy1322043790167", "Statement": [ { "Sid": "Stmt9999043784080", ...
2
votes
2answers
216 views

Can a CDN (specifically CloudFront) stampede its origin server after a miss?

Similar to how a memcache server can stampede a db after a missed hit. Should I ever expect high traffic from my CDN(s)?
3
votes
2answers
2k views

When to increase AWS RDS MySQL Server instance to larger CPU/RAM?

I'm wondering at what stage do I need to increase the image for the RDS MySQL server to a larger CPU/RAM instance. The CPU utilization graph is near 0. The Avg Free Memory is around 150MB. The Avg ...
1
vote
1answer
961 views

top on memcached server shows 110% cpu (memcached process) and 55% idle on cpu(s)

I tested on AWS ubuntu 10.04 memcached 1.4.2 When testing with memslap (different concurrent users numbers and different instance types (8G and 1.7G memory) Top shows 110% cpu on the memcached ...
2
votes
1answer
659 views

Preload/Prime Amazon Cloud Front CDN before move.

I am changing CDNs and I would like to preload some content to AWS Cloud Front so that my origin server is not hammered during that transition. Any tips?
4
votes
1answer
274 views

Run CLI command on a windows EC2 Instance using c#

i'm programming a system in .net that designed to run an execution file on a remote machine via cli command, in this case, Amazon EC2 windows instance. I've searched the AWS .net SDK and found no ...
13
votes
4answers
5k views

set Google Apps SPF record in Amazon AWS Route 53

I'm using the new AWS GUI for Route 53 to setup my domain records. However, the AWS console won't accept the recommended Google Apps SPF record, v=spf1 include:_spf.google.com ~all (found here). It ...
1
vote
1answer
2k views

AWS Large Instance: /mnt does not show all the space that should be available

I just created a Large (m1.large) 64 bit instance which comes with 850 GB instance storage. Look at the Large Instance http://aws.amazon.com/ec2/instance-types/ A 'df -h' from the root folder gives ...
3
votes
2answers
4k views

IP Range for internal private IP of Amazon ELB

I'm trying to find out the range of IP addresses that an Elastic Load Balancer could have from an EC2 instance which is behind it. This is so I can configure the HttpRealIpModule of nginx correctly. ...
7
votes
4answers
10k views

Nginx set_real_ip_from AWS ELB load balancer address

I have a set of Nginx servers behind an Amazon ELB load balancer. I am using set_real_ip (from the HttpRealIpModule) so that I can access the originating client IP address on these servers (for ...
1
vote
3answers
1k views

Can you change an AWS Elastic Load Balancer health check without causing instances to go out of service?

For a number of reasons I need to change the health check URL of a live site behind an ELB. The ELB is configured for health checks every 30 seconds, with a healthy threshold of 2 and unhealthy ...
0
votes
1answer
171 views

What is the best EC2 instance architecture for a video converting website? [closed]

For a video converter [using FFMPEG on linux [ ubuntu ] ] , and media files grabber [ from youtube and other video hosting websites] .. What is the best architecture to use in EC2? By architecture I ...
1
vote
2answers
629 views

How do I share data on EC2 instances

I have been using one EC2 instance with EBS, php abd MySQL installed. I would like to use a load balance. I was wondering how I can share the data in MySQL database between EC2 instances Thanks in ...
0
votes
1answer
378 views

amazon aws network latency issues

We have just started to move our infrastructure to Amazon's AWS (EU West). Since we started the move we have started seeing some quite substantial spikes in network latency. Our setup is quite simple, ...
2
votes
3answers
955 views

Need advise on choosing aws EC2

I'm planning to host a website where in the first phase I would target 30,000 users. It is in php and runs on Apache server. I'm assuming 8,000 users can be online in worst case scenario and 1000 of ...
0
votes
1answer
536 views

Choosing the right EC2 instance size

I am running a API server on an EC2 C1.medium instance. Our API call takes around 3-5 seconds to finish (runs a python call and uses NLTK calls which are little memory consuming). We have configured ...
2
votes
1answer
583 views

AWS Cloud formation plus auto scaling

I have created a cloud formation script to launch two instances, attach a volume on startup, and setup a load balancer. Now I am looking at setting up auto scaling and I am confused by the launch ...
0
votes
1answer
109 views

Running my own CDN alongside Amazons S3 for nearby visitors

I am running a blog on shared webhosting. The website itself is on the hosting, but my files right now are on Amazons S3 CDN. I have made a bucket lockated in the US, and I have setup a virtual host ...
-3
votes
1answer
111 views

Optimizing requests that requires several request

I have a request that requires my server to establish like 3 external requests before it returns to the user. This makes this request takes like 0.8s to execute per user. What tips should one follow ...
3
votes
2answers
3k views

Amazon AWS Micro Instance Performance - Apache2 and PHP

I have started doing some work for a mate running Apache2 and PHP on Ubuntu and the CPU is topping out. What I am really after is advice around whether using a Micro instance is a good idea for a ...
1
vote
2answers
1k views

Why is my php script not running on boot? Running from command line works fine

I have placed the following information into my crontab file by entering "crontab -e" (in both root and "ubuntu" users, on a 32 bit Canonical Ubuntu AWS instance): @reboot /usr/bin/php ...
2
votes
1answer
581 views

Why Can I Not Use m1.small And m1.medium Instances With By EBS Boot Image On Amazon AWS?

I modified a Canonical ubuntu image on a t1.micro sized instance, saved the EBS boot image, and am now trying to re-start it using a slightly larger instance. The only instances available (for ...
2
votes
3answers
3k views

Amazon AutoScaling and GlusterFS

I have setup Elastic load balancing with 5 EC2 instance registered with the load balancer. To our website users upload their data(images), we store these images in network attached storage (NAS). We ...
1
vote
1answer
1k views

cloudformation bootstrap with puppet and ubuntu server

I've looked over the Puppet Master Cloudformation Template and understand it is using CloudInit baked into the Amazon Linux AMI. However, I'd like to use an existing Ubuntu 11.10 server image and ...