Book Image

Google Cloud Platform Cookbook

By : Legorie Rajan PS
Book Image

Google Cloud Platform Cookbook

By: Legorie Rajan PS

Overview of this book

Google Cloud Platform is a cloud computing platform that offers products and services to host applications using state-of-the art infrastructure and technology. You can build and host applications and websites, store data, and analyze data on Google's scalable infrastructure. This book follows a recipe-based approach, giving you hands-on experience to make the most of Google Cloud services. This book starts with practical recipes that explain how to utilize Google Cloud's common services. Then, you'll see how to make full use of Google Cloud components such as networking, security, management, and developer tools. Next, we'll deep dive into implementing core Google Cloud services into your organization, with practical recipes on App Engine, Compute Engine, Cloud Functions, virtual networks, and Cloud Storage. Later, we'll provide recipes on implementing authentication and security, Cloud APIs, command-line management, deployment management, and the Cloud SDK. Finally, we'll cover administration and troubleshooting tasks on applications with Compute services and we'll show how to monitor your organization's efficiency with best practices. By the end of this book, you'll have an overall understanding and hands-on implementation of Google Cloud services in your organization with ease.
Table of Contents (14 chapters)
Title Page
Dedication
Packt Upsell
Contributors
Preface
Index

Creating instance backups


Backing up is an important part of any enterprise's business continuity and disaster recovery process. Almost every instance running in an organization is backed up at some frequency that is demanded by the business needs. There are some components of the IT ecosystem that are backed up more often than others. Backing up data lies at a very important level in the spectrum and hence hard disks, data in tables, and configuration data are saved in multiple ways.

In this recipe, we'll simulate a disaster scenario of a Linux instance failing and how we can bring up the machine from its last saved backup. One of the simplest ways to back up a disk on the GCP is by using snapshots. Snapshots take a copy of the disk at a point in time and are efficiently designed to back up data continuously (at requested intervals) via incremental snapshots. Incremental snapshots do not back up the entire disk, but only the data that has changed since the last backup. GCP also offers an...