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
2answers
341 views

Can't get root access on EC2 after changing sudoerrs

We using Amazon EC2. I changed sudoerrs using visudo and changed ubuntu ALL=(ALL) NOPASSWD:ALL to something like: ubuntu ALL=(ALL) ALL Don't ask me why i did it, but after this change i ...
3
votes
1answer
1k views

Amazon AWS Static IP & ELB Load Balancing Alternatives

I am currently using Amazon AWS to launch a blogging service which offers two different ways to display content to the users Using their own subdomain : blog.mywebsite.com Using their own domain : ...
1
vote
1answer
1k views

LAMP server to AWS with HA and NFS

I am planning to use Amazon Web Service (AWS) to migrate my existing LAMP infrastructure to them. So I created a simple design of my system architecture with the following. *1 Elastic Load Balancer ...
-1
votes
1answer
775 views

Amazon AWS instance to run MongoDB on?

What's the most optimized way to run MongoDB in AWS? I'm getting some slow disk i/o bench marks (which I understand is the norm on EC2). Is a large ec2 instance my best bet? is there anyway to get ...
3
votes
1answer
1k views

Can an AWS CloudFormation create a KeyPair to subsequently use when starting instances?

I would like to launch my stack using a keypair that is created as part of the CloudFormation. Is that possible? .... "Resources": { "ReverseProxyKeyPair": { "Type": ...
7
votes
1answer
1k views

Does anyone have any experience when it comes to speed of Amazon RDS vs MySQL on a Small server?

EC2 Small vs Amazon RDS - which is faster for MySQL? (I have one database, well-indexed and tuned. About 10,000 rows on each table.) How's the performance like?
3
votes
3answers
5k 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 ...
1
vote
1answer
320 views

Mapping domain subdirectory to EC2 instance

My root domain is currently hosted at Dreamhost (i.e., http://website.com) -- What I am trying to do is point a subdirectory to my EC2 instance -- https://website.com/app would hit my elastic IP, ...
2
votes
2answers
2k views

Load average is 50 while CPU Utilization is %60

We use EC2 Auto Scaling and recently decided to change Instance type from m2.2xlarge to c1.xlarge (High Memory to High CPU) because average amount of used RAM per Instance is 2G, thus we don't need ...
5
votes
4answers
7k 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 ...
2
votes
1answer
808 views

Using an IP Address to Point to Amazon S3 Storage

Is there a way to get an IP address to refer to Amazon S3 Storage location? The current solution my company is thinking of going with involves setting up a EC2 server with an Elastic IP and using ...
5
votes
3answers
3k views

Periodic spiky CPU usage by winlogon / LogonUI

I've noticed that my AWS server occasionally starts using a bunch of CPU for no particular reason, looking something like this: Observe that it does not occur at specific times, but has a very ...
7
votes
2answers
5k views

How do I attach an Elastic IP to an Elastic Beanstalk app?

I can give a single instance an Elastic IP. No problem. But I have an Elastic Beanstalk app. It can create and remove instances as needed. It has a load balancer. How can I get these features ...
3
votes
2answers
1k views

Does EC2 support AES-NI instructions? If so, is there a particular instance type?

Trying to determine if EC2 supports and makes available this newer instruction set.
1
vote
0answers
161 views

Amazon Cloud Services for Disaster Recovery

To simplify our environment, at it's most atomic level, we have a .NET website running on IIS 6 on one server and the website depends on data from a MS SQL 2005 database on another server. We have ...
1
vote
1answer
671 views

How many EBS drives I can mount on a single EC2 instance using Amazon Web Services ( AWS )?

How many individually functioning EBS drives ( non-raided ) can I connect to a single Amazon EC2 server running Linux CentOS? I can't find a value in the EC2 or EBS manuals. Are there any other ...
-1
votes
1answer
119 views

Licensing and trust issues on amazon aws [duplicate]

Possible Duplicate: Can you help me with my software licensing question? Can't seem to get answers on the aws forum, so I'll try here. 1) If an public image owned by someone other than AWS ...
5
votes
9answers
4k views

EC2 IP Address : How can a web server identify db server ip address at startup?

I have a simple 2-tier arrangement - one web server (Websphere hosted on windows), and one oracle db server. The web server needs to connect the oracle database server. I am trying to write a script ...
1
vote
2answers
2k views

What back-end hardware or software do Amazon Web Services use to provide the VPN functionality for their VPCs? [closed]

When connecting a customer gateway to a VPC VPN, what hardware or software is providing the service on Amazon's side?
2
votes
1answer
354 views

What is best practice for upgrades with AWS autoscaling and database migrations?

I would like to use a combination of an ELB and AutoScaling for a web application. For upgrades to the web application that don't involve changing the database, I can simply rotate all the instances ...
7
votes
1answer
2k views

XFS: no space left on device, (but I have 850GB available!)

I'm using a combination of mdadm, lvm2, and XFS on Amazon EC2. So far, I've had success running a RAID 5 volume built from a number of EBS volumes. The EBS volumes are attached and used with mdadm to ...
14
votes
5answers
24k views

Why Can't I Reach My Amazon EC2 Instance Via It's “Elastic IP Address?”

The server works fine via the Amazon assigned DNS entry, but I cannot reach it (using a browser) via the Elastic IP address Amazon assigned the box. Ping does not work either. I am trying to confirm ...
2
votes
2answers
896 views

m1.small nodes for memcache array on AWS EC2

I am currently having an m1.large instance acting as a memcache server. I would like to replace that with 2 m1.small nodes for High Availability more or less for the same cost. But I am concerned ...
3
votes
1answer
6k views

Instance has failed at least the Unhealthy Threshold number of health checks consecutively

I am trying to autoscale my present instance, I am running a medium instance right now and auto scale with small instance. I used command line tool to config the settings, this is the configurations I ...
0
votes
2answers
199 views

How to delegate NS for the apex?

We have a registered domain (example2.com) that has the company's name servers registered against it (ns1.example.com, ns2.example.com) at the registrar. We would like to "delegate" the DNS ...
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 ...
0
votes
2answers
1k views

Chef-solo cannot locate an nginx recipe template

I have been recently experimenting with Chef. I thought I would attempt to rebuild my personal web server using chef-solo. It's an AWS instance running the Amazon 64bit Linux AMI. My first ...
1
vote
1answer
171 views

Is this infrastructure safe for scaling EBS online?

Our application uses EBS to store data. The storage requirement of the application grows rapidly as users signup. We need to do it online so that users don't experience downtime with the application. ...
3
votes
3answers
2k views

Advice regarding resilient internet access from within an Amazon VPC

We've had our NAT server fail 3 times thus far - once due to an issue with it's EIP and twice due to it's host being CPU bound. While I understand these things happen, we can't afford to keep taking ...
3
votes
2answers
2k views

How can I make a CentOS 6 AWS AMI from a loopback?

I am able to make a Centos 5.x AMI by following steps similar to those outlined here: http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/creating-loopback-s3-linux.html and detailed here: ...
1
vote
2answers
2k views

unable to run aws command line tools

I have installed the AWS Command line tools and have also set the Env Variables, but why I type mon-cmd I am getting this error, I am not able to figure it out,kindly help me. ...
0
votes
1answer
662 views

Is it possible to run Joomla in DynamoDB?

I'm trying to find a scalable way to run my Joomla installation with Amazon Web Services. I was very excited with the announcement of DynamoDB, but I'm not sure about the challenges to run Joomla on a ...
0
votes
1answer
492 views

Securing EC2 machines with VPC + a VPN?

Right now, my company is pre-launch and is getting away with a few dirty hacks. The biggest one is that our staging, ci, and monitoring boxes are available at staging.ourcompany.com, ...
0
votes
1answer
455 views

Instance freezing/locking up without detailing why in the logs

was hoping someone can shed some light on this reoccurring problem. We have a medium tier instance running on AWS. But it will go down a random times, normally once a week. I've spent many hours ...
0
votes
1answer
749 views

Advice for hosting ASP.NET + MySQL on Amazon

I am looking to using Amazon Web Services to host my website. I use ASP.NET and MySQL. What are the basic items that I need to have? For example; if I buy a EC2 OnDemand Small instance it costs $91, ...
8
votes
4answers
602 views

Moving all internal servers to the cloud

Background One of my clients is an IT-dependent workflow-driven law firm with about 50 seats. They have been audited by one of their clients (an FSA regulated mortgage lender) and told that their ...
2
votes
2answers
770 views

How to set cache control headers

How do I go about setting the cache control headers for specific files on my web server? I'm running a LAMP environment. I don't want to set the cache control sitewide, just for a few files. I am ...
15
votes
9answers
13k views

How can I monitor daily spending on AWS?

Our infrastructure is on AWS. I want to get a daily report on how much spent on the previous day. What is the best way to do it?
1
vote
1answer
121 views

How do I make single page expiration 1 hour CloudFront

I am using CloudFront to distribute content from one of my domains. There is no S3 tie-in here. By default, content expires after 24 hours, which is fine for most of the data on the website, ...
1
vote
1answer
929 views

Does anyone have a config to process AWS CloudFront/S3 logs with AWStats (or similar sw)?

I don't want to give an external company like s3stat access to my logs. I know that AWS logs S3 and Cloud Front in a format readable by AWStats. Has anyone used AWSats to analyze them? S3stat used ...
3
votes
1answer
3k views

Can you connect to Amazon VPC VPN from Windows 7 without a hardware VPN on your end?

I found this thread that seems to suggest it's not possible to connect to Amazon VPC VPN from a Windows 7 box without an external hardware (router) on the client side. Is this true, or did I miss ...
2
votes
2answers
822 views

Cant' save /etc/sudoers (Ubuntu)

Question is; I just setup AWS EC2 micro instance = Ubuntu 11.04 32bit - (ami-e9d81980) All is running well. Added new user successfully and now want to give root access to new-user. So I did; $ sudo ...
-1
votes
2answers
141 views

Amazon instance rebooted without any intimation

One of my amazon ec2 instance has been rebooted on yesterday night around at 22:40 without any intimation and its rebooted automatically. When i checked the log file says that, Jan 12 22:40:07 impel1 ...
0
votes
3answers
1k views

AWS RDS Write I/O is really high

Is this way too high? How can we improve this?
1
vote
1answer
117 views

Amazon EC2/EBS - If I share an EBS Snapshot am I charged for others' usage of it?

As the subject says I want to know if I make a snapshot of my EBS public and others use it, do I get charged for that? Background if anyone is interested: I have a bioinformatics program I want to ...
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 ...
0
votes
2answers
513 views

Clustering TCP servers, so can send data to all clients

I'm developing a real-time mobile app by setting up a TCP connection between the app and server backend. Each user can send messages to all other users. (I'm making the TCP server in Python with ...
0
votes
4answers
701 views

More detail EC2 instances monitoring? [closed]

I am currently using AWS Cloudwatch to monitor basic metrics of my EC2 servers. But it is lacking of detail monitoring such as partition space used, memory free etc. Should I install and use Nagios, ...
4
votes
4answers
21k views

How do I set an MX record in Route53 for a GoDaddy domain?

Can't seem to find an answer to this question on AWS' forum, not in the Route53 manual, nor on Stackoverflow/Serverfault in a way that makes sense...and GoDaddy's support sure as heck ain't got an ...
1
vote
0answers
137 views

Getting bandwidth spent by user or by rails application on Ubuntu

I'm running multiple rails applications on AWS instance and I need to know how many bandwidth is each application using/wasting. Some of the applications are running with passenger over Apache2 some ...