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)

6
votes
0answers
807 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 ...
6
votes
0answers
3k 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 ...
6
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 ...
4
votes
0answers
345 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
229 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 ...
3
votes
0answers
40 views

Amazon AWS SES SNS integration for different aws accounts

I have two aws accounts, "A" and "B". I want to use SES from account "A" and publish the bounces on SNS of account "B". On account B, I created a topic with name test1234. The arn of the topic is ...
3
votes
0answers
154 views

AWS: RDS + CloudFormation – VPC peering

So here's my situation: We are a young startup scaling up and we decided to give Mesosphere DCOS Community edition a try. The community edition deploys a stack of Masters, Slaves and LB's over AWS ...
3
votes
0answers
98 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 ...
3
votes
0answers
468 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
57 views

AWS Cloudwatch Agent not picking up changes

I'm stumped. I have two log files being watched by the AWS CloudWatch agent. The first one, /var/log/nginx/access.log, works perfectly fine. The second, /var/log/otherserver/access.log, is not having ...
2
votes
0answers
27 views

How do I prevent rsync failure from breaking my ability to SSH into remote AWS server?

I'm running into this problem where if my rsync to an Amazon CentOS instance breaks mid-transfer (with a Ctrl+C for example), subsequent logins to the server no longer works. The Server just responds ...
2
votes
0answers
49 views

Bootstrapping Windows EC2 instance with cfn-init command failing due to 1641 exit code

I'm having trouble with my EC2 instance cfn-init script. I'm attempting to have it install Powershell v5. When I execute the command: "command" : ...
2
votes
0answers
21 views

Access Denied when calling the CreateInvalidation operation on AWS CLI

I am attempting to create a command that will invalidate CloudFront distribution when pushing out new code. This is an attempt to fix the issue that new HTML pushed out doesn't take up to 24 hours to ...
2
votes
0answers
50 views

What does Process/CPU metric in atop really mean?

I've been using the excellent atop for reviewing load test impact in detail, and the distinction between the SystemLevel/CPU metric in the top (system-wide) section and the ProcessLevel/CPU metric in ...
2
votes
0answers
117 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
197 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 ...
2
votes
0answers
216 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 ...
2
votes
0answers
200 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, ...
2
votes
0answers
737 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 ...
2
votes
0answers
74 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
639 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 ...
2
votes
0answers
321 views

Strict-Transport-Security on CloudFront with S3 origin?

My company's site has a static homepage for speed and cost reasons. We use S3 as the origin for CloudFront. Now, we would like to declare Strict-Transport-Security for the entire domain, but S3 seems ...
2
votes
0answers
3k 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
582 views

OpenSwan + AWS + Ubuntu 14.04 - Cannot reach server

i'm currently trying to set up a VPN in order to login into a private subnet hosted on AWS. The target host has Ubuntu 14.04 and installed OpenSwan. I've setup ipsec.conf, ipsec.secrets, xl2tpd.conf, ...
2
votes
0answers
127 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
199 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
201 views

AWS Dev-to-Production Build Process

I'm a developer, so not nearly as experienced as I would like to be with server administration. Essentially, I am trying to figure out how to create a base image (AMI) that can be used in development, ...
2
votes
0answers
683 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
128 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
2k 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
536 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
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 ...
1
vote
0answers
6 views

How do I revoke Amazon SES SMTP rights

How do I revoke Amazon SES SMTP credentials? Do I just remove the SES-specific IAM user or can I revoke SMTP credentials and recreate them for the same user?
1
vote
0answers
16 views

Get Ids of terminated EC2 instances

I'm trying to create a report about our EC2 instances usage and utilization over time. I would like to examine all of the instance that have or had been running in my environment for the past X days. ...
1
vote
0answers
44 views

What's your experience with the AWS NAT Gateway performance?

In December/2015 Amazon launched their VPC NAT Gateway service which is basically a managed alternative to creating your own (and it looks very good in comparison to NAT instances). I was just about ...
1
vote
0answers
12 views

