Original study notes for cloud certification exams — Google Cloud first, more clouds in build.

Identity-Aware Proxy Study Notes

Identity-Aware Proxy (IAP) verifies a user's identity and the context of their request before granting access to applications and VMs. It enables zero-trust access over the public internet, so users do not need a VPN to reach internal web apps, SSH, or RDP.

Exam tip: Questions asking for SSH or web access with no VPN and no public IPs are IAP questions; look for the tunnel or web app user role.

Key facts

What the exam expects you to know

Identity-Aware Proxy vs Cloud VPN: when to use which

Use IAP when named users need access to a specific application, SSH, or RDP session and you want per-user, per-request identity checks with no network-level trust. Use Cloud VPN when entire networks need encrypted connectivity, such as linking an on-premises data center to a VPC so many systems and protocols can communicate privately. VPN grants network reachability, IAP grants application access. Exam scenarios saying 'employees reach this internal web app from home without VPN software' point to IAP, while 'connect our office network to the VPC' points to VPN or Interconnect. See also the Cloud VPN notes.

Useful gcloud commands

gcloud compute ssh vm-1 --tunnel-through-iap
gcloud compute start-iap-tunnel vm-1 22 --local-host-port=localhost:2222
gcloud iap web add-iam-policy-binding --resource-type=backend-services --service=web-backend --member=user:alice@example.com --role=roles/iap.httpsResourceAccessor

Common exam traps

Frequently asked questions

Does IAP require VMs to have external IP addresses?

No, removing external IPs is the point of the design. IAP TCP forwarding tunnels traffic through Google's infrastructure to the instance's internal interface, and web traffic reaches backends through a load balancer. Instances stay private, firewall exposure shrinks, and access is decided by identity rather than network location.

How does IAP decide whether to let a request through?

IAP first requires a Google identity sign-in, then checks the IAM policy on the protected resource for that identity, then evaluates any context-aware access level such as device or network conditions. Only if all checks pass is the request forwarded, with identity information passed to the application in headers.

Can IAP protect applications outside Google Cloud?

Yes, IAP can secure on-premises applications by routing traffic through an IAP connector deployed in your environment connected to Google Cloud. Users get the same identity and context checks before reaching the internal app. This extends zero-trust access during migrations without publishing the application directly to the internet.

Study aid disclaimer: Cloud Cert Notes is an independent educational study aid. It is not affiliated with, endorsed by, or sponsored by Google, Microsoft, Amazon, Oracle, or Alibaba. Google Cloud, Associate Cloud Engineer, and Cloud Digital Leader are trademarks of Google LLC; all other certification names and product names are trademarks of their respective owners. Always confirm service details against the official provider documentation before sitting an exam.