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

Loading data into a table using BigQuery

Using pre-created or custom datasets is also a very common practice in data analytics. Thus, to load data into a table:

  1. Download or locate the data you intend to load. For example, we are using the babynames ZIP file, which is an open dataset. Download it using this URL: http://www.ssa.gov/OACT/babynames/names.zip.
  2. Extract the file at your desired location and you will notice a yob2014.txt file, which is a CSV file.
  3. Go to the console of BigQuery and locate a downward arrow near your project name. Then, click on the Create new dataset button:
  1. Give the dataset an ID of babynames:
  1. Keep all of the other settings as default. Click the OK button

  1. Find the drop-down icon near dataset ID and click on the Create new table option:
  1. To upload the datafile, click on the Choose file button and enter the path of your datafile, which is yob2014...