Skip to Content
Building Serverless Applications with Google Cloud Run
book

Building Serverless Applications with Google Cloud Run

by Wietse Venema
December 2020
Intermediate to advanced
200 pages
4h 59m
English
O'Reilly Media, Inc.
Content preview from Building Serverless Applications with Google Cloud Run

Chapter 2. Understanding Cloud Run

Now that you’ve read Chapter 1, you’re ready to deploy your first container on Cloud Run. This chapter offers a practical exploration of Cloud Run. I’ll start with the prerequisites and the tooling you need to install on your local machine. You’ll deploy a sample container, upgrade it to a new version, and change its configuration. I’ll also illustrate some of the more advanced features.

Once you’ve had your first experience working with Cloud Run, it will be time for a more fundamental discussion of the platform and its runtime characteristics. Running a container on Cloud Run is not the same as running that container on a traditional, always-on server. Cloud Run is request driven, uses disposable containers, and supports fast autoscaling. I will tell you what that means, how that helps you build reliable and scalable applications, and what the consequences are for your application design.

I’ll close the chapter with a discussion of alternative ways to run application logic on Google Cloud using a serverless model and share my speculations about the future of Cloud Run with you.

Getting Started with Google Cloud

To work along with the examples in this book, you need to create a Google Cloud account, create a project, and install the Google Cloud CLI on your local machine.

You can sign up here for a Google Cloud account. There is a free trial with credits waiting for you, but you need to set up payment details. Google Cloud uses your information ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Hands-On Serverless Computing with Google Cloud

Hands-On Serverless Computing with Google Cloud

Richard Rose
Serverless Applications with Node.js

Serverless Applications with Node.js

Slobodan Stojanovic, Aleksandar Simovic
The Definitive Guide to Modernizing Applications on Google Cloud

The Definitive Guide to Modernizing Applications on Google Cloud

Steve (Satish) Sangapu, Dheeraj Panyam, Jason Marston

Publisher Resources

ISBN: 9781492057086Errata Page