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
3answers
805 views

Use IAM to Allow User to Edit AWS / EC2 Security Groups?

I am trying to grant an IAM group the ability to edit our EC2 Security Groups, but I have been unable to get this working without granting access to everything in EC2. I have tried several versions ...
4
votes
1answer
3k 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
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
918 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
540 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
1answer
217 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
138 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
2answers
1k views

EC2 Update my existing AMI

I'm using Elastic Load Balancing to load balance my Auto Scaling Group, for that I have a private AMI that hold my application server (Tomcat) and my web app deployed to it as war ... Now everything ...
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
275 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
1answer
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
377 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
235 views

Elastic Beanstalk CLI - “a float is required”

I'm trying to use the AWS Elastic Beanstalk Command Line Interface v2.5.1 on OSX to deploy a node.js application. The beanstalk application exists, with no environments. From my application ...
4
votes
2answers
922 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
951 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
1answer
410 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
461 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
884 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
539 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
590 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
1k 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
960 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
1k views

AWS t1 to t2 migration: Client.InstanceInitiatedShutdown on new t2 instance

I've had a Linux t1.micro running a small Apache/PHP/Postgresql website for a couple of years now (referred herein as "original instance"). Works like a charm. I wanted to migrate the site to the ...
4
votes
1answer
837 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
568 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
0answers
407 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
227 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
4answers
3k views

Crontab to restart service

I am running a web server on an AWS EC2 micro instance. The instance has ~630MB of RAM. With time, I have several httpd processes and very little free RAM. When I restart the httpd service, I end up ...
3
votes
2answers
46 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 ...
3
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 ...
3
votes
3answers
4k views

How do I change the key-pair of an AWS instance if I lost my PEM file?

I lost the pem file and deleted the key-pair under which an instance in currently running. I want to still use that server though. I created a new key pair but I don't know how to assign it to that ...
3
votes
2answers
3k views

First attempt to migrate EC2 MySQL to Amazon RDS no going well - SUPER privileges

I've been trying to move an existing db from MySQL running on EC2 to a new Amazon RDS instance (an experiment to see if we can move across). So far, it's not going well. I'm stuck at the initial ...
3
votes
3answers
641 views

How is a private data center more secure than a public cloud?

I have customers in the financial services industry that insist that a SaaS hosted on public clouds like Amazon's are not as secure as colocation in a private data center. However, I can't find ...
3
votes
1answer
483 views

cannot connect to mysql on AWS through ssh tunnel

I'm trying to break down the task of doing AWS debugging on rubymine into smaller chunks. I would like to connect to the mysql server running on AWS. So I did the following: first: Establish an ssh ...
3
votes
2answers
1k views

How to configure the login message in Ubuntu?

Each time I SSH into my AWS Ubuntu servers I see a system information message, showing load, memory usage and packages available to install, like this: Welcome to Ubuntu 12.04.3 LTS (GNU/Linux ...
3
votes
1answer
825 views

Does AWS resolve same-datacenter hostnames to 10.* addresses for different customer accounts?

If I bring up two Amazon EC2 instances and run nslookup on one for the other's hostname, amazon will return a 10.* address. This is routable within amazon, and works just fine. But does this work ...
3
votes
2answers
370 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 ...
3
votes
2answers
3k views

What does the ELB do to determine the health of an instance?

What specificaly is involved in an Elastic Load Balancer health check on an instance? I know that it performas an HTTP(S) "ping"; does it just deem an instance "Unhealthy" if that HTTP request ...
3
votes
2answers
117 views

Does Amazon CloudFront charge for storage? [closed]

I've been reviewing the features and prices of Amazon S3 and Amazon CloudFront as well as similar services offered by other providers. One thing I can't understand is why Amazon CloudFront pricing ...
3
votes
2answers
5k views

opening port 80 on Ubuntu AWS

I'm running a tomcat server on an ubuntu machine hosted in an AWS instance. I can reach the server via public_ip:8080 but when i change the listening port on server.xml from 8080 to 80 connection is ...
3
votes
1answer
795 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 ...
3
votes
3answers
259 views

DNS: CNAME as www record

I'm considering changing the DNS www records of a domain name from an A record to a CNAME. Various questions and answers on serverfault are not as clear cut as I'd hoped. Also, many DNS checking tools ...
3
votes
1answer
758 views

CNAMEs in Route 53 using @

I'm trying out Amazon's Route 53 and have moved one of my domains over. The only issue I've encountered is that none of my CNAME records are resolving. In GoDaddy's DNS manager I was able to use @ to ...
3
votes
4answers
306 views

Automating signup and instance creation on Amazon EC2

Background : I have built an app that runs well on an EC2 micro instance. I want my friends to use this app too, but they aren't quite good with computers. Question : How do I make it easy for ...