Book Image

Professional Cloud Architect Google Cloud Certification Guide - Second Edition

By : Konrad Cłapa, Brian Gerrard
5 (1)
Book Image

Professional Cloud Architect Google Cloud Certification Guide - Second Edition

5 (1)
By: Konrad Cłapa, Brian Gerrard

Overview of this book

Google Cloud Platform (GCP) is one of the industry leaders thanks to its array of services that can be leveraged by organizations to bring the best out of their infrastructure. This book is a comprehensive guide for learning methods to effectively utilize GCP services and help you become acquainted with the topics required to pass Google's Professional Cloud Architect certification exam. Following the Professional Cloud Architect's official exam syllabus, you'll first be introduced to the GCP. The book then covers the core services that GCP offers, such as computing and storage, and takes you through effective methods of scaling and automating your cloud infrastructure. As you progress through the chapters, you'll get to grips with containers and services and discover best practices related to the design and process. This revised second edition features new topics such as Cloud Run, Anthos, Data Fusion, Composer, and Data Catalog. By the end of this book, you'll have gained the knowledge required to take and pass the Google Cloud Certification – Professional Cloud Architect exam and become an expert in GCP services.
Table of Contents (25 chapters)
1
Section 1: Introduction to GCP
5
Section 2: Manage, Design, and Plan a Cloud Solution Architecture
14
Chapter 12: Exploring Storage and Database Options in GCP – Part 2
17
Section 3: Secure, Manage and Monitor a Google Cloud Solution
21
Section 4: Exam Focus

Cron jobs

With cron jobs, you can schedule tasks that run at a defined time or regular intervals. The use case for cron jobs includes administration tasks that need to reoccur. For example, perhaps you need to send out an email every day that includes a report about the environment.

For each language, cron jobs are configured a little bit differently. See the Further reading section to find detailed configuration information for various languages. The cron jobs are defined in YAML format and placed in the cron.yaml file.

The following is a YAML file that will run the task every 24 hours:

  1. The actual task is to run it using the handler defined under the url parameter:
    cron:
     - description: "daily summary job"
       url: /tasks/summary
       target: beta
       schedule: every 24 hours
  2. To deploy the cron job, use the following command:
    gcloud app deploy cron.yaml --project <project_id>
  3. Once deployed, the jobs will be visible via Cloud Scheduler. In the Google...