Domain hosted on Cloudflare and it uses Global Application Load Balancer's IPV4 IP address from GCP as the origin server for A name record on Cloudflare. SSL provided by Cloudflare.
My setup for a web app:
1. Single region Spanner instance in us-west-1
2. Cloud Run service that serves web content in same region
3. Global Application Load Balancer(for future proofing - so my Cloud Run services can be in different regions than Spanner)
4. Same Cloud Run service talks to Spanner database and gets data and generates a dynamic page
5. Returns generated page HTML through Cloud CDN and it gets back to Cloudflare
Now in this setup:
1. Am I charged for Spanner egress to Cloud Run?
2. Am I charged using CDN Interconnect discounted egress?
3. What happens if I don't use the Cloud CDN. Is Global Application Load Balancer egress considered as part of compute engine? Because only Compute Engine egress is discounted as part of CDN Interconnect.
4. Is Cloud Run egress discounted for CDN Interconnect?
I have to decide an architecture for this dynamic website application that saves me on egress.
Can someone please help me with different egress costs in this setup?
Hello @changcp,
Welcome to Google Cloud Community!
To answer your questions:
I also suggest that you contact Cloud Billing Support to help you with your question. All Google Cloud accounts get free billing and payments support. Hope it helps, thank you!