Sonicwall DHCP timeout after AWS VPN tunnel

I have just setup an AWS VPC with a hardware VPN tunnel to our datacenter via a Sonicwall NSA 4600. Everything is working fine with the VPN between Amazon and our datacenter, but the DHCP has stopped ...
1
vote
0answers
30 views

Intermittent ERR_INVALID_CHUNKED_ENCODING

I have a Node.js application running in two AWS instances behind a ELB instance. Every now and then, I get errors such as ERR_INVALID_CHUNKED_ENCODING or ERR_CONTENT_LENGTH_MISMATCH. This is observed ...
1
vote
0answers
15 views

Having trouble with one way adio on an asterisk sip phone

I have an asterisk server (Elastix on CentOS 7) that I am currently running in Amazon Web Services. The server works great and clients can connect without issue using a stun server. However I have ...
1
vote
0answers
27 views

Unable to deploy a rails application using eb cli

I recently updated my environments configuration to :64bit Amazon Linux 2015.03 v1.4.6 running Ruby 2.2 (Passenger Standalone). After deploying my application using eb deploy i now get an error in my ...
1
vote
0answers
48 views

Change SSH key on EC2 Instance

I want to change the SSH key file needed for logging in my Ubuntu EC2 Instance. I know it is not possible to do so directly from the EC2 Management Console so I tried changing it by doing the ...
1
vote
0answers
15 views

How do I use AWS Elastic Beanstalk Enhanced Health monitoring with a long polling app?

With AWS Elastic Beanstalk, I have an app setup with enhanced health monitoring. However, the app uses long polling so that it can sync between a mobile app and the web app. The long poll is a 60 ...
1
vote
0answers
26 views

EC2 Shared Drive / VPN / Security Groups

I have an EC2 instance, running Win 2008. On it, I have a shared drive. Windows permissions are set properly. The server has a static IP through Elastic IP. I do not want to open this to the world. I ...
1
vote
0answers
57 views

Openswan IPSec VPN on AWS tunnel established but no traffic

I am setting up a tunnel with a telco using AWS/VPC/EC2/Centos7/Libreswan and have been stuck for weeks. Appreciate any help! I have 192.168.16.73 (VPN GW, EIP 52.76.x.x) and 192.168.16.116 ...
1
vote
0answers
53 views

SSH (interactive) hangs during full upload bandwidth use

I work daily on SSH from a Linux desktop to an AWS EC2 Amazon Linux server and the connection has performed very reliably for two years, but in the last few days I have seen the SSH command line hang ...
1
vote
0answers
22 views

AWS ELB: cloudwatch metric for open connections?

I'm setting up ELB, and I'm having trouble finding a suitable metric to use to adjust the size of the pool. RequestCount doesn't work because some requests are much cheaper than others. Latency ...
1
vote
0answers
48 views

Route 172.0.0.0 and 10.0.0.0 traffic through two NAT boxes

I have set up two NAT boxes in two separate AWS accounts and given the necessary security group permissions to allow both instances to talk to each other. In account A I have a service that needs to ...
1
vote
0answers
30 views

How to setup a security group on AWS that allows incoming traffic only by certain Elastic Beanstalk servers?

we have the following setting on AWS: 8 Elastic Beanstalk environments (4 QA, 4 PROD) read and write data. Typically, 1 environment (the API) always reads data from DynamoDB and RDS and 1 environment ...
1
vote
0answers
24 views

Is there a way to use Route 53 as a DNS failover, that activates a dormant (i.e. cheaper) EC2 instance that takes over?

Is there a way to use Route 53 as a DNS failover, that activates a dormant (i.e. cheaper) EC2 instance that takes over? My idea is to use a different provider to host most of the time, but if there ...
1
vote
0answers
66 views

aws s3 sync: how to exclude proc, sys directories

I can't seem to get the aws sync s3 command to exclude directories. I am backing up a mounted filesystem from OpenVZ which is located at /vz/root/100. My command is: aws s3 sync /vz/root/100 ...