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)

1
vote
1answer
336 views

Distributing Erlang binaries to new EC2 instances

I am using tools such as Chef and Puppet in order to bootstrap new EC2 instances. In order to autoscale, I try to keep the install times as fast as possible. For something such as Ruby, I compiled it ...
1
vote
2answers
877 views

How to get a custom Amazon s3 url?

Right now when I upload a file to my Amazon s3 buckert the url to the file looks like this: https://s3.amazonaws.com/<MY BUCKET NAME>/filename.extension I would like to use something like ...
3
votes
2answers
438 views

Managing Many External Hosts Using EC2 and Route 53

Looking for a "best practice" answer to managing externally-addressable hosts using the combination of Amazon EC2 and Amazon Route 53, without using Elastic IPs for each host. In my scenario I will ...
1
vote
1answer
200 views

Create an AWS AMI for Ubuntu with GUI which automatically launches web browser

I've got an ubuntu AMI setup with ubuntu desktop installed and Chrome installed and set to boot on load (via the startup programmes menu within the ubuntu desktop) I've created an image of this AMI, ...
-4
votes
1answer
888 views

Autostart apache and mySQL Server on AWS [closed]

I've set up apache, mysql and php on my AWS EC2 instance, but how could it be done that these services are starting when the EC2 is starting? I've found the chkconfig -a mysql command but this just ...
2
votes
2answers
694 views

ec2 spot instance for daily processing task

I don't have much experience as a sysadmin or with amazon aws, so I hope someone can explain in simple terms or refer me to a good guide on how to achieve the below. I have a system running on ec2 ...
2
votes
1answer
2k views

Why is “Bundle Instance” disabled for EC2 instance running Ubuntu 12.04?

I have an instance store (not EBS) based EC2 instance, launched from an official Ubuntu 12.04 AMI (specifically ami-25e8d351: eu-west-1, 32-bit, instance root store). It is up and running, and I've ...
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 ...
0
votes
1answer
247 views

EC2 Configuration

I am trying to create a server structure for my EC2 account. The design I have chosen consists of 2 instances running in different availability zones, elastic load balancer, an auto-scaling group with ...
4
votes
1answer
668 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 ...
1
vote
0answers
217 views

Autoscaling policy brings up the wrong number of instances.

I configured an autoscaling policy to bring up 8 instances, but it won't bring up more than 2. Here's a description of the policy from AWS: bash# /opt/aws/apitools/as/bin/as-describe-policies ...
0
votes
2answers
408 views

AWS own email domain and some generic questions

I'm getting started with Amazon Web Services and I have a few question I'm not sure about. As every (company) webpage I want to use an "office@companyname.com" email adress, but how is that done? I ...
1
vote
1answer
293 views

Which is the best approach to assign IP to amazon ec2 instances?

I'am using Amazon SDK for PHP to create instances but I need to assign IP for each instance. In the case I create around 30 instances per week, which would be the best approach to assign IPs to them? ...
1
vote
1answer
1k views

Why do you need to specify the kernel ID when launching and instance from an AMI?

To my understanding the AMI contains all the files of the system, including compiled kernel. When you create an AMI from a snapshot you can specify the kernel ID (ex aki-*). Why then do you need to ...
-2
votes
2answers
2k views

Can't start SSH on Ubuntu 12.04 AWS EC2

So i've just started playing around with Ubuntu on Amazon EC2. I've just issued the following command to restart ssh but it has now "killed" ssh. sudo /etc/init.d/ssh restart I can't seem to ssh ...
1
vote
2answers
3k views

AWS - Status check fails when loading AMI created from snapshot

I have a running micro instance using an 8GB EBS that I've customized. To my understand there are two ways I can create an AMI from this. 1) EC2 console -> INSTANCES - Instances -> Right Click ...
6
votes
2answers
1k views

What are common strategies for configuration management on EC2?

Without using a 3rd party cloud configuration service, what are common patterns/strategies or whitepapers written on the subject of configuration management with EC2? Specifically on how to configure ...
2
votes
1answer
68 views

