Use it when working in AWS or Google Cloud with an Azure background, comparing services, or designing multi-cloud.
AWS and Google Cloud
AWS and Google Cloud offer the same building blocks as Azure under different names and with a few structural differences, such as security groups vs NSGs and Google Cloud's global VPC. This Topic maps them so Azure knowledge transfers.
1. Which account/project, identity and region?
2. Which equivalent service am I dealing with?
3. Which structural difference applies (security groups vs NSG, global VPC)?
Azure concept → equivalent AWS/GCP service → provider-specific behaviour (scope, statefulness, region/global) → CLI check
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
aws ec2 describe-security-groups --group-ids sg-0123456789abcdef0Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Read-only Verification Verify boundary
# AWS: who am I, where, and what runs?
aws sts get-caller-identity
aws configure list # profile, region, credential source
aws ec2 describe-instances --query "Reservations[].Instances[].{id:InstanceId, state:State.Name, type:InstanceType, az:Placement.AvailabilityZone}" --output table
aws ec2 describe-security-groups --group-ids sg-0123456789abcdef0
# Google Cloud
gcloud config list
gcloud projects list
gcloud compute instances list
gcloud compute firewall-rules list --format="table(name, network, direction, sourceRanges.list(), allowed[].map().firewall_rule().list())"
Step 2 Common mistakes Narrow the fault
- Assuming NSG behaviour in AWS NACLs (stateless).
- Running AWS CLI commands in the default region by accident.
- Forgetting that a Google Cloud firewall rule applies VPC-wide unless targeted.
- Comparing prices without egress and support costs.
Step 3 Troubleshooting Narrow the fault
AWS instance unreachable though the security group allows it. NACL on the subnet blocks inbound or the return ephemeral ports, route table lacks an internet gateway route, or no public IP.
AWS AccessDenied with an allow policy. An explicit deny (SCP, permission boundary, resource policy) wins.
Google Cloud VM unreachable. Firewall rule target tags or service account do not match the instance, or the rule is on another VPC.
Commands return nothing. Wrong profile/region (AWS) or project (gcloud).
Accounts (AWS) and projects (GCP) correspond to subscriptions. AWS security groups are stateful allow-lists on instances; NACLs are stateless subnet filters. GCP VPCs are global with regional subnets and firewall rules at VPC level. Check identity first: aws sts get-caller-identity, gcloud config list.
aws sts get-caller-identity/aws configure list— account, role, region.aws ec2 describe-instances --query ...— instances and state.gcloud config list/gcloud projects list— account and project.gcloud compute instances list— VMs.
ReferenceWhat it is2 sections · depth on demand
Direct Answer
AWS and Google Cloud provide the same categories of service as Azure — compute, networking, storage, databases, identity, monitoring — with different names and some structural differences. The main ones: AWS accounts and Google Cloud projects play the role of Azure subscriptions; AWS security groups are stateful filters attached to instances and network ACLs are stateless subnet filters; Google Cloud VPCs are global with regional subnets and firewall rules defined on the VPC. Start every session by checking identity, account/project and region.
Scope and canonical references
This Topic maps concepts; Azure Topics hold the detail.
- Azure counterparts: Microsoft Azure, Azure Compute, Azure Networking, Azure Storage, Azure Governance.
- Provider-neutral concepts: Cloud Fundamentals, Cloud Service Models.
- S3 as a protocol: S3 API in Storage.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Service map
| Area | Azure | AWS | Google Cloud |
|---|---|---|---|
| Hierarchy | Management groups → subscriptions → resource groups | Organization → OUs → accounts | Organization → folders → projects |
| Identity | Entra ID, Azure RBAC | IAM (users, roles, policies), IAM Identity Center | Cloud Identity / Workspace, IAM |
| Guardrails | Azure Policy | Service control policies, AWS Config | Organization policies |
| VMs | Virtual Machines | EC2 | Compute Engine |
| Autoscaling | VM Scale Sets | Auto Scaling groups | Managed instance groups |
| Functions | Azure Functions | Lambda | Cloud Run functions |
| Serverless containers | Container Apps | Fargate, App Runner | Cloud Run |
| Kubernetes | AKS | EKS | GKE |
| Virtual network | VNet (regional) | VPC (regional) | VPC (global, regional subnets) |
| Instance firewall | NSG (subnet/NIC) | Security group (stateful, allow-only) | VPC firewall rules / policies (stateful) |
| Subnet filter | NSG on subnet | Network ACL (stateless) | — |
| Private PaaS access | Private Endpoint | Interface VPC endpoint (PrivateLink) | Private Service Connect |
| Outbound NAT | NAT Gateway | NAT gateway | Cloud NAT |
| Private circuit | ExpressRoute | Direct Connect | Cloud Interconnect |
| L4 / L7 load balancing | Load Balancer / Application Gateway, Front Door | NLB / ALB, CloudFront | Cloud Load Balancing (global and regional) |
| DNS | Azure DNS | Route 53 | Cloud DNS |
| Object storage | Blob Storage | S3 | Cloud Storage |
| Block storage | Managed disks | EBS | Persistent Disk / Hyperdisk |
| File storage | Azure Files | EFS, FSx | Filestore |
| Relational DB | Azure SQL, Azure Database for PostgreSQL/MySQL | RDS, Aurora | Cloud SQL, AlloyDB |
| Monitoring | Azure Monitor, Log Analytics | CloudWatch | Cloud Monitoring, Cloud Logging |
| Audit log | Activity Log | CloudTrail | Cloud Audit Logs |
| Secrets | Key Vault | Secrets Manager, KMS | Secret Manager, Cloud KMS |
| IaC (native) | Bicep / ARM | CloudFormation | Infrastructure Manager (Terraform) |
Differences that cause mistakes
- AWS security groups only have allow rules and attach to network interfaces; NACLs are stateless, so return traffic (ephemeral ports) must be allowed explicitly.
- AWS IAM policies are JSON documents attached to identities or resources; an explicit deny anywhere wins.
- Google Cloud VPC spans all regions; subnets are regional; firewall rules target instances by network tags or service accounts.
- Google Cloud IAM binds roles to principals on the resource hierarchy (organization, folder, project, resource), similar to Azure RBAC scopes.
- Regions and zone names differ (
westeuropevseu-west-1vseurope-west1), and not every service exists in every region.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Deep reference
Healthy vs suspicious evidence
Output interpretation
aws ec2 describe-instances state names running, stopped (EBS still billed) and terminated; describe-security-groups lists inbound and outbound rules — security groups are stateful and allow-only, while network ACLs are stateless and evaluated in rule-number order.
gcloud compute instances list shows STATUS (RUNNING, TERMINATED — stopped in GCP terms) and zone; gcloud compute firewall-rules list shows priority and direction, lower number wins.
Identity checks: aws sts get-caller-identity and gcloud auth list tell you which identity your command ran as — the usual reason a resource is "missing" is the wrong account or project.
Design & tradeoffs
Design decisions
Concept mapping helps teams move between providers: Azure subscription ≈ AWS account ≈ GCP project; VNet ≈ VPC; NSG ≈ security group/firewall rule; Entra ID roles ≈ IAM roles/policies.
Differences matter: AWS security groups and GCP firewall rules attach differently from NSGs; GCP VPCs are global while subnets are regional; IAM inheritance models differ.
Choose per workload: a managed service only one provider offers well can justify a second cloud; duplicating everything for portability rarely pays off.