Hi @JigarM,
Welcome to Google Cloud Community!
You’ve mentioned that the bucket is currently set to private. Set the bucket to public. Bucket set to private does not necessarily cause a permission issue but just make sure you have the correct roles assigned nonetheless. See IAM roles for Cloud Storage for reference.
Also, make sure that the bucket name is unique. See Bucket name considerations for more info.
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.
Hello @jamespatrickm ,
I want keep bucket private bucket, it only accessible through load balancer only.
like in AWS we have cloudfront using it Origin identity access S3 bucket only accessed using cloudfront only, without making S3 bucket Public.
is there any way to do that in GCP?
Hi, @JigarM.
I'm not sure if you're still considering this solution, but I have a detailed documentation with examples that could be useful for your scenario. Take a look it - Protecting static website assets hosted on Cloud Storage, if you're planning to implement this.
Regards,
Mokit
There is a way to do it.
Create a bucket privately
Create a load balancer with backend as the bucket you have created.
Make sure to host the files in the bucket.
Also, there is no way we can integrate buckets as frontend.