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.
Questions tagged [amazon-web-services]
8595 questions
3
votes
1 answer
Amazon Web Services Elastic Load Balancing No Downtime
I'm trying to figure out how Amazon Web Services Elastic Load Balancing would create no downtime.
Elastic Load Balancing pings your server path every so often (normally a couple of seconds). If it doesn't receive a response within a set period of…

Charlie Fish
- 217
- 2
- 9
3
votes
1 answer
Can't set X-Forwarded-For to sourceIp in AWS API Gateway
I've put Amazon's API gateway in front of an existing HTTP API. That API has its own logging that needs access to the source IP address, however I can't seem to map the source IP to an X-Forwarded-For header in the Integration Request tab of the…

wxs
- 185
- 1
- 6
3
votes
1 answer
How is Elastic Beanstalk forwarding traffic on port 80 to my app at port 8080 without nginx/apache?
This is the weirdest thing ever. I've configured my AWS Elastic Beanstalk environment's proxy server setting to none instead of nginx or apache, to reduce the server overhead, and since I don't need the caching.
However, the most peculiar thing…

Elad Nava
- 293
- 3
- 10
3
votes
1 answer
Using AWS Nat Gateway from diferrent VPC across VPC peering
I would like to use Nat Gateway (not Nat Instance on EC2!) from another VPC to route my traffic from peered VPCs to the Internet. My infrastructure looks like this:
/---------------------VPC-LIVECHAT---------------------\
| /---Subnet A---\ …

Ondra Sniper Flidr
- 2,653
- 12
- 18
3
votes
1 answer
Amazon Web Services EFS doesn't seem to be saving files
So I'm trying to use AWS EFS with EC2 to have persistent storage between multiple instances.
I'm mounting the drive using,
sudo mount -t nfs4 -o nfsvers=4.1 $(curl -s…

Charlie Fish
- 217
- 2
- 9
3
votes
1 answer
Web Server on AWS EC2 Auto Scaling Storage
So I'm trying to learn more about AWS EC2 Auto Scaling and trying to figure out how exactly storage works between instances. When creating new instances it looks like a new EBS volume for each instance.
If I'm running a web server on EC2 Auto…

Charlie Fish
- 217
- 2
- 9
3
votes
1 answer
Full end to end encryption with AWS Elastic Load Balancer, Nginx and SSL
You will see a lot of places on the web telling you the way to setup SSL with an AWS ELB is to set up a certificate on the load balancer and then forward traffic from port 443 to 80 so that traffic between the load balancer and nginx is unencrypted.…

JamieD
- 221
- 1
- 4
- 10
3
votes
0 answers
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 documentation for setting up HTTPS with my server.
My…

Peter Kaminski
- 133
- 6
3
votes
2 answers
One VPC or many VPC's
I'm relatively new to AWS and I'm trying to design an infrastructure for my application and I'm wondering if I should use one or multiple VPC's within a single region.
My application consists of a few different stacks. E.g. I have a…

Luke
- 3,826
- 8
- 36
- 40
3
votes
0 answers
Running Consul Agent on AWS EB / Elastic Beanstalk
Does anyone have experience of running Consul Agent on AWS? I have a cluster of consul servers running, but want to use the AWS EB to deploy a docker app, and a docker consul agent (progrium/consul) to each Host instance, so that the app can use…

Nevyn
- 31
- 2
3
votes
1 answer
openssl tool cannot get certificate from CloudFront, does anyone know why?
I'm writing a script to check the SSL expiry dates of all my domains.
This works for my normal sites:
echo | openssl s_client -connect $domain:443 2> /dev/null | openssl x509 -noout -enddate
However it does not work for AWS CloudFront. I have…

multipolygon
- 221
- 2
- 7
3
votes
1 answer
Custom file/folder permissions with S3FS?
I have setup an SFTP server using OpenSSH. The home directory for users is /sftp/%user. I'm mounting an S3 bucket at /sftp using S3FS. The problem is that S3FS cascades user permissions down through it's directory structure, meaning:
I can…

T. Brian Jones
- 927
- 4
- 17
- 29
3
votes
3 answers
Override AWS Auto-assign Public IP settings after instance launch
There is a limit to 5 public IP addresses (Elastic IPs) for each AWS Account and I have reached such limit.
Now I have many EC2 instances created without the "Auto-assign Public IP" attribute, which assign a public ip address at start.
This is good…

freedev
- 323
- 5
- 17
3
votes
1 answer
Reset slow_log tables in RDS of AWS
I enabled the slow_log_query in RDS in AWS. I want to reset the table but i am getting Access denied in PhpMyadmin while truncating . Any Idea to make it possible .

suresh
- 301
- 2
- 9
3
votes
2 answers
AWS Encrypted EBS Boot Volumes for Windows Instances
Is it possible to create an encrypted ebs boot volume for a windows ec2 instance?
This AWS example shows how to copy an unencrypted boot volume, creating an encrypted boot volume: aws ec2 copy-image -r us-east-1 -s ami-60b6c60a --encrypted…

Peter M
- 973
- 2
- 15
- 27