🔐 Expanding My Cloud Skill Set — From AWS to GCP IAM!
Coming from an AWS background, I’ve always worked hands-on with IAM — managing users, roles, policies, and securing access.
Now, I’m diving deep into Google Cloud Platform (GCP) and just wrapped up a solid hands-on session with GCP IAM — from understanding the structure to running real gcloud CLI commands.
🧠 Key Concepts I Explored:
🛠️ CLI Hands-On with gcloud:
1. ✅ Check gcloud CLI version and IAM availability
gcloud version
gcloud iam --help
2. 📋 List all GCP projects
gcloud projects list
3. ⚙️ Check current gcloud CLI configuration
gcloud config list
4. 🔍 Get IAM policy for a specific project
gcloud projects get-iam-policy PROJECT_ID
5. 🛠️ Create a custom IAM role
gcloud iam roles create customViewerRole \
--project=PROJECT_ID \
--title="Custom Viewer" \
--permissions="resourcemanager.projects.get,compute.instances.list" \
--stage="GA"
6. 👤 List all service accounts in a project
gcloud iam service-accounts list
🔐 IAM is the backbone of cloud security — whether it's AWS or GCP, knowing how to manage access securely is crucial.
🙏 Thanks to the amazing cloud community for all the resources and inspiration!