Securing AWS and Google Cloud together
Securing AWS and Google Cloud together starts with workload identity federation in both directions instead of copying service account or access keys, then one workforce identity provider, retention set on both sides to what you must keep, one log destination, a posture home and restated network rules. Of the 6 steps, 2 are provider guidance and 4 are inferences.
What should I align first?
The steps below are in the order to do them.
Workload identity: federate in both directions instead of copying service account keys or access keys.
Provider guidance.Google's Workload Identity Federation page lists running on AWS or Azure as a supported case. In the other direction, AWS says OIDC identity providers from Google are built into AWS and need no separate IAM identity provider, so a Google-issued ID token can be exchanged for temporary role credentials with AssumeRoleWithWebIdentity; AWS's page describes this for apps, so using it for Google Cloud workloads is an inference from that page.
Basis: Google IAM documentation; AWS IAM OIDC role creation.
Pages: AWS: id_roles_create_for-idp_oidc, Google Cloud: workload-identity-federation
Human identity: choose one workforce IdP for both.
Inference from the cited differences.Google's Workforce Identity Federation accepts external IdPs over OIDC or SAML 2.0; AWS IAM supports SAML and OIDC identity providers. For people, AWS IAM Identity Center is the AWS side to connect: AWS says that with it you only federate once, with one certificate to manage when using a SAML 2.0 identity provider, so one workforce IdP can sign people in to Google Cloud through Workforce Identity Federation and to AWS accounts through IAM Identity Center.
Rests on: four single-cloud pages: Google Workforce Identity Federation; AWS IAM OIDC and SAML identity providers; AWS IAM Identity Center.
Pages: AWS: id_roles_providers_oidc, AWS: id_roles_providers_saml, AWS: what-is, Google Cloud: workforce-identity-federation
Audit logs: set retention on both sides to the period you must keep, because the defaults differ.
Inference from the cited differences.CloudTrail event history keeps 90 days; the Google Cloud _Default log bucket keeps 30 days while Admin Activity audit logs go to _Required for 400 days. Data events (CloudTrail) and Data Access audit logs (Google Cloud, except BigQuery) are both off by default.
Log destination: route to one place with sinks and trails.
Inference from the cited differences.Google log sinks route to Pub/Sub for third-party tools; CloudTrail organization trails cover member accounts; Security Lake normalizes to OCSF. Security Lake also accepts third-party custom sources, which must first convert their logs and events to OCSF and meet its partitioning and Parquet requirements, so Google Cloud logs exported through a Pub/Sub sink can land there once converted.
Rests on: single-cloud pages: Cloud Logging routing; AWS CloudTrail organization trails; AWS Security Lake; AWS Security Lake custom sources.
Pages: AWS: creating-trail-organization, AWS: custom-sources, AWS: what-is-security-lake, Google Cloud: configure_export_v2, Google Cloud: overview
Posture: decide where the combined view lives, noting the dated tier change.
Provider guidance.Security Command Center's AWS connector is on the Enterprise tier, which Google says shuts down on 21 May 2027, with organizations moving to Premium. The service tiers page describes Standard and Premium as covering Google Cloud only and names AWS and Azure only under Enterprise; none found on 21 Nov 2026 for an AWS connector on the Premium tier. On the AWS side, Security Hub CSPM documents a Google Cloud integration (CIS Google Cloud Platform Foundation Benchmark v4.0.0, 69 controls). After 21 May 2027 the documented native option for one view is Security Hub CSPM, or a third-party platform such as those in the coverage atlas.
Basis: SCC documentation; Security Hub CSPM Google Cloud integration.
Pages: AWS: securityhub-gcp, Google Cloud: service-tiers, Google Cloud: activate-scc-overview, Google Cloud: connect-scc-to-aws
Network rules: map Google's global VPC firewall to AWS per-Region security groups.
Inference from the cited differences.VPC networks and their firewall rules are global in Google Cloud, while AWS security groups are tied to a VPC and Region. Both start by allowing egress, but they differ on ingress: AWS's default security group allows inbound traffic from resources in the same group, while Google's implied rules deny all ingress but the default network adds rules at priority 65534 that allow SSH (TCP 22), RDP (TCP 3389) and ICMP from 0.0.0.0/0 and all internal traffic from 10.128.0.0/9; these can be deleted or changed. A rule set copied from one side therefore changes in scope (global against per-Region) and in what inbound traffic it allows.
Which native service does each job?
These are the native services for each security job on AWS and Google Cloud; the descriptions are on the service equivalents page. Google's own comparison page maps Cloud Audit Logs to AWS CloudTrail, Cloud KMS to AWS KMS, Cloud Identity to AWS IAM Identity Center, Organization Policy Service and Cloud Asset Inventory to AWS Config, and Security Command Center to Amazon GuardDuty, AWS Security Hub, AWS Audit Manager and AWS Config (Google Cloud: aws-azure-gcp-service-comparison).
| Job | AWS | Google Cloud |
|---|---|---|
| Audit logging | AWS CloudTrail | Cloud Audit Logs (in Cloud Logging) |
| Identity | AWS IAM Identity Center and AWS IAM | Cloud IAM (with Cloud Identity and Workforce Identity Federation) |
| Configuration recording and posture | AWS Config and AWS Security Hub CSPM | Security Command Center and Cloud Asset Inventory |
| Keys | AWS KMS | Cloud KMS (with Cloud HSM and Cloud EKM) |
| Network controls (instance and interface level) | Security groups | VPC firewall rules (Cloud NGFW) |
| Threat detection | Amazon GuardDuty | Security Command Center threat detection (Event Threat Detection) |
Which defaults differ for this pair?
These are the documented differences between AWS and Google Cloud; the steps link the ones they rest on, and the five-cloud tables are on the audit log defaults and service equivalents pages.
| Topic | AWS | Google Cloud |
|---|---|---|
| How long audit events stay by default | Event history keeps the past 90 days of management events; longer needs a trail or event data store. AWS: view-cloudtrail-events | The _Required log bucket (Admin Activity and System Event audit logs) keeps 400 days and is not configurable; the _Default bucket keeps 30 days; a project's _Default bucket can be set from 1 to 3650 days, a folder or organization _Default bucket cannot. Google Cloud: quotas |
| Whether data-plane (data event) logging is on by default | By default trails and event data stores do not log data events; additional charges apply. AWS: logging-data-events-with-cloudtrail | Except for BigQuery, Data Access audit logs are disabled by default. Google Cloud: audit |
| Scope of the network rule object | A security group can be assigned to resources in its VPC, or via Security Group VPC Association to other VPCs in the same Region. AWS: vpc-security-groups | VPC networks, including their associated routes and firewall rules, are global resources not tied to a region or zone. Google Cloud: vpc |
| What the network control allows when you add no rules | A default security group comes with every VPC; it allows inbound traffic from resources that use the same group and allows all outbound IPv4 traffic. AWS: default-security-group | The implied rules deny ingress and allow egress; the default network is pre-populated, at priority 65534, with default-allow-ssh (TCP 22), default-allow-rdp (TCP 3389) and default-allow-icmp from 0.0.0.0/0 and default-allow-internal from 10.128.0.0/9, rules that can be deleted or changed. Google Cloud: firewalls |
| How long configuration history stays | AWS Config keeps ConfigurationItems for 7 years (2557 days) by default; a retention period between 30 days and 7 years can be set. AWS: delete-config-data-with-retention-period | Cloud Asset Inventory keeps create, update and delete history for up to 35 days. Google Cloud: overview |
| What each provider's own security service says about other clouds | Security Hub CSPM has a documentation page for integrating Google Cloud (CIS Google Cloud Platform Foundation Benchmark v4.0.0, 69 controls). Amazon Inspector's pricing page lists scanning of GCP Virtual Machines, Cloud Run functions and Artifact Registry. AWS: securityhub-gcp, AWS: pricing | Security Command Center connects to AWS for configuration and resource data collection on the Enterprise tier, which Google says shuts down on 21 May 2027; organizations on it move to Premium on or after that date. Google Cloud: connect-scc-to-aws, Google Cloud: service-tiers |
Sources
- AWS: aws.amazon.com/inspector/pricing read 21 Nov 2026
- AWS: docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-trail-organization.html read 20 Nov 2026
- AWS: docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html read 20 Nov 2026
- AWS: docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events.html read 20 Nov 2026
- AWS: docs.aws.amazon.com/config/latest/developerguide/delete-config-data-with-retention-period.html read 20 Nov 2026
- AWS: docs.aws.amazon.com/config/latest/developerguide/WhatIsConfig.html read 20 Nov 2026
- AWS: docs.aws.amazon.com/guardduty/latest/ug/what-is-guardduty.html read 20 Nov 2026
- AWS: docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-idp_oidc.html read 21 Nov 2026
- AWS: docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_oidc.html read 21 Nov 2026
- AWS: docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_saml.html read 20 Nov 2026
- AWS: docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html read 21 Nov 2026
- AWS: docs.aws.amazon.com/security-lake/latest/userguide/custom-sources.html read 21 Nov 2026
- AWS: docs.aws.amazon.com/security-lake/latest/userguide/what-is-security-lake.html read 21 Nov 2026
- AWS: docs.aws.amazon.com/securityhub/latest/userguide/securityhub-gcp.html read 21 Nov 2026
- AWS: docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html read 21 Nov 2026
- AWS: docs.aws.amazon.com/vpc/latest/userguide/default-security-group.html read 21 Nov 2026
- AWS: docs.aws.amazon.com/vpc/latest/userguide/vpc-security-groups.html read 20 Nov 2026
- Google Cloud: cloud.google.com/docs/get-started/aws-azure-gcp-service-comparison read 21 Nov 2026
- Google Cloud: cloud.google.com/security-command-center/docs/service-tiers read 21 Nov 2026
- Google Cloud: docs.cloud.google.com/asset-inventory/docs/overview read 20 Nov 2026
- Google Cloud: docs.cloud.google.com/firewall/docs/firewalls read 21 Nov 2026
- Google Cloud: docs.cloud.google.com/iam/docs/overview read 20 Nov 2026
- Google Cloud: docs.cloud.google.com/iam/docs/workforce-identity-federation read 20 Nov 2026
- Google Cloud: docs.cloud.google.com/iam/docs/workload-identity-federation read 21 Nov 2026
- Google Cloud: docs.cloud.google.com/kms/docs/key-rotation read 21 Nov 2026
- Google Cloud: docs.cloud.google.com/logging/docs/audit read 20 Nov 2026
- Google Cloud: docs.cloud.google.com/logging/docs/export/configure_export_v2 read 20 Nov 2026
- Google Cloud: docs.cloud.google.com/logging/docs/routing/overview read 20 Nov 2026
- Google Cloud: docs.cloud.google.com/logging/quotas read 21 Nov 2026
- Google Cloud: docs.cloud.google.com/security-command-center/docs/activate-scc-overview read 20 Nov 2026
- Google Cloud: docs.cloud.google.com/security-command-center/docs/concepts-event-threat-detection-overview read 21 Nov 2026
- Google Cloud: docs.cloud.google.com/security-command-center/docs/connect-scc-to-aws read 20 Nov 2026
- Google Cloud: docs.cloud.google.com/vpc/docs/vpc read 20 Nov 2026
Last reviewed