What are some common tagging strategies for EC2 in multi-team environments?

Given a company with multiple teams using EC2, what are some common or practical strategies for setting some TAG guidelines when instances or ami's are created so that resources can be more easily ...
1
vote
2answers
2k views

s3fs changing s3 permissions?

My developer believes that s3fs is changing my bucket's permissions. Is this possible? I want my bucket to be public, but it keeps reverting back to private. Here's my fstab. s3fs#production ...
-1
votes
1answer
1k views

Install GoDaddy SSL to AWS EC2 Instance Linux Server

I have got the ssl certificate(.crt) from the GoDaddy. What are the steps to follow to install the SSL certificate to AWS EC2 Linux(Apache 2.2.22) Server?
3
votes
1answer
262 views

AWS - bigger EC2 instance or DB split

I am running a website of off a small EC2 instance. The memory on the instance is maxed out, mostly due to SQL server process. I am thinking about either upgrading to a medium instance or staying with ...
1
vote
1answer
546 views

How can I determine what caused a sudden increase of traffic to my AWS servers?

I recently set up a cloud system on Amazon AWS for a big website. I usually use Elastic Beanstalk to deploy the application (written in Java Spring) and it's currently running on 4 micro instances. ...
16
votes
1answer
68k views

How to add user with SFTP/ FTP access to '/var/www/html/website_abc' folder on Amazon EC2 Centos?

Possible Duplicate: Linux directory permissions I'm working with some third-party developers and I would like to grant SFTP (or FTP) access to the root folder for a website they're working ...
0
votes
1answer
616 views

Create image (EBS AMI) takes forever - possibly caused MySQL Server to break?

I'm trying to create an EBS AMI from my running EC2 instance to reuse my LAMP fully configured (for my needs). I got my website up and running yesterday on this EC2 instance my MySQL was working fine ...
0
votes
1answer
299 views

redHat distro need MySQL module for php5

I am on AWS using RDS for my dataBase. Even though I dont need mySql on my EC2 instance I cant seem to connect to RDS without a MySql module I have tried this sudo yum install php5-mysql but it ...
5
votes
1answer
383 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 ...
1
vote
2answers
256 views

Creating new .pem key for ssh

The computer I am using was re-imaged and I do not have a copy of my pem file to access the server. I generated a new pem. What do I need to do to be able to log in to me ec2 server now?
3
votes
2answers
2k views

Amazon SES vs EC2 Smtp server

We have an existing smtp environment setup in an EC2 instance which is used to send Transactional emails like password reset. Now we have a requirement to send System emails to a large user base in ...
3
votes
1answer
2k views

Amazon EC2 - How to run IIS on AWS configured Windows instances other than IIS/SQL Server Express AMI

Am I missing something here? Amazons EC2 looks good and I'm trying to find a suitable AMI for a new Windows server I'm setting up. I don't really want to use a community shared AMI from what I've ...
6
votes
1answer
2k 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
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 ...
1
vote
2answers
229 views

How to list s3fs mounts?

How can I list the s3fs mounts that exist on an ubuntu system? I'd like to know to which bucket each mount is mapped. Specifically, I have a specific mount (e.g. ~/s3/mymount), and would like to know ...
0
votes
1answer
281 views

Amazon route 53 first time

I'm wondering if I set up my Amazon Route 53 records correctly to run on my Amazon EC2 instance which has an elastic IP, django webapp running on nginx and gunicorn: It is my first time so I would ...
0
votes
1answer
273 views

Why does deploying an application to Amazon beanstalk create a new security group and a new EC2 instance?

I'm testing nerddinner on aws Amazon ec2. I have created security group (mygroup) and an Amazon ec2 instance (with security group mygroup) I have followed the steps in this video: ...
1
vote
1answer
166 views

AWS No ephemeral device on t1.micro ubuntu

