I have a project A focused on storing artifacts in an artifact registry and storing buckets in GCS from this project.
Now, I have several projects that feed from this, some of them use GKE (containers) and pull the images from this project A and my problem comes with the buckets. If I have a project B with a load balancer and I want to add a back-end bucket whose bucket is hosted in project A, what is the way to do it?
I need the load balancer to be in project B, since it also has a back-end service pointing to the GKE of this same project. In the same way, there are many projects with this same architecture that I need all the load balancers to point to the GCS of this project A
Solved! Go to Solution.
Hi @onintza
The cross-project service referencing feature, which was launched recently, might be relevant to your use case. Please see this blog for details: https://cloud.google.com/blog/products/networking/cloud-load-balancing-gets-cross-project-service-re...
Hi @onintza
The cross-project service referencing feature, which was launched recently, might be relevant to your use case. Please see this blog for details: https://cloud.google.com/blog/products/networking/cloud-load-balancing-gets-cross-project-service-re...
THANK YOU!!!!!!
Hi @kumards ,
I have been looking at the solution you proposed. This solution is focused to solve the back-end service, but does not solve the back-end bucket. Is there any way to access my buckets in a different project than the load balancer? I have tried using the internet NEG but it does not solve my problem either.
Thank you.
Hi @onintza ,
I apologize for missing the "buckets" part in your original question!
Cloud Storage buckets can be used as backends currently with only global external HTTP/S load balancers. And per this doc section: "cross-project service referencing is not supported for the global external HTTP(S) load balancer. Per the blog that I mentioned earlier, this feature might be available "soon" for global external HTTP/S load balancers as well, though it isn't clear yet whether the feature will be supported for backend buckets.
Sorry that I couldn't be more helpful at this time.