Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Google Cloud Platform for Architects
  • Table Of Contents Toc
  • Feedback & Rating feedback
Google Cloud Platform for Architects

Google Cloud Platform for Architects

By : Vitthal Srinivasan, Loonycorn Ravi, Judy Raj
3.1 (12)
close
close
Google Cloud Platform for Architects

Google Cloud Platform for Architects

3.1 (12)
By: Vitthal Srinivasan, Loonycorn Ravi, 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)
close
close
13
Logging and Monitoring

Use case – auto-syncing folders

A really common use case is keeping data in sync between the persistent disk of a VM and a specific GCS location, or two GCS locations. The gsutil rsync function is what we need here.

The source and destination URLs can either be a cloud storage bucket or a local directory. So, for example, if you want to sync data between two buckets, you can simply use the following:

gsutil rsync gs://loonycorn-bucket-00 loonycorn-bucket-01
  
Careful on the order of the arguments! If you reverse source and destination with a -d argument, all of your updates will be deleted forever unless you have an archival enabled. The rsync command makes the destination match the source. So rsyncing with an empty source directory makes the destination directory also empty.

It is also possible to specify various additional optional arguments, as follows:

    gsutil rsync...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY