Skip to content

Instantly share code, notes, and snippets.

View saihtaungkham's full-sized avatar
🤖

Sai Htaung Kham saihtaungkham

🤖
View GitHub Profile
@saihtaungkham
saihtaungkham / README.md
Created April 9, 2024 10:51 — forked from mau21mau/README.md
Configure Google Cloud's Cloud Run service with custom domain

These are the steps to Deploy a Cloud Run service that will:

  1. Communicate with the internet passing through your VPC.
  2. Be accessible through a custom domain managed outside GCP.

NOTE: If your VPC has a Nat Gateway and Router with an static IP address, then your Cloud Run will have a static Outbound IP allowing things like database whitelisting.

Now with the steps:

  1. Create and static preimum Global IP to bind to the LoadBalancer later. Point the subdomain to that IP on CloudFlare

Keybase proof

I hereby claim:

  • I am saihtaungkham on github.
  • I am saihtaungkham (https://keybase.io/saihtaungkham) on keybase.
  • I have a public key ASB-J9UEOOIK4fk5XF_Yk7vjtidSrm3opa29FGRNM1bYiQo

To claim this, I am signing this object: