google cloud run tutorial for rust lang

Published: 14 March 2022
on channel: Chris Hay
3,467
106

in this tutorial, we explore serverless computing using Google Cloud Run with Rust. We look at how to build a rust web server using actix-web with Docker on the google cloud platform (gcp).

we build create and configure a rust lang actix-web-server and build it using Google Cloud Build as well as speeding it up with kaniko.

We look at how to setup up Google Cloud Shell, enable and set up your google account before building with Cloud Build. Once the application is built we look at how we can take your rustlang actix-web web server and deploy to google cloud run.

Finally we look at how scaling and logging works within Google Cloud Run including blue/green deployments and how you can manage your deployment and traffic, seeing how serverless computing really works through autoscaling.

although this app is built using Rust, this equally works for Dart, Fastify or any other web framework that you would wish to host on cloud run.

00:00 - intro
00:30 - what is serverless
03:47 - cloud run vs cloud functions
07:35 - creating a rust web server
12:00 - configuring port environment variable
16:41 - containerize the rust web server
22:50 - install google cloud sdk
24:50 - enable billing
25:47 - create new google cloud project
27:47 - set default project
29:10 - enable cloud build api
30:15 - enable service account permissions
33:30 - building a rust app on google cloud build
41:20 - speeding up cloud builds with kaniko
45:30 - deploying your docker image to cloud run
55:29 - google cloud run logs
57:00 - sending load to cloud run using wrk
58:30 - cloud run autoscaling and metrics
1:10:00 - deploying new versions of our app
1:13:00 - managing traffic in cloud run


On this page of the site you can watch the video online google cloud run tutorial for rust lang with a duration of hours minute second in good quality, which was uploaded by the user Chris Hay 14 March 2022, share the link with friends and acquaintances, this video has already been watched 3,467 times on youtube and it was liked by 106 viewers. Enjoy your viewing!