As @cck197said you would create a DNS A record with your favorite DNS provider.
If you’re using GCP for DNS, lookup their Cloud DNS service to setup the domain but you can use any DNS service. I like namecheap both because of their pricing and because DynDNS is included.