I am launching a t1.micro instance using this command ec2-run-instances ami-a29943cb -t t1.micro -z us-east-1c -k prod --block-device-mapping=sdb=ephemeral0 --block-device-mapping=sdc=ephemeral1 -K ...
0
votes
1answer
256 views

Xen domU CPU Burst limits

We have a set Xen domUs for production and we have been providing different QOS for different clients and needs. We are able to limit the number of VCPUs and the network traffic. Now, we would like ...
0
votes
1answer
106 views

Amazon Micro-instance for placeholder sites

I have a little experience with Amazon EC2 and setting up a free micro instance and I started thinking about other sites I own on traditional web hosting, where you pay X/month, don't really market ...
3
votes
4answers
5k views

Amazon EC2 Public DNS is useless?

Seems the Public DNS, e.g. ec2-x-x-x-x.compute-1.amazonaws.com will be changed when you stop or terminated the instance. So this mean they have the same life span as the ec2 public IP address, so why ...
3
votes
3answers
1k views

Amazon EC2 Elastic Load Balancing - strategy for zero downtime server restart

I have 5 web servers (Apache/mod_perl) behind Amazon EC2 Elastic Load Balancing, when I deploy codes to the web servers, I am doing this.. For each machine, shutdown the Apache Update the code Start ...
2
votes
2answers
3k views

scp to AWS EC2 - error - “Please login as the user ”ubuntu“ rather than the user ”root“.”

I'm trying to scp a file to /var/www because I'm playing with apache. To move the file I do scp -i <ec2-shh-key> localfile root@<ec2-instance-ip>:/var/www/fileremote. But this gives me an ...
3
votes
2answers
2k views

How do I view Security Group rules for an AWS EC2 Security Group using the command-line tools?

I know that you can set Security Group rules with ec2-authorize and ec2-revoke. How do you view the rules of a given security group?
2
votes
1answer
139 views

Deauthorize Amazon EC2 Security Group rule from command line with API tools

I know that ec2-authorize {security group} -p {port #} ... will authorize a new rule; my question is, how can I deauthorize a rule from commandline? I tried ec2-deauthorize ... with no success :-)
2
votes
2answers
532 views

Ubuntu 12.04 Precise ephemeral device not available to the instance when generating customized AMI

I'm actually creating a customized script based off of Alestic.com's alestic-git project to create my own custom ami image for Ubuntu Precise 12.04 for an EBS backed AMI instance. The interesting ...
-1
votes
2answers
179 views

Is there a way to find out the list of users who logged into an EC2 instance [closed]

Is there a way to find out the list of users who logged into a Linux EC2 instance (e.g IP, time ..) for audit purposes.
0
votes
1answer
816 views

Amazon S3 - Automated Backup Using S3Sync, Windows Schedule & BAT file

I am trying to build an automated background backup program to backup my entire website and its heavy photo folders, using Amazon's cloud storage service, S3. I am using S3Sync from S3Tools and have ...
3
votes
1answer
1k views

Approach to auto-scaling with Amazon AWS

I want to know about the possible options for auto-scaling my web app architecture. What I have in architect is web-app (Tomcat), middleware (RabbitMQ), database(MongoDB), worker(standalone Java app). ...
1
vote
1answer
622 views

Configure HTTP proxy on Amazon EC2

I configured an HTTP proxy server on my EC2 instance using Apache's mod_proxy module. I now want the proxy to accept requests only from my other EC2 instances, how do I achieve that? This is my proxy ...
4
votes
1answer
937 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 ...
3
votes
4answers
1k views

how to configure the aws ec2 to automatically pull code from github

Hi I am running a large ec2 ubuntu instance which is configured for auto scaling. Whenever the load increases on the large instance it will boot a new instance. But the booted new instance will not ...
17
votes
5answers
13k views

Which is the fastest way to copy 400G of files from an ec2 elastic block store volume to s3?

I have to copy 400G of files from an elastic block store volume to an s3 bucket... Those are about 300k files of ~1Mb I've tried s3cmd and s3fuse, both of them are really, really slow.. s3cmd ran for ...