Google Cloud Run Tutorial for Rust Lang
Offered By: Chris Hay via YouTube
Course Description
Overview
Explore serverless computing using Google Cloud Run with Rust in this comprehensive tutorial. Learn how to build a Rust web server using Actix-web and Docker on Google Cloud Platform (GCP). Create and configure a Rust Actix-web server, build it using Google Cloud Build, and optimize the process with Kaniko. Set up Google Cloud Shell, enable and configure your Google account, and deploy your Rust Actix-web server to Google Cloud Run. Dive into Cloud Run's scaling and logging capabilities, including blue/green deployments, and understand how to manage deployments and traffic. Gain insights into serverless computing through autoscaling demonstrations. While focused on Rust, the principles apply to other web frameworks suitable for Cloud Run hosting. Cover topics such as serverless concepts, Cloud Run vs. Cloud Functions, containerization, Google Cloud SDK installation, project setup, API enablement, service account permissions, build optimization, deployment strategies, logging, load testing, and traffic management.
Syllabus
- intro
- what is serverless
- cloud run vs cloud functions
- creating a rust web server
- configuring port environment variable
- containerize the rust web server
- install google cloud sdk
- enable billing
- create new google cloud project
- set default project
- enable cloud build api
- enable service account permissions
- building a rust app on google cloud build
- speeding up cloud builds with kaniko
- deploying your docker image to cloud run
- google cloud run logs
- sending load to cloud run using wrk
- cloud run autoscaling and metrics
- deploying new versions of our app
- managing traffic in cloud run
Taught by
Chris Hay
Related Courses
Rust for ProgrammersCodecademy Python and Rust with Linux Command Line Tools
Pragmatic AI Labs via edX Rust Data Engineering
Pragmatic AI Labs via edX Rust for DevOps
Pragmatic AI Labs via edX Rust for Large Language Model Operations (LLMOps)
Pragmatic AI Labs via edX