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)

5
votes
3answers
3k views

Shutting an EC2 instance down locally (on the instance)?

edit: this seems to be a problem specifically with the AMI that I am trying to shut down. Other AMIs politely shut down with the "sudo poweroff" command. The goal is for an EC2 instance to shut ...
5
votes
1answer
2k views

Assign PowerShell script to run at startup using PowerShell on Window Server 2012

I'm trying to write a PowerShell script that will run when a Windows 2012 instance is created on AWS using the configuration tools provided by AWS. My problem is that I want to change the name of ...
5
votes
1answer
364 views

Google c2dm transient 401 errors on some AWS instances

How can we figure out why we're getting occasional 401 errors from the Google c2dm push service on some AWS instances when asking c2dm to deliver a notification? This is a transient problem. All AWS ...
5
votes
2answers
2k views

Webstats for large Amazon S3/Cloudfront logs?

I'm trying to find a way to parse our Amazon S3 access logs to get some webstats. I've been trying to use AWStats 7, but I got to the point of where after day 9 of a given month it can't process any ...
5
votes
2answers
824 views

Amazon Elastic Beanstalk + Git Submodules

I'm using Amazon's Elastic Beanstalk to deploy my app via Git, and I've got submodules within my Git. Of course, when I look at the directories where the data for the submodules should be, nothing is ...
5
votes
1answer
2k views

How to change default user (ubuntu) via CloudInit on AWS

I'm using CloudInit to automate the startup of my instances on AWS. I followed the (scarce) documentation available at ...
5
votes
2answers
3k 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 ...
5
votes
1answer
726 views

Convert EC2 instance to VMware workstation

How can I export one windows instance (with active directory, SQL, SharePoint) from amazon (EC2) to my local environment, and be able run it on a local VMware workstation? I have used the VMware ...
5
votes
2answers
6k views

How do you transfer AWS RDS snap shot to a different AWS account

I have an RDS database that I need to transfer a snapshot of to another AWS account. I understand there are issues being able to do this between availability zones so I'm really unsure if this is ...
5
votes
3answers
872 views

Is it possible to get a list of running processes with a Cloudwatch Alarm?

We have an EC2 instance (Ubuntu) that has a few java-based applications and lately we're getting hit with high CPU utilization spikes that trigger one of our Cloudwatch alarms. By the time we get ...
4
votes
1answer
3k views

Nginx Solution for AWS Amazon ELB Health Checks - return 200 without IF

