TExcelTAD
Home › Azure & Google Cloud for AWS Users › Field Notes: Translating Between Clouds

Field Notes: Translating Between Clouds

These are the mistakes that keep showing up when AWS-experienced engineers start on Azure and Google Cloud. Each one has bitten real teams; most are cheap to prevent once you know them.

1. Translate scope before you translate services

Before mapping "EC2 → VM", write down the scope of everything in the design: zonal, regional, global. Then check it on the target cloud. The repeat offenders:

  • Google Cloud VPC networks, firewall rules, routes, images and the external Application Load Balancer are global. A firewall rule you add "for europe-west1" applies to every region of that network unless you target it.
  • Azure subnets span zones, so "one subnet per AZ" designs produce three times the subnets you need, and NSGs per AZ that drift apart.
  • Azure VMs created without a zone have no zone guarantee. "Two VMs for HA" may share a zone.

2. Turn off the convenient defaults

Default Cloud What to do
az vm create makes a public IP and an NIC-level NSG Azure pass --public-ip-address "" and --nsg "" (or use IaC)
Subnets in older VNets have default outbound access Azure make subnets private, add NAT Gateway; in Terraform set default_outbound_access_enabled = false
az vm stop keeps compute billed Azure az vm deallocate
The default auto-mode network with permissive rules Google Cloud delete it; create custom-mode networks (Organization Policy compute.skipDefaultNetworkCreation)
Default Compute Engine service account used by every VM Google Cloud create one service account per workload; don't grant the default one broad roles
Data Access audit logs off Google Cloud enable for sensitive services before you need them
Resource logs not collected Azure diagnostic settings, deployed by policy
Storage account keys enabled Azure --allow-shared-key-access false, Entra ID data roles

3. Every permission system has a "looks right, doesn't work" mode

  • Azure: management-plane roles (Owner, Contributor) don't include data access. "I'm Owner but get 403 reading a blob / secret" means you need Storage Blob Data … or Key Vault Secrets ….
  • Azure: role assignments take minutes to propagate. Scripts and pipelines that assign then use a role need a retry loop.
  • Azure: assignments want the object ID (principal ID). Passing a managed identity's client ID gives "principal not found" or, worse, nothing obvious.
  • Google Cloud: set-iam-policy and google_project_iam_policy / _binding are authoritative. One person's Terraform can silently delete another team's grants.
  • Google Cloud: workload identity identifiers use the project number; IAM bindings, gcloud config and most commands use the project ID. Keep both in your variables.

4. Names are global, and deleted names may stay taken

Storage accounts, Key Vaults, ACR registries, Cloud Storage buckets and Google Cloud project IDs are globally unique. Add a short, stable suffix (uniqueString() in Bicep, a random_id in Terraform kept in state) instead of retrying names by hand. And soft delete keeps names reserved: a purge-protected Key Vault name is unusable until its retention period ends; a deleted project ID is never reusable.

5. Quotas on a new subscription or project are small

New subscriptions and projects start with conservative regional quotas (vCPUs per VM family, public IPs, GPUs, sometimes even the number of clusters). The first production deploy is a bad time to discover a quota of a few vCPUs. Request increases (Azure Quotas page, Google Cloud Quotas & system limits) as part of creating the subscription or project.

6. Health checks and platform IPs need firewall rules

Google Cloud load balancer health checks come from 35.191.0.0/16 and 130.211.0.0/22; IAP SSH from 35.235.240.0/20. Azure needs the AzureLoadBalancer service tag allowed (it is, in the default NSG rules, until someone adds a higher-priority deny-all). Every "backends are unhealthy but the app works" ticket starts here.

7. Global networks make cross-region traffic easy, and billed

A global VPC network lets europe-west1 talk to us-central1 on private IPs with no peering. That's convenient, and every gigabyte crossing regions is charged. Put chatty services in the same region, and watch inter-region and inter-zone traffic in billing reports on all three clouds.

8. Lint the translated design

A design review can be partly automated. This model checks a simple translated design for the issues above:

python · try it yourself
design = {
    "cloud": "azure",
    "subnets": [{"name": "snet-app", "default_outbound": True, "nat": False},
                {"name": "snet-data", "default_outbound": False, "nat": False}],
    "vms": [{"name": "vm-api-1", "zone": None, "public_ip": True},
            {"name": "vm-api-2", "zone": "2", "public_ip": False}],
    "role_assignments": [{"principal": "id-shop-api", "role": "Contributor", "scope": "storage"}],
    "storage": [{"name": "stshopprod", "shared_key": True}],
}

def lint(d):
    issues = []
    for s in d["subnets"]:
        if s["default_outbound"]:
            issues.append(f"subnet {s['name']}: relies on default outbound access; make it private + NAT")
    for v in d["vms"]:
        if v["zone"] is None:
            issues.append(f"vm {v['name']}: no zone pinned; HA not guaranteed")
        if v["public_ip"]:
            issues.append(f"vm {v['name']}: public IP; put it behind a load balancer or Bastion")
    for r in d["role_assignments"]:
        if r["scope"] == "storage" and r["role"] in ("Owner", "Contributor"):
            issues.append(f"{r['principal']}: {r['role']} gives no blob data access and too much control;"
                          " use Storage Blob Data Reader/Contributor")
    for st in d["storage"]:
        if st["shared_key"]:
            issues.append(f"storage {st['name']}: shared key access enabled")
    return issues

for i, issue in enumerate(lint(design), 1):
    print(f"{i}. {issue}")
1. subnet snet-app: relies on default outbound access; make it private + NAT
2. vm vm-api-1: no zone pinned; HA not guaranteed
3. vm vm-api-1: public IP; put it behind a load balancer or Bastion
4. id-shop-api: Contributor gives no blob data access and too much control; use Storage Blob Data Reader/Contributor
5. storage stshopprod: shared key access enabled

In real projects these checks belong in policy (Azure Policy, Organization Policy) and in IaC linters, so the review happens on every pull request rather than once.

9. Read the provider's own landing-zone guidance first

Microsoft's Azure landing zone and Google's enterprise foundations blueprint encode years of these lessons (hierarchy, networking, logging, guardrails). Even if you don't adopt them wholesale, read them before creating the first production subscription or folder; restructuring a hierarchy later is far harder than starting with a good one.

Test yourself

You are Owner on an Azure subscription but get 403 reading a secret from Key Vault (RBAC model). Why?

  1. Owner is read-only
  2. Owner covers management operations; reading secret values needs a data role such as Key Vault Secrets User
  3. Key Vault is in another tenant
  4. Secrets can't be read by people

Why should you plan quota increases when creating a new subscription or project?

  1. Quotas are unlimited
  2. New subscriptions/projects start with small regional quotas that can block the first real deployment
  3. Quotas only apply to storage
  4. Quota increases are instant and automatic

Which address ranges must a Google Cloud firewall allow for load balancer health checks?

  1. 10.0.0.0/8
  2. 35.191.0.0/16 and 130.211.0.0/22
  3. 169.254.169.254/32
  4. 0.0.0.0/0 only