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
0answers
1k 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 ...
4
votes
0answers
242 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 ...
4
votes
0answers
485 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 ...
4
votes
0answers
183 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' ...
4
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 ...
4
votes
0answers
1k 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 ...
3
votes
0answers
237 views

Amazon ECS (Docker): binding container to specific IP address

I'm playing with Amazon ECS (a repackaging of Docker) and I'm finding there's one Docker capability that ECS does not seem to provide. Namely, I would like to have multiple containers running in an ...
3
votes
0answers
73 views

Nginx setup on aws - redirecting to port 81, cannot reverse

I've tried to setup nginx on my free AWS instance so that it can host multiple domains on single ip address (not sure if it can be managed, but I'm trying to dig in). In that process I created ...
2
votes
0answers
25 views

AWS keepalived backup immediately goes to MASTER

Referencing these two guides: http://awsadvent.tumblr.com/post/105141640154/aws-advent-2014-high-availability-in-aws-with ...
2
votes
0answers
46 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
333 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 ...
2
votes
0answers
2k 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
596 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
103 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
174 views

Amazon CloudSearch multiple search domains

Can I have multiple search domains in one instance CloudSearch? I can't seem to find this information in manual and it obviously affects the cost of hosting.
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
590 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
103 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
1k views

How can I move s3 objects >5gb from one bucket to another?

Objects larger than 5GB are supported with multi-part uploading. We have 5gb+ files in one bucket already that I'd like to move to another, under the same AWS account. When I issue the command using ...
2
votes
0answers
492 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
378 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
39 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
14 views

Xen based AMI does not boot (/dev/xvda)

Trying to create an AMI Instance Store within a xen based guest (VM: CentOS 6.6, 32 bit, PV). 'ec2-bundle-vol' only accepts /dev/xvda1 as a valid block device. If device entries are modified in ...
1
vote
0answers
15 views

Domain name redirect to Elastic IP address when typed in browser Amazon EC2

I Pointed my Godaddy domain to Amazon Elastic IP Address in godaddy zone file (poitned @ to my elastic IP address) ,When I write domain name in browser ,it redirects to Elatic IP address ,how to ...
1
vote
0answers
32 views

AWS service to expose key/value pairs to EC2 instances

Is there a centralized AWS service to expose key/value pairs to EC2 instances easily? I'd prefer a way that either exposes as a https endpoint, or injects them into environment variables without ...
1
vote
0answers
33 views

Elastic Beanstalk Test Environment use copy of production data

I have 3 environments using Elastic Beanstalk - Prod, Test, Dev. I want to use a copy of production database in my Test environment. It seems there's no easy way to "just use a different database". ...
1
vote
0answers
35 views

certificate does not match name aws private ip

Using AWS ec2 with a load Balancer and elastic IP. Im trying to add and SSL certificate but getting the following error. Certificate does not match name shop.domain.com Subject ip-172-31-19-115 ...
1
vote
0answers
31 views

How can I efficiently create daily write replicas of an RDS instance?

We're looking to create a replica of a postgres RDS instance that our developers can write to (not just a simple read replica that AWS can easily provide). Currently we run a script nightly that ...
1
vote
0answers
18 views

Setting up SQL server on EC2?

I would like to set up a SQL server in AWS on an EC2 server. I originally wanted to use an RDS instance however we require the bulk admin privilege for some of our operations which is not allowed in ...
1
vote
0answers
63 views

Getting application logs. Command failed on instance

Currently using the Amazon web services, I successfully deployed multiple applications on Elastic Beanstalk ( with green cluster health) as Docker containers. The problem however arises when I try to ...
1
vote
0answers
17 views

Can one access application logs from .net beanstalk applications?

I've deployed an beanstalk application to aws - and I'd like to have my application logs in the logs console for beanstalk. Is this possible? I couldn't find a magic directory to log into in order to ...
1
vote
0answers
57 views

Amazon EC2 gives internal server error when posting via Python

I have a problem with python API and MY ec2 instance. When I am trying to post a json I am getting an error like 500 INTERNAL SERVER ERROR {"error_message": "Sorry, this request could not be ...
1
vote
0answers
59 views

Application layer firewall for WebSockets?

My team has built an intranet portal in Amazon AWS for a client, and on it, we have used WebSockets to do things like notifications and other minor stuff. We mostly send events from the server, but we ...
1
vote
0answers
39 views

Trouble creating ext4 filesystem when trying to mount EBS volume on AWS instance

I'm trying to mount an EBS volume on my AWS instance. Following Amazon's instructions, I get the following error when running sudo mkfs -t ext4 /dev/xvdf: Allocating group tables: done ...
1
vote
0answers
39 views

Why is New-DSComputer failing to join an ec2 instance to the directory services domain?

I have a domain xyz.com in AWS Directory Service, and I am trying to join an EC2 instance to this domain using PowerShell. I can do it manually but I am trying to automate it so that when the next ...
1
vote
0answers
113 views

How can I chain AWS IAM AssumeRole API calls?

There are a number of AWS accounts which I don't control. I've had the account owners deploy an IAM Role, TrustingSecurityAuditor, into their accounts which grants the right to assume the ...
1
vote
0answers
92 views

Using SaltStack to create VPC on AWS

I am not sure if this is even possible as I have not found any documentation or information otherwise regarding how to do this: can SaltStack be used to configure and create new VPCs into a given ...
1
vote
0answers
106 views

How to scale up one container using Amazon EC2 Container Service

I am new using Amazon ECS and I would like to know how to set up services in order to scale up / down one container easily. Here is my project architecture: website: container with the website, ...
1
vote
0answers
58 views

Configuration changes in immutable infrastructure

How are people who are using immutable infrastructure handling configuration changes between their different environments? I can't workout a nice way to create one AMI per role and use it in all ...
1
vote
0answers
405 views

AWS yum does not work from private subnet (does work from public)

I have a VPC with a private and a public subnet - each containing an identically built RHEL7 server. I believe the VPC is set up correctly (see following). However, the public server can use yum and ...
1
vote
0answers
386 views

Change Nginx document root from /usr/share/nginx to /etc/nginx

I've tried many things, STFW, RTFM but I still have this problem. The thing is: I have a Nnginx installed in an AWS machine (other fella installed it, not me) and I MUST serve several virtual hosts ...
1
vote
0answers
43 views

Is there any way to run cloud-init on a Redhat 5 instance in AWS?

Redhat 6 includes cloud-init hooks, which means in AWS you can install cfn-init and use CloudFormation. Redhat 5 doesn't appear to have cloud-init. Is there any way to get this working?
1
vote
0answers
454 views

Coreos auto scaling with docker and fleetctl on AWS

I spent a lot of time evaluating different ways to deploy an application to the cloud (let's assume AWS for this question) in the last few weeks but couldn't really find a satisfying solution. We ...
1
vote
0answers
205 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
116 views

customize instance store Centos7 AMI

I am attempting to customize a base instance-store Centos7 AMI. Image I am using is: RightImage_CentOS_7.0_x64_v14.1.4_HVM - ami-d34b02e3 (instance store hvm) I start the instance, I customize it, I ...
1
vote
0answers
184 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
84 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
141 views

Environment variables using AWS CodeDeploy

I have a web application that utilizes environment variables for some of its configuration (DB credentials, API keys, etc). I'm currently using Elastic Beanstalk for deployment and can easily set ...
1
vote
0answers
330 views

AWS EC2 instance hyperthreading

I am currently doing some performance testing of web-apps that we have moved to AWS. One of the things we have noticed is that vCPU performance doesn't seem to be nearly as good as we'd expected. In ...
1
vote
0answers
24 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: ...