Skip to main content

Command Palette

Search for a command to run...

Ensure No Product Tenants Are Opened During Maintenance Mode

Updated
1 min read
Ensure No Product Tenants Are Opened During Maintenance Mode

🚀 How to set maintenance mode for thousands of tenants

🚀 Why need to Ensure No Product Tenants Are Opened During Maintenance Mode

  • During maintenance mode, the database might be running migrated so the customer should not access the site

  • We need to ensure no tenant product point to ALB directly except test/demo sites. Here is the way to manually check (free feel to automate it)

aws route53  list-resource-record-sets --hosted-zone-id Z39FXXXXXXXXXX --query "ResourceRecordSets[?Type == 'CNAME']" | jq -r '.[] | [([.Name, .ResourceRecords[].Value] | join(", "))] | @csv' | 
grep "alb-.*..amazonaws.com" | grep -Ev "test|demo"

Blog · Github · Web · Linkedin · Group · Page · Twitter

More from this blog

V

Vu Dao

102 posts

🚀 AWSome Devops | AWS Community Builder | AWS SA || ☁️ SimflexCloud ☁️