19
votes
Accepted
How to support releasing new versions of the code, running in parallel with the last stable release?
There are a few different ways to achieve goals of this sort, each with some different tradeoffs. I'm going to describe the most common ones below.
The simplest approach is to use Terraform's ...
6
votes
How to ensure equitable distribution of SQS messages in a distributed systems setting?
If there are 100 messages in the queue and 5 consumers, the initial distribution will be no more than 10-10-10-10-10.
A single response can never return more than 10 messages.
This seems like a ...
3
votes
How to ensure equitable distribution of SQS messages in a distributed systems setting?
Long polling is always beneficial since it results in higher performance at reduced cost for the majority of use cases. Unfortunately, you cannot control the number of messages each worker receives ...
3
votes
How to ensure equitable distribution of SQS messages in a distributed systems setting?
Good architecture in how you use SQS queues will solve your problems. If we assume there are, say, 3 minutes of processing per message, then you can almost guarantee equal distribution of the messages ...
2
votes
Accepted
AWS API Gateway as an http proxy to ALB
Try directly accessing https://my-api-lb-111222333.us-east-1.elb.amazonaws.com from your web browser and you'll get a similar error. The SSL certificate is not just used for encryption -- it also ...
2
votes
Are Route 53 DNS records aliasing ELBs guaranteed for their lifetime?
If you’re talking about using a Route 53 ALIAS record, you cannot set the TTL on it, for this reason. It defaults to a low value, and is managed by AWS for you (to the world it appears as an A record, ...
2
votes
Accepted
How to automate rolling upgrades for ec2 running linux behind elastic and/or application load balancer?
AWS have a specific service to deal with this type of use case, EC2 Systems Manager
This allows making base patch sets and then checking they are applied to target systems.
"Patch Manager is a ...
1
vote
AWS elb vs google cloud for multiple small nodejs mini-apps deployment
you can try google cloud run. here you can run containerized applications on a fully managed serverless platform. You might have to containerize your application.
But it can help you reduce the cost ...
1
vote
How to automate rolling upgrades for ec2 running linux behind elastic and/or application load balancer?
As people in the comments are saying, you can do this with aws-cli in bash or in the python boto3 library.
What about ansible? It has the ability to see your ec2 instances and it could handle the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
aws-elb × 9amazon-web-services × 7
amazon-ec2 × 3
kubernetes × 1
terraform × 1
docker-compose × 1
containers × 1
deployment × 1
linux × 1
dockerfile × 1
automation × 1
monitoring × 1
google-cloud-platform × 1
amazon-ecs × 1
dns × 1
load-balance × 1
api × 1
amazon-sqs × 1
aws-codedeploy × 1
immutable-servers × 1
distributed-systems × 1