Book Image

Google Cloud Certified Professional Cloud Developer Exam Guide

By : Sebastian Moreno
Book Image

Google Cloud Certified Professional Cloud Developer Exam Guide

By: Sebastian Moreno

Overview of this book

Google Cloud Platform is one of the three major cloud providers in the industry, exhibiting great leadership in application modernization and data management. This book provides a comprehensive introduction for those who are new to cloud development and shows you how to use the tools to create cloud-native applications by integrating the technologies used by Google. The book starts by taking you through the basic programming concepts and security fundamentals necessary for developing in Google Cloud. You'll then discover best practices for developing and deploying applications in the cloud using different components offered by Google Cloud Platform such as Cloud Functions, Google App Engine, Cloud Run, and other GCP technologies. As you advance, you'll learn the basics of cloud storage and choosing the best options for storing different kinds of data as well as understand what site reliability engineers do. In the last part, you'll work on a sample case study of Hip Local, a community application designed to facilitate communication between people nearby, created by the Google Cloud team. By the end of this guide, you'll have learned how to design, develop, and deploy an end-to-end application on the Google Cloud Platform.
Table of Contents (21 chapters)
1
Section 1: Welcome to the Google Cloud Developers' Guide
4
Section 2: Developing and Modernizing Applications on Google Cloud Platform
9
Section 3: Storage Foundations
14
Section 4: SRE for Developers
17
Section 5: Analyzing a Sample Case Study

How to authenticate client-to-service and service-to-service solutions

Whether our application is designed with a monolithic pattern or a microservices pattern, in most cases, it will be necessary to consume a service as a client (a user logging in to a web application) or as a service (a microservice called to another microservice or a self-managed service).

For both cases, it is necessary to understand concepts such as authentication, authorization, identity and access management (IAM), and service account (among others), and we will review these concepts in this section.

IAM

Using basic created roles, it is possible to quickly select the necessary permissions to execute certain activities in each of the services. The task of associating one or more members (such as user accounts) with a single role is called binding, and a collection of those bindings is called a policy.

The basic existing roles are Owner (roles/owner), Editor (roles/editor), and Viewer (roles/viewer...