โ† Back to list

๐Ÿš€ How to Start Any Infrastructure Upgrade (A Simple Checklist)

Upgrades donโ€™t fail because of tools. They fail because people start without understanding what already exists.

Yamini_V ยท 2026-01-17 01:10 ยท 0 claps ยท 1.3 min read
#upgrades-and-migrations #upgrade #kafka #zookeeper #terragrunt
Open on Medium โ†—
Wiki topics: RAG ยท RAG & Retrieval

๐Ÿš€ How to Start Any Infrastructure Upgrade (A Simple Checklist)

Upgrades donโ€™t fail because of tools. They fail because people start without understanding what already exists.

Hereโ€™s a simple, proven way to begin any infrastructure upgrade โ€” especially if youโ€™re early in your career.

1. Start With the Current State

Before changing anything, list whatโ€™s already deployed:

terragrunt/ terraform state list

This tells you: What resources exist, What Terraform manages, What must still exist after the upgrade

๐Ÿ‘‰ This is your baseline.

2. Understand the System Roles

Always verify:

  • Which node is leader
  • Which nodes are followers
  • How DNS (Route53) maps to instances

For distributed systems, upgrading in the wrong order can cause outages.

3. Confirm DNS & Ownership

Check Route53 and decide:

  • Import existing records if they already exist
  • Create only if they donโ€™t

Never assume Terraform ownership โ€” always verify.

4. Save Evidence Before & During Upgrade

For each node:

  • Save Terraform plan output
  • Capture resources before and after
  • Note any warnings or expected failures

Even a simple screenshot or note is enough.

5. Upgrade One Thing at a Time

Upgrade:

  • One node
  • Validate it fully
  • Then move to the next

1) Exhibitor UI (health/status)

http://zookeeper-kafka-00x-<env>.pvt:8090

2) DNS resolves to the expected IP

dig +short zookeeper-kafka-00x-<env>.pvt

3) Exhibitor logs

journalctl -u exhibitor -f

4) ZooKeeper role (leader/follower)

echo srvr | nc zookeeper-kafka-00x-<env>.pvt 2181

This keeps rollback safe and risk low.

6. Document Everything (Even โ€œNo Issuesโ€)

Write down:

  • What worked
  • What was expected
  • Any issues โ€” or clearly state no issues

This helps future engineers repeat the process confidently.

Final Thought

A good upgrade is not just successful โ€” itโ€™s repeatable.

If someone new can follow your notes and do it again, youโ€™ve done the job right. All the best!โ€ฆ


๋ฉ”ํƒ€๋ฐ์ดํ„ฐ
post_id
e020e812397b
slug
how-to-start-any-infrastructure-upgrade-a-simple-checklist-e020e812397b
url
https://medium.com/@temprnow/how-to-start-any-infrastructure-upgrade-a-simple-checklist-e020e812397b
canonical_url
https://medium.com/@temprnow/how-to-start-any-infrastructure-upgrade-a-simple-checklist-e020e812397b
author_url
https://medium.com/@temprnow
status
ok
fetched_at
2026-06-24 11:06:28