Pcornel
Browse topics
Options
Recent
Favorites
Cloud · Technical reference

AWS and Google Cloud

Direct answer

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.

When to use this

Use it when working in AWS or Google Cloud with an Azure background, comparing services, or designing multi-cloud.

First 30 seconds

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)?

Operational verification

Azure concept → equivalent AWS/GCP service → provider-specific behaviour (scope, statefulness, region/global) → CLI check

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Amazon Web Services and Google Cloud, mapped to Microsoft Azure.
Applicability is projected only from persisted Topic profile and Command metadata.
At a glance

Operational reference

Fast context before you go deeper.

PlatformAmazon Web Services and Google Cloud, mapped to Microsoft Azure.
Key commandaws ec2 describe-security-groups --group-ids sg-0123456789abcdef0
Scope / prerequisiteUse it when working in AWS or Google Cloud with an Azure background, comparing services, or designing multi-cloud.
What next?2 suggested next steps
Evidence0
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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).

Key points

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.

Key checks
  • 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.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Service map

AreaAzureAWSGoogle Cloud
HierarchyManagement groups → subscriptions → resource groupsOrganization → OUs → accountsOrganization → folders → projects
IdentityEntra ID, Azure RBACIAM (users, roles, policies), IAM Identity CenterCloud Identity / Workspace, IAM
GuardrailsAzure PolicyService control policies, AWS ConfigOrganization policies
VMsVirtual MachinesEC2Compute Engine
AutoscalingVM Scale SetsAuto Scaling groupsManaged instance groups
FunctionsAzure FunctionsLambdaCloud Run functions
Serverless containersContainer AppsFargate, App RunnerCloud Run
KubernetesAKSEKSGKE
Virtual networkVNet (regional)VPC (regional)VPC (global, regional subnets)
Instance firewallNSG (subnet/NIC)Security group (stateful, allow-only)VPC firewall rules / policies (stateful)
Subnet filterNSG on subnetNetwork ACL (stateless)—
Private PaaS accessPrivate EndpointInterface VPC endpoint (PrivateLink)Private Service Connect
Outbound NATNAT GatewayNAT gatewayCloud NAT
Private circuitExpressRouteDirect ConnectCloud Interconnect
L4 / L7 load balancingLoad Balancer / Application Gateway, Front DoorNLB / ALB, CloudFrontCloud Load Balancing (global and regional)
DNSAzure DNSRoute 53Cloud DNS
Object storageBlob StorageS3Cloud Storage
Block storageManaged disksEBSPersistent Disk / Hyperdisk
File storageAzure FilesEFS, FSxFilestore
Relational DBAzure SQL, Azure Database for PostgreSQL/MySQLRDS, AuroraCloud SQL, AlloyDB
MonitoringAzure Monitor, Log AnalyticsCloudWatchCloud Monitoring, Cloud Logging
Audit logActivity LogCloudTrailCloud Audit Logs
SecretsKey VaultSecrets Manager, KMSSecret Manager, Cloud KMS
IaC (native)Bicep / ARMCloudFormationInfrastructure 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 (westeurope vs eu-west-1 vs europe-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
Terminology layer

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.

Aliases that resolve here
awsamazon web servicesgoogle cloudgcpaws vpcsecurity groupec2s3azure aws gcp comparison
Depth when you need it

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.

Confirmation

Confirm action

Continue?