Deploy to CloudRun#
In this lab you will setup a serverless deployment with CloudRun. CloudRun is a serverless product offered by Google where you supply a container and Google runs your container for you. The great thing about CloudRun is that your application doesn’t incur charges when it’s not receiving traffic. In class I demonstrate how to launch your container on CloudRun.
CloudRun won’t use the image you have on GitHub so you have to create a build pipeline in Google. Watch the recording for full details. The basic procedure is:
Create a new CloudRun service
Set the service to continuously deploy new revisions from a source repository
Authenticate Google to your GitHub account
Set the build type to
Dockerfile
Set the necessary environment variables