You're migrating an app from AWS to Azure. How do you plan it?
IntermediateScenarioReliability, Cost and Migration
Answer
Situation read → Map services, rebuild IaC, migrate data, cut over with rollback.
What I'd do →
- Inventory and map: EKS→AKS, ECR→ACR, RDS→Azure Database for PostgreSQL, S3→Blob, Secrets Manager→Key Vault, ALB→App Gateway, Route 53→Azure DNS
- Rebuild IaC in Terraform azurerm; don't translate CloudFormation literally
- Identity: IRSA → workload identity; IAM policies → RBAC data roles
- Data: Azure Database Migration Service or logical replication for PostgreSQL; AzCopy for S3 to Blob (
azcopy copy 'https://s3.amazonaws.com/bucket' 'https://acct.blob.core.windows.net/c' --recursive) - Cut over with low DNS TTLs; keep AWS running for rollback
Why → Services map closely; identity and networking differ most and need redesign, not translation.
Interview tip → Mention subnets spanning AZs and RG structure as design differences.
More on Reliability, Cost and Migration
A key customer wants a 99.99% SLA for an app currently in a single region. What do you propose?AdvancedYou need to define RTO and RPO for a workload and build DR. Walk through it.IntermediateMonthly Azure spend is 30% over budget. What's your 30-day plan?IntermediateDev and test environments run 24/7. How do you cut their cost?IntermediateA region-wide Azure incident is affecting your primary region. What do you do?AdvancedYou're asked to cut Log Analytics costs by half without losing important data.Intermediate