How to access resource from another project on GCP? Accessing Cloud Storage Bucket from a VM
ฝัง
- เผยแพร่เมื่อ 5 ก.ย. 2024
- This video illustrates how to access resources from different project in GCP.
In this example I demonstrated how to access a Storage bucket from virtual machine running on a different project.
very good explanation, i see that we can access other resources(pub/sub,bq,etc) by adding respective permissions to the Compute Service Account
Thanks Nagarjun! Please consider subscribing the channel. 🙂
I have 3 gcp project setup as below :
1. GCP Project Prod Query
2. GCP Project Data Prod
3. GCP Project Data Pre-Prod
When developer login into gcp console using projects *GCP Project Data Prod* or *GCP Project Data Prod*
He can only preview dataset table (select not allowed)
But same user when switch to project*GCP Project Prod Query* tar he can select from table from both the projects datasets..
i.e. *GCP Project Prod Query* has select rights on the dataset tables under projects *GCP Project Data Prod* or *GCP Project Data Prod*
This cross project access I tried to see the implementation under *GCP Project Data Prod* or *GCP Project Data Prod* but didn’t find *GCP Project Prod Query* project reference in dataset permission.. is there any way to check how this got implemented