Book Image

Google Cloud Platform for Architects

By : Vitthal Srinivasan, Loonycorn , Judy Raj
Book Image

Google Cloud Platform for Architects

By: Vitthal Srinivasan, Loonycorn , Judy Raj

Overview of this book

Using a public cloud platform was considered risky a decade ago, and unconventional even just a few years ago. Today, however, use of the public cloud is completely mainstream - the norm, rather than the exception. Several leading technology firms, including Google, have built sophisticated cloud platforms, and are locked in a fierce competition for market share. The main goal of this book is to enable you to get the best out of the GCP, and to use it with confidence and competence. You will learn why cloud architectures take the forms that they do, and this will help you become a skilled high-level cloud architect. You will also learn how individual cloud services are configured and used, so that you are never intimidated at having to build it yourself. You will also learn the right way and the right situation in which to use the important GCP services. By the end of this book, you will be able to make the most out of Google Cloud Platform design.
Table of Contents (19 chapters)
13
Logging and Monitoring

Automatic backup and restore

Automated backups are a service provided by Cloud SQL where it stores at least seven backups of the instance at any point of time. At the time of writing this book, the charges were $0.17/GB/month for SSD and $0.08 for HDD. Network egress is free if backups are stored in the same region (which is advisable if the application is not mission critical). The size of backups varies depending on changes in the SQL instance between the window of the current backup and the previous one. This means only changes are stored in the subsequent backups.

Although the default time window for backups is four hours you can ask for backups anytime on-demand. The command for it is as follows:

gcloud sql backups create --async --instance <<YOUR INSTANCE>>  

For disabling automated backups of a certain instance:

gcloud sql instances patch [INSTANCE_NAME] --no...