更新时间:2021-06-25 20:49:13
封面
版权信息
Packt Upsell
Why subscribe?
PacktPub.com
Contributors
About the authors
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Conventions used
Get in touch
Reviews
The Case for Cloud Computing
Genesis
Why Google Cloud Platform (GCP)?
Autoscaling and autohealing
Capital expenditure (CAPEX) versus operating expenses (OPEX)
Career implications
Summary
Introduction to Google Cloud Platform
Global regional and zonal resources
Accessing the Google Cloud Platform
Projects and billing
Setting up a GCP account
Using the Cloud Shell
Compute Choices – VMs and the Google Compute Engine
Google Compute Engine – GCE
Creating VMs
Creating a VM instance using the web console
Creating a VM instance using the command line
VM customization options
Operating system
Compute zone
Machine type
Networks – aka VPCs
Storage options
Persistent disks and local SSDs – block storage for GCE
Understanding persistent disks and local SSDs
Creating and attaching a persistent disk
Linux procedure for formatting and mounting a persistent disk
Sharing a persistent disk between multiple instances
Resizing a persistent disk
More on working with GCE VMs
Rightsizing recommendations
Availability policies
Auto-restart
Preemptibillity
Load balancing
Autoscaling and managed instance groups
Billing
Labels and tags
Startup scripts
Snapshots and images
How to snapshot a disk
How to create an image of a disk
Cloud launcher
Deploying LAMP stack using GCE
Modifying GCE VMs
GKE App Engine and Cloud Functions
GKE
Contrasting containers and VMs
What is a container?
Docker containers and Kubernetes – complements not substitutes
Creating a Kubernetes cluster and deploying a WordPress container
Using the features of GKE
Storage and persistent disks
Auto scaling
Scaling nodes with the cluster autoscaler
Scaling pods with the horizontal pod autoscaler
Multi-zone clusters
Cloud VPN integration
Rolling updates
The container registry
Federated clusters
Google App Engine – flexible
Hosted Docker containers with App Engine Flex
Running a simple Python application with App Engine Flex
Cron Jobs with App Engine Flex
Advantages of GKE over Docker on VMs or App Engine Flex
Google App Engine – standard
Hosted web apps with App Engine Standard
Typical App Engine architecture
Deploying and running on App Engine Standard
Traffic splitting
Serverless compute with cloud functions
Cloud Functions triggered by HTTP
Cloud Functions triggered by Pub/Sub
Cloud functions triggered by GCS object notifications
Google Cloud Storage – Fishing in a Bucket
Knowing when (and when not) to use GCS
Serving Static Content with GCS Buckets