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)

15
votes
1answer
65k 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
553 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
283 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
379 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
255 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
1k 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
184 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
269 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
269 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
254 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
138 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
530 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
163 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
759 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
600 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
899 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 ...
15
votes
4answers
12k 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 ...
1
vote
0answers
142 views

How to increase the performance on Amazon Elastic Mapreduce for job execution?

My task is: Initially I want to import the data from MS SQL Server into HDFS using SQOOP. Through Hive I am processing the data and generating the result in one table That result containing table ...
2
votes
0answers
40 views

AWS ElasticBeanstalk for PHP is stripping the first slash off some requests

I've noticed that the leading slash gets stripped from requests and subsequently alters REQUEST_URI based routing lookups in my application. Is there either a way to disable this or documentation on ...
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 ...
1
vote
1answer
348 views

Random timeouts between zones in Amazon EC2?

I am having issues with tcp connections between two instances in EC2. I thought at first it was the tools I was using (JRuby on Rails stack + MongoDB) when I saw exceptions such as the following in my ...
6
votes
1answer
2k views

How can I access instance storage on a Windows EC2 instance with an ebs root device?

I have created an AMI, but I would like to use instance storage for some scientific programs I want to run. They basically read a bunch of stuff from disk, write it back out to disk and then ...
2
votes
4answers
5k views

Receive emails on Amazon EC2 Server

I just got started with an EC2 instance and got my mail sending limit removed, allowing me to send emails from my instance. But due to lack of experience, I have no clue on how to enable receiving ...
11
votes
2answers
4k views

SSL redirect on EC2 instance behind SSL terminating load balancer

I'm trying to redirect all url's to https in a web application. I have an ec2 instance behind an elastic load balancer. SSL is terminated on the load balancer. Any attempts at redirection end up ...
2
votes
2answers
4k views

How can I setup a VPN for remote users to connect to a AWS RDS server?

I have remote developers that travel and have constantly changing IP addresses. I would like them to be able to connect to a VPN running on a instance on EC2. Once they are connected to the VPN with a ...
8
votes
4answers
4k 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 ...
0
votes
1answer
1k views

Amazon VPC unable to access internet from private subnet

I have setup an Amazon Public+Private subnet VPC. There are two instances in public subnet: Amazon Nat instance OpenVPN Access Server I am able to setup VPN to the internal private subnet ...
2
votes
2answers
340 views

The instance created from EBS snapshot fails to launch

I was working on the mirroring of an EC2 instance. I followed these steps create an image(AMI) of the instance you would like to mirror Launch an instance out of the image ssh into the new instance ...
2
votes
5answers
5k views

Postgres used in Ubuntu 12.04

I am trying to get django running on an ubuntu 12.04 release using postgres (clean install). To get it running it used to be that you would have to edit the /etc/postgresql/9.1/main/pg_hba.conf file. ...
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 ...
-2
votes
1answer
4k views

How do I calculate my bandwidth requirements?

We have a facility that needs to upload approximately 20 3MB photos per minute to Amazon S3. These are coming from 10 different machines on our local network. We need to do this continuously for 16 ...
0
votes
1answer
176 views

The Image created from a snapshot does not launch the instance properly

I was working on the mirroring of the instance. I followed these steps: create an image(AMI) of the instance you would like to mirror Launch an instance out of the image ssh into the new instance ...
1
vote
1answer
582 views

Problems accessing EC2 instance with SSH key pair

Just set up a new EC2 instance, downloaded the pem file and currently cannot get into the box. I'm using the command... $ ssh -i .ssh/key.pem ubuntu@ec2-176-34-183-***.eu-west-1.compute.amazonaws.com ...
1
vote
1answer
147 views

Adobe FMS 4.5 only showing 1 active connection

I am running a live stream using Adobe Flash Media Server 4.5, running on a Amazon Web Services EC2 server. I know that there are at least 5 active connections, but when I log into the FMS server ...
0
votes
1answer
3k views

Mac OS X Server on AWS EC2

I'm thinking of making a dynamic HTTP Live streaming server, and I'm going to need a lot of CPU power that can transcode and segment the files on demand, so naturally I thought of EC2. I've been ...
2
votes
3answers
4k views

CloudFormation/EC2 - access IP address of EC2 instance in the template?

i'm trying to define a cluster of Cassandra nodes, together with some other instances ( some middleware and app servers ). I'd like to be able to add the ( internal ) IP addresses of the Cassandra ...
1
vote
2answers
854 views

Simple control panel for starting/stopping AWS instances

I have an EBS-root server at AWS that the service desk staff use for infrequent tasks, and I only want it to be turned on when they need it. I would like the service desk to be able to go a web page ...
1
vote
3answers
5k views

Why do these emails from amazon SES keep getting marked as spam?

Right now I am sending emails using the php mail() function. I am setting the From: header to an address corresponding to the hostname and also reverse-dns of the server sending the email like this: ...
2
votes
2answers
2k views

How do I create a EC2 S3 backed instance, starting from a Windows VHD?

I have a Windows VHD image created in Hyper-V, and I want it to exist as a S3-backed instance on EC2. I've found several articles (and a tutorial) on how to import my virtual machine to EC2. However, ...