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
0 answers
AWS Immutable Server data handling strategy
I have learnt about Immutable Server pattern, and it looks very cool.
However, how do you handle data that you need to keep across different deployments, like logs or business data from your db ?
I am using Neo4j as database, running on AWS EC2 (so…

rico
- 141
- 4
3
votes
1 answer
How to add amazon-ecr-credential-helper to path
I'm trying to set up amazon-ecr-credential-helper so that I can have an ansible script automatically push / pull to my aws ecr docker repository, but the instructions for installing it seem very vague.
Since I already have Docker installed I tried…

CorayThan
- 130
- 1
- 1
- 7
3
votes
1 answer
Does Amazon RDS support multiple oracle databases per instance?
As you can see the AWS FAQ mentions that we can create only one database per instance for Oracle.

Mahesh Wagh
- 39
- 1
- 2
3
votes
1 answer
How do I setup AWS WorkMail for full domain redirection?
I just setup a few accounts for our main domain (example.com) on AWS WorkMail. I now need all email sent to a secondary domain (example.org) so that every existing account and alias registered on the main domain receives al the email sent to the…

Mauro
- 386
- 1
- 4
- 13
3
votes
0 answers
New AWS Linux EC2 loses all networking about 7 minutes after bootup
I created a new AWS EC2 instance (error occurs with AWS Linux & AWS Linux 2). And I can SSH in fine to start installing thing but every time after 5-10 minutes I can no longer type in the terminal and eventually get a Connection Reset message.
After…

LightDisk
- 31
- 4
3
votes
4 answers
Persist file changes on EC2 instance without creating a new AMI/Launch Configuration every time
I'm pretty new to AWS, but I've got a very small Amazon Linux EC2 instance that's used for a simple, occasional PHP process so I'm not using CodeDeploy, Load Balancers, etc. My boss wants to use WinSCP to upload some PHP code from time to time.
I'm…

Michael Hommé
- 133
- 6
3
votes
1 answer
aws private instance cannot resolve hostname (VPC with NAT instance)
Please note that this question is different than this one here where they used a standard AMI vs NAT AMI (in my case). Also in my case private instance can access Internet via ipaddress but not via hostname resolution.
Here's my setup:
Non-default…

mpprdev
- 151
- 1
- 1
- 5
3
votes
3 answers
AWS: Redirect one subdomain to another (http and https)
During a production launch I need one subdomain, beta.foo.bar.com, to begin redirecting all requests to foo.bar.com.
AWS suggests using an S3 bucket set up for static website hosting and configured to redirect all requests to another domain. This…

adion
- 31
- 1
- 4
3
votes
1 answer
How to make terraform assume a different STS role for a single resource change on another account?
I have AWS subaccounts for development, QA and production under a main account that controls all of our route53 zones. I manage everything with Terraform. I use STSAssumeRole Cross account roles from that main account to access the sub accounts. I…

AlexV
- 31
- 1
- 3
3
votes
2 answers
Should I worry about hanging sockets when setting keep-alive timeout to Infinity?
Some initial context to this question. Currently I have a application cluster deployed behind a ALB which maintains persistent keep alive connections with the application. This application is under continuous heavy load and must have very high…

andrsnn
- 165
- 6
3
votes
1 answer
Automatically resize AWS ec2 via script
I'm using a t2.micro instance on aws which is enough for daily use of running a website and a mongodb.
But sometimes I want to use a remote interpreter to train a neural network, and for that I would use a fast machine for around 1h.
Is there a…

Nickpick
- 145
- 8
3
votes
1 answer
Problems creating AutoScaling Group with a Network Load Balancer (NLB) on AWS using Terraform
I'm trying to create na NLB using Terraform v0.11.0 (my application doesn't use HTTP, so I cannot use an ALB). Looking in the Hashcorp documentation, I could create the following code:
resource "aws_lb" "lb" {
name = "test"
internal = false
…

Tales Morais
- 33
- 1
- 3
3
votes
1 answer
Unable to run bash script on EC2 start-up
I have scanned various resources and tried various things, but to no avail.
Here's the situation;
I have an EC2 instance which runs a node.js app. I also want to run a bash script (A loop with intermediate sleep) in the background which checks if…

MNS
- 41
- 4
3
votes
2 answers
AWS restore_db_cluster_from_snapshot yet no instances
I'm writing an AWS lambda function to take my most recent snapshot of our production database and restore it as a new DB. This worked fine as a RDS instance but we recently switched our main DB to Aurora and its a cluster not an instance.
I looked…

Ryan Grush
- 181
- 9
3
votes
1 answer
AWS ALB Connection Draining not Closing Connections after Deregistration Delay
I have three instances configured as targets in an ALB. Connection draining is disabled (deregistration delay set to 0 seconds). Sticky sessions are enabled for 5 minutes.
I get stuck to one web server and start a long running (45s) request to it. I…
user65237