Re: How to cut my GCP Load Balancer costs

2,725 views
Skip to first unread message
Message has been deleted

Anurag Sharma

unread,
Aug 26, 2020, 4:45:38 PM8/26/20
to Google App Engine
Hello

You are being charged for HTTP Load Balancing: Global Forwarding Rule Minimum Service Charge, for which the pricing is calculated at 0.025 USD per hour [1]. The way out of this is to reconsider the number of Global forwarding rules that you are using [2]


On Wednesday, August 26, 2020 at 4:14:34 AM UTC-4 xun...@gmail.com wrote:
Hi, 
here I have many apps, I create GCP project for each app. I use Google Storage as app's resource backend. To accelerate request speed, I also use Google CDN. So in each project, I create one https load balancer using storage as backend and open CDN function. 

Everything goes on well, but recently, I find every project will be charged on `HTTP Load Balancing: Global Forwarding Rule Minimum Service Charge`, almost 18 USD per project, really so expensive to me, any good suggestion for me to cut the costs? Thanks a million.


Screen Shot 2020-08-26 at 12.04.34 PM.png

Screen Shot 2020-08-26 at 12.05.41 PM.png
Message has been deleted

Aditya

unread,
Aug 27, 2020, 9:21:42 PM8/27/20
to Google App Engine
You can try granting the service account of your load balancer project, access to the buckets. [1] 

On Thursday, August 27, 2020 at 3:58:30 AM UTC-4 xun...@gmail.com wrote:
My resolution: create one main https load balancer, multi-storages from different projects to be added as backends. Using host and path to redirect requests.
but I meet another problem, sounds like cross-project storages cannot be added in one load balancer. Error message: The Cloud Storage bucket 'mlabs001.appspot.com' is not owned by the current project XXX.

WeChatWorkScreenshot_d1dfbf92-fd22-487b-8e8c-5087207b57f5.png

李巽

unread,
Aug 28, 2020, 5:48:27 AM8/28/20
to Google App Engine
@Aditya sounds the method not works, error msg still.

Manpreet Sidhu (Google Cloud Support)

unread,
Aug 28, 2020, 11:11:21 PM8/28/20
to Google App Engine
What you wish to do is not yet possible but there is an open Feature request for this, which is internally active.

I suggest that you “+1” yourself on that so that you can be kept up to date on any new developments that arise. Please note that as it is a Feature Request, the implementation is not guaranteed, but rest assured that the team is looking into its feasibility.

李巽

unread,
Aug 31, 2020, 3:43:00 AM8/31/20
to Google App Engine
@Manpreet Sidhu
Execuse me, can you suggest me another way to handle my problem? If I move all apps into one project, my colleague tell me that the app will become very slow. 
Can I create a GCP instance, mount cross-project buckets onto it using reclone, and change bucket-backend load balance into NEG-backend, with Nginx on GCP instance to redirect?

Tariq (Google Cloud Support)

unread,
Aug 31, 2020, 2:39:17 PM8/31/20
to Google App Engine
It is worth mentioning that Google Groups is a place for non-technical how-to questions (Google Groups hosts discussion forums where you're likely to find information like service status updates and release notes, and ranging from book recommendations to creative shortcuts) [1].

For your use case, I would suggest reaching out to Server Fault [2] or Stack Overflow [3] where Google also participates that can help you find answers or troubleshoot problems.

On a separate note, if you have an existing GCP Support plan, we would suggest filing a case with us and we might be able to provide architectural guidance (through Solution Architects or Customer Engineer/Technical Account Manager).

[2] Server Fault (Question and answer site for deploying and managing IT platforms): https://serverfault.com/questions/tagged/google-cloud-platform
[2] Stack Overflow (Question and answer site for programmers): https://stackoverflow.com/questions/tagged/google-cloud-platform
Reply all
Reply to author
Forward
0 new messages