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
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 ...
5
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
411 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
270 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
62 views

Improve SSL Performance with Nginx

We have Nginx in the front of our system and we Proxy to Apache at the back. We use SSL/TLS for our connection. Question: Is Nginx the best option to terminate SSL/TLS connections in terms of ...
3
votes
0answers
70 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 "arn:...
3
votes
0answers
224 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
274 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 ...
3
votes
0answers
115 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
833 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 ...
3
votes
0answers
504 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" }, "Image":...
3
votes
0answers
628 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 ...
3
votes
0answers
429 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
12 views

Steps for setting up HTTPS using elastic beanstalk with a load balancer

I have recently used AWS elastic beanstalk to migrate my parse application server. Everything is working well with just plain HTTP, but I need more security so I've tried diving into the AWS ...
2
votes
0answers
47 views

How does AWS configure the 169.254.169.254 address on an instance?

AWS uses 169.254.169.254 as a link local address, which you can use to pull meta data about the instance, ie: curl http://169.254.169.254/latest/meta-data/ How/where is this IP configured on the ...
2
votes
0answers
26 views

ECS Stopped Task not Releasing Port

I have an ECS cluster with ELB. Last night I saw that a task was stuck in restarting loop. From the service Events log, it said: "service xxxxx was unable to place a task because no container ...
2
votes
0answers
27 views

S3 restoration using s3api get-object is not working in aws china region

I have set up a daily backup script in my aws china instance which uploads my required files to be backed-up to s3 bucket. I have a restoration script which uses s3api to restore the objects to the ...
2
votes
0answers
54 views

Why EBS keeps waiting for terminated instances?

Why EBS keeps waiting for terminated instances? 2016-03-02 01:41:22 UTC+0100 INFO Still waiting for the following 3 instances to become healthy: [i-1b5e9691, i-7f5c94f5, i-5d5e96d7]. Only ...
2
votes
0answers
36 views

ELB to tomcat https redirecting to http

So we have tomcat servers behind a AWS ELB. Everything is working fine with https except if we manually type in this address: https://example.com/web/ This works fine... https://example.com/web ...
2
votes
0answers
99 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
49 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
206 views

How do I use cloud-init to configure an AWS EBS volume at first boot?

Cloud-init provides the disk_setup, fs_setup and mounts modules to partition, format and mount a volume to a virtual machine, however these options remain undocumented at both http://cloudinit....
2
votes
0answers
31 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 ...
2
votes
0answers
59 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" : "C:\\cfn\\install\\Win8.1AndW2K12R2-KB3066437-x64....
2
votes
0answers
33 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
652 views

AWS CLI throws “Unable to locate credentials”, the second time it's run

I'm trying to download some files from S3 to an EC2 instance using the AWS CLI (1.8.7) on startup using a User-Data Script. This instance has a IAM Role & Instance Profile with the appropriate ...
2
votes
0answers
212 views

AWS ElasticBeanstalk: container keeps restarting

I'm trying to deploy a multi-container docker Elastic Beanstalk cluster on AWS and my situation is; I have 7 docker containers, six of which are Scala applications each listening on port 9000 for ...
2
votes
0answers
58 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
189 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 https://blog.logentries.com/2014/12/keepalived-and-haproxy-in-aws-an-...
2
votes
0answers
304 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
247 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
476 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 ...
2
votes
0answers
84 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
420 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 ...
2
votes
0answers
313 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. ...
2
votes
0answers
616 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
135 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
223 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
222 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
736 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
151 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
579 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
42 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

Cisco ASA VPN DH Groups for AWS VPC

AWS provides a neat function in its VPC that exposes a VPN service. I've configured this, and confirmed that it functions. Our customer is using a Cisco 5500 Series ASA appliance to connect to the ...
1
vote
0answers
41 views

Enabling HTTPS on EC2 instance inside AWS Elastic Beanstalk

I am deploying an Expressjs in a Docker container via Elastic Beanstalk. My app checks req.secure for every request to make sure that it is using HTTPS. It won't allow access to the app if it isn't ...
1
vote
0answers
10 views

AWS Key Management Service Durability?

What is the durability for keys generated by and stored on AWS Key Management Service? The Cryptographic Details Document states: Durability The durability of cryptographic keys is designed to ...
1
vote
0answers
18 views

Port forwarding from external providers in AWS VPC

I'm looking for general feedback regarding allowing external services access to your Amazon AWS VPC. I'm mostly wondering how other people go about doing this. If you're using an external service like ...
1
vote
0answers
29 views

Custom AMI fo AWSr Opsworks fails setup phase but logs seem clean?

So I've followed through this userguide for creating an AMI from an EBS backed Opsworks instance and it all seemed to go smoothly until I attempted to boot an instance in Opsworks from the new AMI. ...
1
vote
0answers
23 views

How To Use Amazon Cognito As An SSO OpenID Identity Provider

We currently use Google as an OpenID identity provider to our web platform. We need to move away from it. I discovered Amazon Cognito (we already use EC2/S3 and the rest). I discovered the ...