
Foundation First! - https://xitter.cf/t.co/1zq68wkMrC (medium) - DevOps | SRE | Cloud | System Design
Joined October 2015
- Tweets453
- Following3.5K
- Followers3K
- Likes175
You should know how exactly terraform state lock works. ( check out the flow diagram below)
++
-lock-timeout tells Terraform how long to keep waiting for a state lock that someone else holds. Without it, Terraform gives up immediately.
I’m learning like there’s no tomorrow. Come along, let’s learn together. #devops
Only constant values are allowed inside terraform block {} (You cannot use variables, locals, data sources or any other expression) do you know why?
- Because this block is read during terraform init, I.e before Terraform evaluates variables so we can't place it there.
1
92
DevOps Diaries: I once ran a DR test on a two-Region setup. I stopped every web server in Region 1 and waited for Route 53 to send users to Region 2. 😅
Nothing happened. Users were still being routed to the dead Region.
What happens here?
Evaluate Target Health was off on the latency alias + The weighted records had no health checks So Route 53 thought everything was healthy.
Latency alias → weighted records → health checks
The failure has to travel up this chain. Break one link and there’s no failover.
Takeaway: “Healthy” in Route 53 only means what you tell it to check. Test your DR before the real outage does. 😊
#AWS #DevOps
1
92
AWS Storage Gateway = Extend your existing on-premises storage to AWS without fundamentally changing how applications access it.
AWS Migration Tools = Move your existing infrastructure, applications, databases, or data from on-premises to AWS.
They solve two different problems: one is about hybrid storage, and the other is about cloud migration.
1
87
Why should DevOps engineers know about #PlanetScale?
It’s managed MySQL (Vitess) and Postgres with a Git-like workflow for databases:
How is PlanetScale different from RDS, Aurora, or Neon? 🤔
Schema changes
RDS/Aurora → you run gh-ost or pt-osc yourself
PlanetScale → branches + deploy requests, with online DDL built in
Scaling writes:
- RDS/Aurora → mostly one writer, so sharding is DIY
- PlanetScale (Vitess) → horizontal sharding built in
vs Neon:
- Neon → serverless Postgres, scale-to-zero, instant branches
- PlanetScale → focus on high scale + safe migrations (Vitess MySQL, now Postgres too)
Trade-off:
No free tier, and Vitess has its own limits (cross-shard queries and foreign keys need care)
133










