📦 Ship to Production — app9.7
Developer CourseModule 9: Ship to Productionapp9.7
Reading8 min

FDE Context: Going Live at a Customer Site

📦 Module 9: Ship to Production

FDE Context: Going Live at a Customer Site

You have built the app. You have tested it in the sandbox. Now you are at a Khazna data center and the operations team is watching you deploy.

This is the go-live checklist that every FDE follows.

The Go-Live Checklist

#CheckHow to VerifyPass Criteria
1All meters readingGET /api/v1/sites/:id — check assets arrayEvery asset has a reading < 5 min old
2Dispatch latencyPOST /api/v1/dispatch — measure round tripCommand → acknowledged in < 30 seconds
3Carbon attestation runningGET /api/v1/carbon/records/:facilityIdNew records every 30 minutes
4Hash chain verifiedGET /api/v1/carbon/verify/:meterIdchain_valid: true
5Customer dashboard accessHave the customer log in and view dataThey can see live readings and carbon data

What Can Go Wrong (And How to Fix It)

Problem: Meter reads are stale.

The Modbus connection dropped. Check the on-site network. Verify port 502 is open. Restart the polling agent. This is the most common issue — TAQA sites with unstable WiFi hit this weekly.

Problem: Dispatch takes 90 seconds instead of 30.

The battery's BMS has a slow response time. Check the protocol (Modbus RTU is slower than TCP). Verify the read-back polling interval. If the BMS is genuinely slow, document it and adjust the SLA.

Problem: Hash chain shows `chain_valid: false`.

A record was inserted out of order or a record was deleted. This is serious. Pull the full chain with GET /api/v1/carbon/records/:facilityId, find the break, and escalate to engineering. Do not try to fix hash chains manually.

Problem: Customer cannot log in.

Check their account was provisioned. Verify their role is viewer or higher. Test from their browser — some corporate proxies block API calls.

The First 24 Hours

After go-live, you stay on watch. Run this every hour:

# Quick health check
curl -s https://app.energyatit.com/api/v1/health | jq .
curl -s -H "Authorization: eat_live_YOUR_KEY" \
  https://app.energyatit.com/api/v1/carbon/verify/METER_ID | jq .chain_valid
# Quick health check
curl.exe "https://app.energyatit.com/api/v1/health" | ConvertFrom-Json | ConvertTo-Json -Depth 10
curl.exe -H "Authorization: eat_live_YOUR_KEY" "https://app.energyatit.com/api/v1/carbon/verify/METER_ID" | ConvertFrom-Json | ConvertTo-Json -Depth 10

If both return clean, you are good. If either fails, you are on the phone with the site team.

The FDE who goes live smoothly is the one who rehearsed the failure scenarios in the sandbox first. Every outage at Khazna that got resolved in under 10 minutes was handled by someone who had seen that exact failure in sandbox mode the week before.

Log in to track your progress and earn certifications.