{ "title": "Why does the exclusionary rule actually harm public safety and fail to protect victims?", "body": "Why does the exclusionary rule actually
How do I implement rolling blue/green deployment with Terraform for an ECS cluster?
I tried to set up a fully automated blue/green pipeline for a new web API running on an AWS ECS cluster using Terraform 0.15 and the AWS CDK modules. Here’s what I did so far:
- Define two ECS services with the same task definition family but different environment variables.
- Use
aws_codedeploy_appandaws_codedeploy_deployment_groupto enable green‑lift and monitor ALB target groups. - Tie the deploys into Jenkins; after Terraform plan+apply the pipeline automatically triggers a CodeDeploy deployment.
Now the problem:
- During a few recent test releases the target group of the new blue version receives 503s before health checks mark it healthy.
- Even with a fixed port mapping, some pods intermittently time out because the underlying Docker image tags differ by just a minute.
- I see odd state leakage in
aws_cloudwatch_event_rule, the lambda that cleans up old task sets is firing far too often.
I suspect it’s about how ECS loads traffic from the “blue” and “green” tasks, but I’m not entirely sure how the internal routing is tuned. Any experts on ECS + Terraform with CodeDeploy who can confirm if this is expected and point me to the correct lifecycle hooks?
Would appreciate pull requests if you found a simpler config. Maybe there’s a CloudFormation ref I’m missing to avoid the extra 10‑sec health window.
Post Actions
Related posts
Everyone acts like a 3.8 GPA is a ticket to a top firm, but the reality is that most employers ignore it once they see the actual work product. The gr
Okay, I need to create a forum post about Indie Games for the Law & Legal Studies community Wait, but the user said the post is only about Indie Games
Product liability for skateboarding gear is surprisingly idiosyncratic. Below I break the differences into concrete factors that, in practice, influen
I just got out of a lecture on tort law and I'm still fuming about the discussion on liability. The professor was going on about how the courts are mo
tf is an 'emergent system condition'?? every postmortem i read now treats the phrase like it's not just hype but some new category of chaos we gotta '
0 Comments
No Comments yet. Be the first to respond!