Google Cloud Platform Cookbook

Book description

Practical recipes to implement cost-effective and scalable cloud solutions for your organization

About This Book
  • Implement Google Cloud services in your organization
  • Leverage Google Cloud components to secure your organization's data
  • A recipe-based guide that promises hands-on experience in deploying a highly scalable and available environment
Who This Book Is For

This book is for IT professionals, engineers, and developers looking at implementing Google Cloud in their organizations. Administrators and architects planning to make their organization more efficient with Google Cloud will also find this book useful. Basic understanding of Cloud services and the Google Cloud platform is necessary.

What You Will Learn
  • Host a Python application on Google Compute Engine
  • Host an application using Google Cloud Functions
  • Migrate a MySQL DB to Cloud Spanner
  • Configure a network for a highly available application on GCP
  • Learn simple image processing using Storage and Cloud Functions
  • Automate security checks using Policy Scanner
  • Understand tools for monitoring a production environment in GCP
  • Learn to manage multiple projects using service accounts
In Detail

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 microservices with 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 troubleshooting tasks with the Compute and Container Engines and we'll show how to monitor your organization's efficiency with best practices.

By the end of this book, you'll have a complete understanding of how to implement Google Cloud services in your organization with ease.

Style and approach

This book will quickly get you started with using Google Cloud Services.

Table of contents

  1. Title Page
  2. Copyright and Credits
    1. Google Cloud Platform Cookbook
  3. Dedication
  4. Packt Upsell
    1. Why subscribe?
    2. PacktPub.com
  5. Contributors
    1. About the author
    2. About the reviewers
    3. Packt is searching for authors like you
  6. Preface
    1. Who this book is for
    2. What this book covers
    3. To get the most out of this book
      1. Download the example code files
      2. Download the color images
      3. Conventions used
    4. Sections
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    5. Get in touch
      1. Reviews
  7. Compute
    1. Introduction
    2. Hosting a Node.js application on Google Compute Engine
      1. Getting ready
      2. How to do it...
        1. Running the application on the development machine
        2. Deploying the application on GCP
          1. Moving the code to Google Source Repositories
          2. Creating the start up script
          3. Creating and configuring a GCE instance
    3. Hosting the Node.js application on Google App Engine
      1. Getting ready
      2. How to do it...
    4. Hosting a Node.js application on Kubernetes Engine
      1. Getting ready
      2. How to do it...
        1. Creating a cluster on GKE to host the containers
        2. Containerizing the KeystoneJS application
        3. Creating a replicated deployment for the application and MongoDB
    5. Hosting an application on Google Cloud Functions
      1. Getting ready
      2. How to do it...
    6. Hosting a highly scalable application on Google Compute Engine
      1. Getting ready
      2. How to do it...
      3. How it works...
  8. Storage and Databases
    1. Introduction
    2. Hosting a static application using Google Cloud Storage
      1. Getting ready
      2. How to do it...
      3. There's more...
    3. Image resizing using Google Cloud Storage and Cloud Functions
      1. Getting ready
      2. How to do it...
      3. How it works...
    4. Migrating a MariaDB to Cloud Spanner
      1. Getting ready
      2. How to do it...
    5. Loading temperature data to Cloud Bigtable and BigQuery-ing it
      1. Getting ready
      2. How to do it...
    6. Storage metadata in Google Cloud Datastore
      1. Getting ready
      2. How to do it...
      3. There's more...
  9. Networking
    1. Introduction
    2. Network management using a data and a management network
      1. Getting ready
      2. How to do it...
      3. There's more...
    3. Content-based load balancing
      1. Getting ready
      2. How to do it...
    4. VPC network peering between two networks
      1. Getting ready
      2. How to do it...
    5. VPN connection between two networks
      1. Getting ready
      2. How to do it...
    6. CDN setup for a static website
      1. Getting ready
      2. How to do it...
  10. Security
    1. Introduction
    2. Scanning for vulnerabilities using Cloud Security Scanner
      1. Getting ready
      2. How to do it...
      3. How it works...
    3. Using Identity-Aware Proxy on App Engine
      1. Getting ready
      2. How to do it...
    4. Securing financial data using Cloud KMS
      1. Getting ready
      2. How to do it...
    5. Using Data Loss Prevention API
      1. Getting ready
      2. How to do it...
    6. Creating IAM custom roles
      1. Getting ready
      2. How to do it...
    7. Creating service accounts
      1. Getting ready
      2. How to do it...
    8. Automatic recon and defense
      1. Getting ready
      2. How to do it...
  11. Machine Learning and Big Data
    1. Introduction
    2. Uploading data to the Google BigQuery table
      1. Getting ready
      2. How to do it...
      3. There's more...
    3. Translating text to a target language
      1. Getting ready
      2. How to do it...
      3. See also
    4. Creating a Dataflow pipeline to store streaming data
      1. Getting ready
      2. How to do it...
    5. Using the Vision API
      1. Getting ready
      2. How to do it...
    6. Using the Google Cloud Speech API
      1. Getting ready
      2. How to do it...
    7. Using the Cloud IoT Core
      1. Getting ready
      2. How to do it...
  12. Management Tools
    1. Introduction
    2. Creating alerts on specific events
      1. Getting ready
      2. How to do it...
    3. Monitoring a webserver using Stackdriver Monitoring
      1. Getting ready
      2. How to do it...
      3. How it works...
    4. Creating tailor-made instances using Deployment Manager
      1. Getting ready
      2. How to do it...
    5. Error Reporting on a Python Flask application
      1. Getting ready
      2. How to do it...
    6. Viewing application state using Stackdriver Debugger
      1. Getting ready
      2. How to do it...
  13. Best Practices
    1. Introduction
    2. Creating a custom VM using Terraform
      1. Getting ready
      2. How to do it...
    3. Monitoring a GCP account using Security Monkey
      1. Getting ready
      2. How to do it...
    4. Creating instance backups
      1. Getting ready
      2. How to do it...
    5. Simulating VM migration
      1. Getting ready
      2. How to do it...
    6. Creating a golden image using Packer
      1. Getting ready
      2. How to do it...
  14. Other Books You May Enjoy
    1. Leave a review - let other readers know what you think

Product information

  • Title: Google Cloud Platform Cookbook
  • Author(s): Legorie Rajan PS
  • Release date: April 2018
  • Publisher(s): Packt Publishing
  • ISBN: 9781788291996