I have the following code that is working on Nginx to keep the AWS ELB healthcheck happy. map $http_user_agent $ignore { default 0; "ELB-HealthChecker/1.0" 1; } server { location / { if ...
4
votes
2answers
66 views

Should I worry about an Amazon AWS doomsday scenario?

Currently our system runs entirely inside AWS. We do rolling snapshots of our EBS and often practice running restores. What keeps me up at night is having all our eggs in one basket. Here are the ...
4
votes
4answers
280 views

Windows Password Sync without using Active Directory

I have a number of Windows servers running in AWS. As the number of servers grows, managing Windows logins across all the servers has become a headache. I need some sort of password synchronizer ...
4
votes
1answer
1k views

Can't find my AWS shared AMI when trying to share with specific account

I followed the instructions to share my AMI with a specific account here: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sharingamis-explicit.html I made sure the account number is correct, and ...
4
votes
1answer
3k views

How to add directives to php.ini on AWS Elastic Beanstalk?

I'd like to add these PHP settings to my Elastic Beanstalk environment: upload_max_filesize = 64M post_max_size = 64M These options cannot be set with option_settings in .ebextensions: Namespace ...
4
votes
2answers
4k 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 ...
4
votes
3answers
2k views

Load testing sites behind an EC2 load balancer with ApacheBench

When ever I try to load test a site that is load balanced on EC2 I get the following message: ab -n 20 -c 20 http://www.somesite.com/ Benchmarking www.somesite.com (be patient)...Send request ...
4
votes
2answers
2k views

Confused by Amazon EC2 Spot Price and On-demand price, help needed

I am a little confused by Amazon EC2 Spot price and on demand price. For example, an On-demand windows instance's price is $0.07 per hour. If I bid on the "spot requests", Do I put down price lower ...
4
votes
2answers
1k views

Chef: How do I access AWS “opsworks attributes” on an ec2 instance?

I'd like to use a chef-shell session on an aws opsworks ec2 server so I can test some environment and instance specific code I'd like to include in a custom recipe. For example, I'd like to see the ...
4
votes
2answers
4k views

Assign multiple Elastic IPs to EC2 instance

When I try and associate a second Elastic IP to a small EC2 instance, the currently assigned Elastic IP is disassociated. Do I need to use a VPC?
4
votes
1answer
2k views

What is the difference between a plain Amazon ec2 instance and beanstalk?

I am a solo developer and the sites I'm deploying are very small, usually hobby sites and I have a few questions about the Amazon services. Is there a reason for me to use beanstalk or should I just ...
4
votes
2answers
2k views

Amazon ec2 - how to setup?

Everytime I launch a new large ec2 instance, I get 30GB of storage, Did I do something wrong? shouldn't i get 850GB? See instance type http://aws.amazon.com/ec2/instance-types/ Large Instance 7.5 ...
4
votes
2answers
3k views

PHP install on clean Amazon Linux AMI

I'm trying to get a script working to bring up new Amazon Linux EC2 instances with php55 and the Amazon PHP sdk. However, I'm running into a problem that I think is caused by PHP version conflicts. I ...
4
votes
1answer
3k views

can't find the private Ip address for my Amazon-RDS instance

i moved my Master/slave database architecture to Amazon RDS and everything works fine. But i have a slave out of the RDS service which should keep sync with the new Master server, to do so i have to ...
4
votes
2answers
596 views

Load average is greater than the number of EC2 Compute Units

On an EC2 m1.large, with an AVG CPU Utilization graph such as this: how is is possible that the load average is greater than the number of EC2 Compute Units (4) ? cat /proc/loadavg 5.78 5.57 5.44 ...
4
votes
1answer
1k views

How to create an EC2 instance with knife?

I was able to make knife access AWS by following: http://www.agileweboperations.com/amazon-ec2-instances-with-opscode-chef-using-knife Now, I get a knife command almost working: $ knife ec2 server ...
4
votes
2answers
4k views

Setting Up ELB with SSL - What is Backend Authentication?

I started setting up Amazon's Elastic Load Balancing Service for my server pool and I need to setup HTTPS/SSL. I have all my SSL Certificates setup, but then I come to the step for backend ...
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?
4
votes
1answer
403 views

Latency & speed considerations between 2 servers on Amazon EC2

I'm setting up a system that consists of: 2-4 database servers 2-4 webservers (running Node.js) The webservers use the database servers heavily. Aside from connecting to the private IPs of the ...
4
votes
4answers
574 views

Is it possible to audit the Amazon AWS console?

We had a situation recently where an elastic IP address assigned to a production server mysteriously became disassociated from that server. We have had this same thing happen in the past to other ...
4
votes
2answers
4k views

How should I configure my ELB health check when using NameVirtualHosts and redirecting to www?

My ELB keeps taking my instances out of service, because the HTTP health check is failing. We have a DNS wildcard, and redirect everything to www: vhost.conf: ServerName www.example.com ServerAlias ...
4
votes
2answers
2k views

What happens when you reboot an instance store based Amazon EC2 instance?

I have an EC2 instance, with instance store root device (i.e., not EBS), running Linux (Ubuntu). What happens if I restart the instance like so: sudo reboot Will the instance storage still be ...
4
votes
1answer
659 views

why does and EBS volumes mounted in an Ubuntu 12.04 EC2 instance as /dev/sdh1 appear as /dev/xvdh1?

When mounting an EBS volume on ubuntu specified as /dev/sdh1 it actually mounts it at /dev/xvdh1. The aws console still thinks it's mounted at /dev/sdh1 so it took a while to realize that it was ...
4
votes
2answers
2k views

Instance's deployment / post configuration for AWS Elastic Beanstalk

I am using AWS Elastic Beanstalk, it is easy to start with deploying Java based web app, which is great. However, I want to install Memcached on every instance locally so they can be used for ...
4
votes
1answer
1k views

How to programmatically migrate an EC2 EBS AMI to other regions?

Before EBS based AMIs were available, it was possible to use the command ec2-migrate-image in order to migrate AMIs to different regions. Is there a simple way to do the same for EBS based AMIs? ...
4
votes
2answers
6k views

How do I access my public DNS on Amazon's EC2

I'm working with Amazon's EC2 for the first time. I went through all of the steps at http://docs.amazonwebservices.com/AWSEC2/latest/GettingStartedGuide/ and now I'm trying to access the public DNS ...
4
votes
2answers
191 views

Does Cloud Computing COST a premium? (or is it competitive with shared/managed/co-location)

Since cloud solutions (Google AppEngine, Amazon, etc.) do more for you, at the end of the day do they cost significantly more than doing it "yourself" with co-location hosting, etc. Not just ...
4
votes
2answers
43 views

ec2 instance showing garbled name root ebs duplicate

I'm following the introduction instructions here: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EC2_GetStarted.html When I add an EBS volume, I see something garbled when checking on the EC2 ...
4
votes
3answers
563 views

Can't SSH into Amazon EC2

This is my first Amazon EC2 instance but I'm having a hard time and google can't help me out. These are the steps I have taken: Generate a keypair called aws Download aws.pem and put in my ...
4
votes
3answers
7k views

Amazon VPC and using OpenVPN

I'm not interested in having all of my EC2 instances having a public IP on their network interface. I want to have full access over what boxes can speak directly to the Internet and which can be ...
4
votes
1answer
569 views

Is it possible to obtain a copy of Amazon Linux for use outside AWS

How difficult (if at all possible) would it be run a copy of Amazon Linux on a private physical server or hypervisor (Virtualbox/KVM) ? (I am thinking something based in a office/home) I realise it ...
4
votes
3answers
1k views

Remote orderly shutdown of EC2 instance?

I'm writing a script which shuts down EC2 instances remotely using ec2-terminate-instances. I would like to perform orderly shutdowns (similar to the ones triggered by Linux 'shutdown' command) ...
4
votes
1answer
633 views

Traffic in a AWS virtual private cloud

On Amazon AWS, should I encrypt sensitive traffic between instances in a virtual private cloud? More specifically, is the traffic between the instances in such a VPC private as in a virtual network, ...
4
votes
2answers
3k views

I'm trying to use “aws s3 sync” on my EC2 instance. Is the '--exclude' option broken?

I'm trying to backup my EC2 instance to S3 using Amazon's official tools that come preinstalled on the EC2 instance. I'm having difficulty getting the sync command to exclude directories from the ...
4
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 ...
4
votes
1answer
2k views

Estimate IOPS for an Amazon EBS volume using Windows PerfMon

I'm evaluating moving our aging infrastructure to Amazon's AWS and am trying to estimate costs. I know our current disk space requirements, bandwidth, and most of the other variables that will affect ...
4
votes
1answer
362 views

AWS CloudFormation returning “Invalid request” when trying to create a AWS::Route53::RecordSet

I'm at a loss on this one. 99% of the time CloudFormation is pretty good at giving you some kind of debug message you can work with, but "Invalid request" has left me stumped, especially when the ...
4
votes
2answers
1k views

Migrating an Active Directory domain controller to AWS

I am required to migrate a Active Directory server into AWS with a couple other servers (SQL and IIS) to create a dev and test environment for our network / development. My plan at this time is to ...
4
votes
1answer
4k views

What is the rdsadmin user and should I care?

I've inherited control of an AWS MySQL RDS instance. I'm curious to know what the 'rdsadmin' user is and whether I should know the password for this or whether this is purely for use by the Amazon Web ...
4
votes
1answer
570 views

How do I access and use an AWS RDS reserved instance?

I've set up several AWS RDS on-demand instances. Each time, the process was the same, and it included selecting instance type, capacity, storage, etc. When I'm done, and click on the instance icon, I ...