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)

3
votes
0answers
144 views

TCP congestion collapse

I am experiencing suboptimal performance on an EC2 instance connecting to an RDS instance. This particular instance was built before VPC's existed, so all the traffic is flowing through a single ...
3
votes
0answers
115 views

Does AWS Elastic Beanstalk Swap Environment Url swaps environments for git push?

I have read the docs for zero downtime on aws but cant seem to understand what happens in this scenario? I have a environment running in production called 'red' I duplicate the environment as 'blue' ...
3
votes
0answers
2k views

Apache 2.4 not closing connections

I have an Apache 2.4 webserver that runs on a micro instance of AWS with CentOS. The apache is running PHP with a prefork MPM module. The server is accessed via an Amazon load balancer which has a ...
3
votes
0answers
959 views

Incorrect deployment of WSGI app to AWS using Elastic Beanstalk

cross-link to AWS forums I have developed a simple Python web service using WSGI and would like to deploy it to AWS cloud using Elastic Beanstalk. My problem is I cannot make all the options I ...
2
votes
0answers
58 views

Deny anonymous downloads in AWS S3

I have a bucket with several files publicly downloadable. I want to put up a bucket policy after which these files should only be downloadable by my IAM users. The policy I have got so far is this: { ...
2
votes
0answers
24 views

Tuning Amazon Linux worker tier

I have a worker tier that is using PHP process control (pcntl) functions to send multiple requests to the SNS service in parallel. My question is how best to tune MPM_PREFORK directives to get the ...
2
votes
0answers
305 views

kworker consuming +90% IO and zero disk write

this is a standard apache web server on AWS Linux AMI + EBS. We are noticing high load average (+8) and iotop -a shows: Total DISK READ: 0.00 B/s | Total DISK WRITE: 2.37 M/s TID PRIO USER ...
2
votes
0answers
58 views

AWS EC2 Linux instance shutdown automatically

I have created an AMI EC2 Linux instance but since last few days I am facing issue with this instance. It automatically shutdown and never come up again automatically. I have to start the instance ...
2
votes
0answers
93 views

s3 policy for quota

Is there a s3 policy rule that can only allow a user to upload so many GB of files? Basically looking to set a quota on the objects a user can upload. Here is the rule set that I have now: { ...
2
votes
0answers
143 views

AWS Elastic Beanstalk File Upload Limit Issue

I'm having an issue on an AWS Elastic Beanstalk instance, whereby I can't seem to upload a PDF file that is 6MB in size. First, let me provide a bit more background: The application running is an ...
2
votes
0answers
1k views

AWS ELB session stickiness issue when multiple AWSELB cookies exist in a single request

I have two web apps - App-A & App-B - running in 2 EC2 instances (both web apps are running in both instances) fronted with an AWS ELB. The session stickiness is enabled using 'Application ...
2
votes
0answers
474 views

How to install a newer version of php on AWS Opsworks?

Our code base is using PHP 5.5 and we are wanting to deploy on AWS Opsworks however when selecting the PHP App Server layer we are told it has PHP 5.3. What I was hoping is that I could just use the ...
2
votes
0answers
293 views

How to create an Amazon AMI with HVM from scratch?

All the instructions I find online start with an existing AMI, but I would like to create an AMI from scratch using HVM instead of PV. Does anyone know the procedure for doing this?
2
votes
0answers
84 views

intermittent AWS Linux AMI server error “File does not exist: /var/www/html/var”

Intermittent error "File does not exist: /var/www/html/var" from all areas of a Zend MVC app resulting in pages occasionally failing to load - when normally they load perfectly. Our Set-up MVC app on ...
2
votes
0answers
2k views

EC2 DNS not resolving hostname to internal IP

I already posted this on the AWS forums without success (https://forums.aws.amazon.com/message.jspa?messageID=502441). I'm wondering if I'll be more lucky here. We have an internal DNS setup that ...
2
votes
0answers
368 views

How can I whitelist oubound-from-private-subnet traffic to S3 on the NAT instance of an EC2 VPC?

I'm researching privacy-compliant high-security deployment options for AWS VPC. I'm looking for a method of tightening outbound traffic from the private subnets at the NAT instance. For example, how ...
2
votes
0answers
449 views

Monit unable to start sidekiq on Opsworks server

I have used AWS Opsworks to create some servers. I have Sidekiq running as part of my Rails application. When I deploy Sidekiq restarts nicely. I am configuring Monit to watch the pid and start and ...
2
votes
0answers
82 views

Programmatically add EC2 execute nodes to Grid Engine cluster

I am running Grid Scheduler (fka Sun Grid Engine) on Amazon Web Services. Master node is running all the time, but I want to programmatically add nodes to the cluster (also remove - but remove is not ...
2
votes
0answers
420 views

AWS amazon SES stopped working suddenly

I am not able to send the mail from aws.amazon SES since from Monday (30-10-2012) previously it is working fine suddenly it stopped working. I got following is the errors A PHP Error was encountered ...
2
votes
0answers
338 views

Application reports timeouts. However nginx has no record or log

We are serving Django via nginx/uwsgi. We use AWS ELB behind a VPC. This is a webservice to Mobile clients. We had reports of timeouts during development so we have added a concept of a request_id ...
2
votes
0answers
38 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 ...
1
vote
0answers
46 views

Amazon RDS Instance slowly losing free diskspace

A while back the server running my instance had 20GB of EBS storage. It then started getting disk storage errors, so I increased it to 40GB. Then again, storage missing errors so I increased again to ...
1
vote
0answers
22 views

How to change permission of users in RDS?

We have created a MySQL RDS instance on AWS called "lolbob" and while dumping our data over port 3306 using the user that was created during instance creation (also called "lolbob") it fails because ...
1
vote
0answers
38 views

Supervisor setup on AWS AMI Linux

I'm trying to get supervisor working to make sure my queue system is always running. Here are the steps I took, which I pieced together from various sources: (Ran as root or super user) Ran: # ...
1
vote
0answers
55 views

AWS CLI Command Line: How to use “--query” to output multiple source lines

I am using aws-cli version 1.7.8 to get the --query output to create one record that is derived from multiple lines. In this case I am trying to get specific information from describe-instances. In ...
1
vote
0answers
49 views

Amazon IP no longer allowing MySQL connection (Error 104)

I am working on a group project that uses an Amazon EC2 server for hosting phpmyadmin. We have a PHP/MySQL website hosted on my school's server that makes database connections to amazon. Recently one ...
1
vote
0answers
50 views

CloudFormation with an ELB and its public dns

I'm using Cloudformation to build a load balanced stack. My concern is that each time the stack is recreated, the ELB public url will change, which will require a change in the website's route 53 ...
1
vote
0answers
10 views

Amazon AWS IAM Policy based in time of day

The IAM service is Amazon AWS permits the creation of policies based on date, as described here: ...
1
vote
0answers
45 views

Connecting to a PostgresSQL Database Instance on Amazon Web Services

I've been trying to use the instructions found on amazon to set up my PostgreSQL database instance and connected it to PG Commander. After getting an initial connection error I checked to see if ...
1
vote
0answers
140 views

Dockerun.aws.json referring to bucket of another account

I have the following Dockerrun.aws.json: { "AWSEBDockerrunVersion": "1", "Authentication": { "Bucket": "bucket-of-another-aws-account", "Key": "docker/.dockercfg" }, ...
1
vote
0answers
313 views

Error missing systemd on AWS server

I cant seem to figure out how to install systemd. I am attempting to upgrade mysql server on AWS from 5.5 to 5.6. I am getting the following error when trying to install- "Requires: systemd" Any ...
1
vote
0answers
246 views

AWS connection error: Permission denied (publickey)

Sorry if this sounds redundant to you but trust me its not. I have tried almost majority of the links related to this problem but nothing is working for me so far. I even tried this article two. Below ...
1
vote
0answers
29 views

aws instance froze, how to find out what went wrong

So we have a instance on AWS that runs CouchDB which was down and not accessible until we rebooted the box (which took a long time). The instance is back up now and I am trying to figure out what ...
1
vote
0answers
95 views

Amazon AWS connection issues

I have a strange issue with my Amazon EC2 instance. I have created the following: m3.medium instance hosted in the Amazon cloud This instance runs the following a. Apache Tomcat application server ...
1
vote
0answers
39 views

How are autoscaling group termination policies combined?

When creating an autoscaling group I can choose an ordered list of termination policies for its instances. Amazon's documentation states that You can use these policies individually, or combine ...
1
vote
0answers
28 views

Grant CloudWatch Full Access to IAM role for specific namespace

Could not find this in the documentation anywhere — let's say I want to allow an IAM role to have full CloudWatch access but only for a single namespace of my choosing. Is this possible?
1
vote
0answers
36 views

Assign chef roles to layer/instance

I'm trying to get the following cookbook running in OpsWorks: https://github.com/lusis/chef-logstash/ Following their documentation I have to assign roles to my server(s) to get stuff running. They ...
1
vote
0answers
197 views

Using Proxy Protocol with AWS ELBs and IIS 8

I'm trying to move my SignalR application, hosted in AWS behind an ELB on IIS8, to use websockets. After following the steps recommended by AWS (change listeners on the ELB to TCP, enable proxy ...
1
vote
0answers
139 views

Dedicated per region fee for Amazon EC2 dedicated instances

I'm sorry if this isn't the right forum for this question but I read the rules and it didn't seem to imply I can't ask this... Anyways I'm looking to get some EC2 dedicated instances because I will ...
1
vote
0answers
349 views

Elastic Beanstalk git aws.push taking a long time and more

I am starting to use the git aws.push command from within a git repository for a certain project we are currently working on. Within the root of the repo I have got the .elasticbeanstalk directory ...
1
vote
0answers
402 views

Launching an RDS in a private subnet in VPC and access it from a web application

I have setup a VPC which has two subnets. One is a public subnet (I have Internet Gateway attached to it) and the other one is a private subnet. My web application resides inside the public subnet and ...
1
vote
0answers
163 views

Website down… due to sleeping MySQL connections?

I've just inherited the administration of a website, and I'm finding some problems: When the traffic in the site peaks (it happens when our posts are featured in some distribution lists/RSS feed), ...
1
vote
0answers
156 views

EC2 AMI instance store backup grub utility required

Working on backup of whole ec2 volume and image to upload to s3. Using RHEL7 and it internally uses Grub2 as bootloader. EC2 AMI tools requires grub legacy loader and I'm struck up in this loader. ...
1
vote
0answers
44 views

Splitting an application across AWS and Heroku

My application is currently 100% managed by Heroku. A few endpoints on the application depend on very slow external resources. Heroku occasionally kills these requests if they hit 30 seconds.[1] ...
1
vote
0answers
95 views

Python uWSGI logs have no read permissions

I am running a Python Flask server on uWSGI over an EC2 Ubuntu 14.04 LTS. The server is configured as follows: [uwsgi] http-socket = :9000 plugin = python wsgi-file = /path/to_wsgi.py ...
1
vote
0answers
97 views

cannot reach munin port on other AWS instance

2 AWS instances, in the same region but different availability zones, one is in regular EC2 and the other is in VPC, both have an Elastic IP, both are 64bit Amazon Linux AMI 2014.03.1. Both are ...
1
vote
0answers
24 views

Launching an RDS Instance with a specified security group

Is it possible to launch an RDS instance and associated with a specific security group? It seems to only let me launch one that is associated with the default security group of the chosen VPC. I can ...
1
vote
0answers
88 views

Intermittent 404 on select assets, LAMP stack

We have a LAMP stack WordPress server that is serving most assets correctly. However, one plugin's CSS file and several images are returning soft 404s roughly 20% of the time. I can't find any ...
1
vote
0answers
1k views

How to install latest Tomcat7 using yum on AWS EC2?

I'd like to install the latest (7.0.53) Tomcat on an AWS EC2 instance running Amazon Linux. If I were to do "sudo yum install tomcat7 -y", I would only get version 7.0.47, as shown by " yum list ...
1
vote
0answers
43 views

RabbitMQ server randomly, mysteriously stopping

I installed RabbitMQ on my EC2 box following the RPM install instructions from their website. My OS is CentOS. Every now and then, the rabbitMQ server just stops running, nothing shows up in the ...