Google Cloud Platform Cookbook: Implement, deploy, maintain, and migrate applications on Google Cloud Platform 9781788291996, 1788291999

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

258 149 6MB

English Pages 280 [274]

Report DMCA / Copyright

DOWNLOAD FILE

Google Cloud Platform Cookbook: Implement, deploy, maintain, and migrate applications on Google Cloud Platform
 9781788291996, 1788291999

Table of contents :
Cover
Title Page
Copyright and Credits
Dedication
Packt Upsell
Contributors
Table of Contents
Preface
Chapter 1: Compute
Introduction
Hosting a Node.js application on Google Compute Engine
Getting ready
How to do it...
Running the application on the development machine
Deploying the application on GCP
Moving the code to Google Source Repositories
Creating the start up script
Creating and configuring a GCE instance
Hosting the Node.js application on Google App Engine
Getting ready
How to do it...
Hosting a Node.js application on Kubernetes Engine
Getting ready
How to do it...
Creating a cluster on GKE to host the containers
Containerizing the KeystoneJS application
Creating a replicated deployment for the application and MongoDB
Hosting an application on Google Cloud Functions
Getting ready
How to do it...
Hosting a highly scalable application on Google Compute Engine
Getting ready
How to do it...
How it works...
Chapter 2: Storage and Databases
Introduction
Hosting a static application using Google Cloud Storage
Getting ready
How to do it...
There's more...
Image resizing using Google Cloud Storage and Cloud Functions
Getting ready
How to do it...
How it works...
Migrating a MariaDB to Cloud Spanner
Getting ready
How to do it...
Loading temperature data to Cloud Bigtable and BigQuery-ing it
Getting ready
How to do it...
Storage metadata in Google Cloud Datastore
Getting ready
How to do it...
There's more...
Chapter 3: Networking
Introduction
Network management using a data and a management network
Getting ready
How to do it...
There's more...
Content-based load balancing
Getting ready
How to do it...
VPC network peering between two networks
Getting ready
How to do it...
VPN connection between two networks
Getting ready
How to do it...
CDN setup for a static website
Getting ready
How to do it...
Chapter 4: Security
Introduction
Scanning for vulnerabilities using Cloud Security Scanner
Getting ready
How to do it...
How it works...
Using Identity-Aware Proxy on App Engine
Getting ready
How to do it...
Securing financial data using Cloud KMS
Getting ready
How to do it...
Using Data Loss Prevention API
Getting ready
How to do it...
Creating IAM custom roles
Getting ready
How to do it...
Creating service accounts
Getting ready
How to do it...
Automatic recon and defense
Getting ready
How to do it...
Chapter 5: Machine Learning and Big Data
Introduction
Uploading data to the Google BigQuery table
Getting ready
How to do it...
There's more...
Translating text to a target language
Getting ready
How to do it...
See also
Creating a Dataflow pipeline to store streaming data
Getting ready
How to do it...
Using the Vision API
Getting ready
How to do it...
Using the Google Cloud Speech API
Getting ready
How to do it...
Using the Cloud IoT Core
Getting ready
How to do it...
Chapter 6: Management Tools
Introduction
Creating alerts on specific events
Getting ready
How to do it...
Monitoring a webserver using Stackdriver Monitoring
Getting ready
How to do it...
How it works...
Creating tailor-made instances using Deployment Manager
Getting ready
How to do it...
Error Reporting on a Python Flask application
Getting ready
How to do it...
Viewing application state using Stackdriver Debugger
Getting ready
How to do it...
Chapter 7: Best Practices
Introduction
Creating a custom VM using Terraform
Getting ready
How to do it...
Monitoring a GCP account using Security Monkey
Getting ready
How to do it...
Creating instance backups
Getting ready
How to do it...
Simulating VM migration
Getting ready
How to do it...
Creating a golden image using Packer
Getting ready
How to do it...
Other Books You May Enjoy
Index

Polecaj historie