Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Containers on Cloud Run

Containers on Cloud Run

This talk showcases the benefits of Cloud Run and container technologies. It also shows how to deploy applications to Google Cloud Run with containers.

Jekayin-Oluwa Olabemiwo

November 13, 2021
Tweet

More Decks by Jekayin-Oluwa Olabemiwo

Other Decks in Programming

Transcript

  1. Content o Containers o Kubernetes o Containers vs Kuberneters o

    Why Cloud Run o How-to: Deploying with Containers on Cloud Run o More resources
  2. Orchestrate & manage all your container resources from a single

    control plane. Helps with networking, load-balancing, security and scaling across all nodes Kubernetes
  3. In the spirit of serverless: Cloud Run helps to develop

    and deploy applications in containers or Kubernetes clusters on a serverless platform that's fully managed Why Cloud Run?
  4. - Versatile: your code in any language or framework of

    choice - web apps, APIs, - Abstracted: Leave the infra management for Cloud Run - Cost-effecient: scales infra up from and down to zero depending on use. You only pay for what you use Why Cloud Run?
  5. 1. Setup Repo on Github/Bitbucket 2. Ensure your repo has

    a Dockerfile 3. Create new Google Cloud project: https://console.cloud.google.com/projectcreate 4. Select the new project created 5. Enable Cloud Build & Cloud Source Repositories APIs 6. Configure Project to point to the repository 7. Create and Deploy How-to (from Console)
  6. Create and select new Google Cloud project https://console.cloud.google.com/projectcreate 1. Select

    the new project created 2. Enable billing for the Cloud Project 3. Enable Cloud Build and Cloud Source Repositories APIs for the new project 4. Install and initialize the Cloud SDK 5. Create the source directory in your preferred language and library 6. Add Dockerfile and .dockerignore 7. Deploy with gcloud run deploy 8. Configure Project to point to the repository How-to (Continous Deployment from Repo)