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)

4
votes
1answer
645 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
1answer
1k views

1 EC2 instance per website - manage multiple websites on Amazon cloud using EC2

I'm managing multiple websites, most based on WordPress and all are based on LAMP stack. I'm moving all my websites to Amazon cloud. I'm new to AWS and my plan is moving 1 website by one, starting ...
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
187 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
1answer
4k views

What are the pros and cons of AWS Elastic Beanstalk compared with other deployment strategies?

I'm pretty new to the whole Netflix OSS stack and deployments in general. As a background for my current level of knowledge ops-wise, my main role is as a front-end application engineer. However, I ...
4
votes
1answer
396 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
2answers
1k 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
3answers
6k 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
537 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
1k views

Search ec2 instance by its name from aws command line tool

I have an instance named dev-server-03. Now how can I search all dev-server-* instances from command line? I am using aws cli tool.
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
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
1k views

Which permissions/policies for IAM role to be used with CloudWatch monitoring script

With CloudWatch monitoring script (mon-put-instance-data.pl) it's possible to specify a IAM role name to provide AWS credentials (--aws-iam-role=VALUE). I'm creating a IAM role for this purpose (to ...
4
votes
2answers
4k views

Force HTTPS with AWS Elastic load balancer

I need to redirect all incoming HTTP traffic to HTTPS on my elastic load balancer. I tired using Apache mod_rewrite: RewriteEngine On RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule ...
4
votes
2answers
1k views

AMI with or without reboot on AWS EC2

When creating AMI's from an EC2 instance I always check "no reboot", I've been wondering, what are the pros/cons of creating images with/without a reboot? Does keeping the server live affect the ...
4
votes
2answers
2k views

AWS VPC Multiple IPs

I am trying to associate a secondary internal IP with my Amazon VPC small machine, I am using a Ubuntu based image with AMI ID:ami-6936fb00. Problem is that I am unable to figure out how to configure ...
4
votes
1answer
578 views

Amazon AWS VPC Performance Advantages

We have a simple setup that consists of... 1 EC Instance for HTTP/PHP requests 1 RDS Instance for our Database requests Currently our two servers do not use VPC to communicate. I was wondering if ...
4
votes
2answers
3k 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
2answers
1k views

Should I turn off swap on AWS EC2?

I'm running a webserver and database server on the same AWS EC2 instance. I know it's a bad idea to have swap for web server, so should I just turn it off? Will it affect the database service (I guess ...
4
votes
1answer
313 views

What is the size of an IO Operation (IOP) in AWS EBS?

My research suggests that both the standard and the maximum (kernel limitations) block size for modern file systems (ext4, xfs) is 4KB. However, AWS allows IO operations as large as 256KB and says ...
4
votes
2answers
163 views

Can more than 1 user log onto a single AWS Linux EC2 instance? (Beginner) [closed]

Sorry, I'm a complete newb to AWS. Taking the AWS Essentials course at end of the month. I have a very basic question: can 2 or more different AWS account holders log onto a single AWS Linux EC2 ...
4
votes
1answer
1k views

Will a SSD storage perform like a magnetic for small root volumes in AWS EC2?

I have a t1.micro instance with 8GB of magnetic EBS volume as it's root disk with a LAMP environment on it. I thought that I will upgrade it to t2.micro with 8GB of General Purpose SSD volume. ...
4
votes
1answer
1k views

Load balancing Wordpress on Amazon Web Services: Managing changes

I am relatively new to Amazon Web Services and I am trying to get my head around how Elastic Load Balancing will work in context of my wordpress setup. In addition, I would like some advice on ...
4
votes
1answer
2k views

AWS CloudFormation: VPC default security group

I have a cfn stack that (among other things), creates a VPC, several security groups, and a handful of EC2 instances. It's trivial to assign security groups that are created within the stack to ...
4
votes
2answers
1k views

How to automatically update nginx upstream server list when aws ec2 hostname changes or increases?

I want to setup autoscaling in AWS. I don't want to use Elastic Load Balancer. Autoscalling in Amazon creates EC2 instances seamlessly during demand spikes to maintain performance, and decreases ...
4
votes
2answers
2k views

How to install PHP 5.4 on AWS Opsworks

I'm trying to get php 5.4 running on AWS Opsworks. When I add the "PHP App Server" layer I get the following description "The PHP Application Server layer is a blueprint for instances that function ...
4
votes
1answer
322 views

MongoDB Disaster Prep on AWS

I'm looking for best practice advice covering MongoDB disaster recovery within an AWS hosted environment. Our setup is fairly standard at this point, replica set of 3 servers (1 primary, 1 secondary, ...
4
votes
1answer
71 views

Is it safe to publish an EC2 security group?

Is it safe to publish the security group you're launching machines on? i.e. "my box is on sg-abcdef" Are there any permissions that control who is allowed to join your SG? Worst case, it seems like a ...
4
votes
2answers
1k views

EC2 Auto-Scaling with Spot and On-Demand Instances?

I'm looking to optimize the cost of our auto-scaling EC2 groups by having them launch spot instances instead of on-demand instances. What I really want is to be able to keep some servers in the group ...
4
votes
1answer
2k views

Trouble with installing npm and supervisor package on Amazon Linux AMI

I'm running an Amazon Linux AMI and successfully installed node.js by wget'ing the source, untarring the file, and running ./configure and then sudo make install. When I installed npm: curl ...
4
votes
1answer
3k views

Simplest possible VPN to Amazon EC2 instance

I have setup an EC2 instance (Windows Server 2008) that I will let different developers connect to. Since I want the connection to be secure I am trying to setup a VPN connection to that machine, but ...
4
votes
3answers
378 views

How to Architect a system on AWS for scaling (with a MySQL back-end)

I'm trying to understand how to architect an Amazon Web Services application. As I understand it, the whole point of using something like AWS is to make the eventual scaling easier, so I'm trying to ...
4
votes
1answer
56 views

Create an IAM Policy that allows everything except IAM except PassRole

I'm attempting to modify an IAM Policy so that users can associate an IAM Role with EC2 instances that allows Read Only rights to our S3 buckets. Our teams do quite a bit of R&D with AWS, and so ...
4
votes
2answers
778 views

Communicate within same EC2 Security Group

I have several instances running in the same security group(Say: Group-A) that needs to talk with each other, in particular, port 4369. Each instance has a different Elastic IP. The Security Group ...
4
votes
2answers
1k views

How do a I edit .conf file for a postgres AWS RDS?

I would like to alter pg_hba.conf in my postgres RDS instance so that I can use cert authentication. I have found the Parameters Group manager in the RDS which allows me to alter parameters but it ...
4
votes
1answer
467 views

AWS Route 53 Latency Based service for non AWS Instances

We need to use one of our own dedicated servers in conjunction with the Route 53 service alongside our AWS instances. Is latency based DNS supported for non AWS IP Addresses?
4
votes
3answers
509 views

AWS ELB poor performance

We're using ELB for SSL termination. Our applications run on EC2 instances behind ELB using HTTP. We're monitoring the application response times and performance hit when going through the ELB seems ...
4
votes
1answer
927 views

beanstalk using php-git on windows client

I am trying to install beanstalk for php using git. I am using a Windows Client machine. I am done with the prerequisite installations , credentials setup. I am following the link ...
4
votes
2answers
540 views

EC2 persistence of machine

I notice that EBS-backed AMIs are much like a VMWare instances -- I can stop them and also persist them to disk, and all this is done relatively quickly. However, I believe that S3 backed machines ...
4
votes
1answer
645 views

What is the best JDBC connection URI for AWS RDS instances?

When using an Amazon Web Services RDS instance from a Java application, what is the best JDBC connection string? It should tolerate the instance falling over to the standby. AWS handles flipping the ...
4
votes
1answer
2k views

AWS Amazon EC2 - password-less SSH login for non-root users using PEM keypairs

We've got a couple of clusters running on AWS (HAProxy/Solr, PGPool/PostgreSQL) and we've setup scripts to allow new slave instances to be auto-included into the clusters by updating their IPs to ...
4
votes
1answer
976 views

Is possible to convert EBS-backed ami to s3-backed ami

I have an EBS AMI running Windows Server 2008. Is possible to converter it to a S3 backed ami? In ElasticFox, the "bundle into an S3 ami" option is grayed out. If this is possible, how? If this is ...
4
votes
1answer
928 views

How to increase the timeout of Elastic Beanstalk deployments?

As part of my application deployment, I have some commands in my .ebextensions config files. It might take 20 minutes or more for all the commands to complete, the first time the commands are run ...
4
votes
3answers
655 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
447 views

Shared files folder in Amazon Elastic Beanstalk environment

I'm working on a Drupal application, which is planned to be hosted in Amazon Elastic Beanstalk environment. Basically, Elastic Beanstalk enables the application to scale automatically by starting ...
4
votes
3answers
229 views

In AWS if I have my web server in zone us-east-1a and the database server in zone us-east-1b will that hurt performance?

Web server: us-east-1a DB Server us-east-1b The ping between them is under 2ms so I'm guessing it's fine but I wanted to check.
3
votes
3answers
4k views

Amazon AWS EC2 Instances - Light, Medium and Heavy utilization - what is the technical difference?

I'm trying to understand the (more than) various EC2 options at Amazon AWS. In the documentation, they describe what each utilization type is best suited for, along with what hardware the instance ...
3
votes
1answer
983 views

Amazon Ec2 Elastic IP - Outbound IP?

I am trying to make a kind of proxy using elastic IPs on my Amazon EC2 instance. My question is, say I associate an elastic IP to my Amazon instance, and then I make an outbound connection from my EC2 ...