Access control (IAM vs ACLs) in GCP
📖 Scenario: You are managing access to a Google Cloud Storage bucket for a small team. You want to control who can read and write files in the bucket using two common methods: IAM roles and ACLs.
🎯 Goal: Build a simple configuration that sets up a Cloud Storage bucket with specific IAM roles and ACLs to control access for users.
📋 What You'll Learn
Create a Cloud Storage bucket named exactly
team-data-bucketAssign the IAM role
roles/storage.objectViewer to the user user:alice@example.comAssign the IAM role
roles/storage.objectAdmin to the user user:bob@example.comSet an ACL on the bucket to give
user:charlie@example.com read accessSet an ACL on the bucket to give
user:dana@example.com write access💡 Why This Matters
🌍 Real World
Managing access to cloud storage is essential for protecting data and ensuring only authorized users can read or modify files.
💼 Career
Cloud engineers and administrators regularly configure IAM and ACLs to enforce security policies and compliance in cloud environments.
Progress0 / 4 steps