Atjaunināt sīkdatņu piekrišanu

Getting Started with Containers in Google Cloud Platform: Deploy, Manage, and Secure Containerized Applications 1st ed. [Mīkstie vāki]

  • Formāts: Paperback / softback, 306 pages, height x width: 254x178 mm, weight: 625 g, 294 Illustrations, black and white; XIX, 306 p. 294 illus., 1 Paperback / softback
  • Izdošanas datums: 20-Nov-2020
  • Izdevniecība: APress
  • ISBN-10: 148426469X
  • ISBN-13: 9781484264690
Citas grāmatas par šo tēmu:
  • Mīkstie vāki
  • Cena: 51,37 €*
  • * ši ir gala cena, t.i., netiek piemērotas nekādas papildus atlaides
  • Standarta cena: 60,44 €
  • Ietaupiet 15%
  • Grāmatu piegādes laiks ir 3-4 nedēļas, ja grāmata ir uz vietas izdevniecības noliktavā. Ja izdevējam nepieciešams publicēt jaunu tirāžu, grāmatas piegāde var aizkavēties.
  • Daudzums:
  • Ielikt grozā
  • Piegādes laiks - 4-6 nedēļas
  • Pievienot vēlmju sarakstam
  • Formāts: Paperback / softback, 306 pages, height x width: 254x178 mm, weight: 625 g, 294 Illustrations, black and white; XIX, 306 p. 294 illus., 1 Paperback / softback
  • Izdošanas datums: 20-Nov-2020
  • Izdevniecība: APress
  • ISBN-10: 148426469X
  • ISBN-13: 9781484264690
Citas grāmatas par šo tēmu:
Intermediate-Advanced user level

Deploy, manage, and secure containers and containerized applications on Google Cloud Platform (GCP). This book covers each container service in GCP from the ground up and teaches you how to deploy and manage your containers on each service.

You will start by setting up and configuring GCP tools and the tenant environment. You then will store and manage Docker container images with GCP Container Registry (ACR). Next, you will deploy containerized applications with GCP Cloud Run and create an automated CI/CD deployment pipeline using Cloud Build. The book covers GCP’s flagship service, Google Kubernetes Service (GKE), and deployment of a Kubernetes cluster using clear steps and considering GCP best practices using the GCP management console and gcloud command-line tool. Also covered is monitoring containers and containerized applications on GCP with Cloud Monitoring, and backup and restore containers and containerized applications on GCP.

By the end of the book, you will know how to get started with GCP container services and understand the fundamentals of each service and the supporting services needed to run containers in a production environment. This book also assists you in transferring your skills from AWS and Azure to GCP using the knowledge you have acquired on each platform and leveraging it to gain more skills.


What You Will Learn
  • Get started with Google Cloud Platform (GCP)
  • Store Docker images on GCP Container Registry 
  • Deploy Google Kubernetes Engine (GKE) cluster
  • Secure containerized applications on GCP
  • Use Cloud Build to deploy containers 
  • Use GCP Batch for batch job processing on Kubernetes 

Who This Book Is For

Google Cloud administrators, developers, and architects who want to get started and learn more about containers and containerized applications on Google Cloud Platform (GPC)



About the Author xiii
About the Technical Reviewer xv
Acknowledgments xvii
Introduction xix
Chapter 1 Get Started with Google Cloud Platform (GCP) 1(38)
Introduction
1(1)
Get Started with Google Cloud Platform (GCP)
2(5)
The Benefits of a GCP Free Tier Account
3(1)
GCP Free Tier
3(4)
Understanding GCP Projects
7(14)
Creating a Project
7(5)
Create a VM Instance
12(6)
Delete a Project
18(2)
Restore Deleted Project
20(1)
Understanding Cloud Shell
21(10)
Using Cloud Shell
21(1)
Deploy a VM Instance Using Cloud Shell
22(2)
Work with Projects in Cloud Shell
24(1)
Cloud Shell Editor
25(5)
Google Cloud SDK
30(1)
Secure and Manage Your GCP Account
31(3)
Multi-Factor Authentication
31(1)
Create an Account with Specific Roles
31(2)
Expiring Access
33(1)
Separate Projects
34(1)
Avoid Using Primitive Roles
34(1)
GCP Container Services Overview
34(3)
Google Kubernetes Service (GKE)
35(1)
Google Container Registry
35(1)
Google Cloud Run
35(1)
Google Compute Engine
36(1)
Google Cloud Platform Container Services
36(1)
Summary
37(2)
Chapter 2 Google Container Registry (GCR) 39(30)
Install Docker
39(6)
Install Docker on macOS
40(3)
Install Docker Desktop on Windows 10
43(1)
Install Docker on Linux
44(1)
Check That Docker Is Working
44(1)
Introduction to Container Registries
45(2)
Docker Hub
45(1)
Private Registry
45(1)
Create a Local Docker Registry
45(2)
Introduction to Google Container Registry (GCR)
47(1)
Enable GCP Container Registry
47(3)
Push Docker Images to Google Container Registry (GCR)
50(6)
Install Cloud SDK
50(3)
Authenticate to GCP
53(3)
Pull Images from GCR Container Registry
56(2)
Delete Existing Image
57(1)
Pull Image
57(1)
Show Pull Command
57(1)
Manage and Secure Images on GCR
58(4)
About GCR Vulnerability Scanner
59(1)
Review Vulnerabilities
59(2)
Fix Vulnerabilities on a Docker Image
61(1)
Step 1: Pull the Image from GCR
61(1)
Step 2: Install Updates
61(1)
Step 3: Commit Image
61(1)
Step 4: Push the Image to GCR
62(1)
Container Registry Best Practices
62(1)
Separate Environments
62(1)
Keep Your Registry Close to Your Applications
62(1)
Security
63(1)
GCR Permissions
63(4)
View Storage Account
63(2)
Assign Permissions to GCR
65(2)
Summary
67(2)
Chapter 3 Deploy Containers with Cloud Run 69(36)
Cloud Run Introduction
69(1)
Get Started with Cloud Run
70(1)
Cloud Run gcloud Commands
70(1)
Deploy Containers to Cloud Run
71(8)
Step 1: Package Application
71(1)
Step 2: Build an Image
72(1)
Step 3: Push the Image to GCR
73(1)
Step 4: Deploy the Application from GCR into Cloud Run
74(5)
Deploy Containers to Cloud Run Using gcloud
79(2)
gcloud run
80(1)
Deploy
80(1)
Delete
80(1)
Use Cloud Build and Git to Deploy Containers to Cloud Run
81(7)
The Process
81(1)
Set Up Cloud Source Repositories
81(7)
Enable Cloud Build
88(15)
Enable Cloud Build and Grant Deploy Permissions
89(1)
Grant Cloud Build Permission to Deploy
89(2)
Cloudbuild.yaml File Configuration
91(3)
Cloud Build Trigger Event
94(9)
Summary
103(2)
Chapter 4 Deploy Containerized Applications with Google Kubernetes Engine (GKE) 105(32)
Kubernetes Overview
105(3)
Core Components
106(2)
Getting Started with GKE
108(2)
Single- or Multi-Zone Deployment
109(1)
Auto-scaling
109(1)
Vertical Pod Auto-scaling (VPA)
109(1)
Private Cluster
109(1)
Updates
110(1)
Deploy Our First GKE Cluster
110(11)
Express or Standard Setup Option
110(1)
Express Setup
111(2)
Standard Setup
113(2)
Master Version
115(1)
Node Pool Configuration
116(2)
Automation
118(1)
Features
119(2)
Deploy a GKE Cluster Using Cloud SDK and gcloud
121(3)
Create a Bash Script for GKE Deployment
123(1)
Deploy Apps to GKE
124(7)
Deploy a Stateless Application to GKE Using kubectl
124(3)
Deploy a Stateful Application to GKE
127(1)
YAML Deployment File
127(2)
Deploy a Stateful Application
129(1)
SSH into a Running Pod
129(1)
Create File
130(1)
Delete Statefulset
130(1)
Redeploy and Check the Volume
130(1)
Run Jobs on GKE
131(1)
Deploy a Job on GKE
131(1)
Check Workloads
132(1)
Deploy Workloads to GKE Using Cloud Run for Anthos
132(3)
Enable Anthos
133(1)
Deploy Containers to Anthos Using Cloud Shell
134(1)
Deploy Containers to Anthos Using Cloud Run Console
135(1)
Summary
135(2)
Chapter 5 Deploy Docker Containers on GCP Compute Engine 137(28)
Compute Engine Overview
138(1)
Container-Optimized OS from Google
138(1)
Deploy Linux Docker Container Host
139(8)
Use Cloud Shell to Create a VM
139(1)
Connect to VM Using SSH
140(1)
Connect to GCR and Pull Docker Image
141(2)
Create Linux Docker Host Using the Console
143(4)
Deploy Windows Server 2019 Docker Host
147(7)
Deploy Windows Containers
153(1)
Deploy and Manage Containers on Azure VM (Linux and Windows)
154(9)
Update Docker on Linux
155(1)
Update Docker on Windows
155(1)
Create and Map Volumes
155(1)
Map Container Host Volume
156(1)
Start a Docker Container in Bash
156(1)
Expose Port
156(1)
Create Image
157(1)
Install Docker Compose
157(1)
Deploy a Docker Compose Application
158(1)
Patch a Docker Image
159(1)
One-Line to Delete All Running and Non-running Containers
160(1)
Delete Container on Exit
160(1)
Delete Unused Docker Images
160(1)
Delete All Docker Volumes
160(1)
View Changes in Docker Image
161(1)
Check Docker Image Build History
161(1)
Run Multiple Websites on Docker Using HTTP and HTTPS
161(2)
Summary
163(2)
Chapter 6
Chapter Secure Your GCP Environment and Containers
165(24)
Introduction to GCP Identify Infrastructure
165(1)
Audit Logs
166(7)
GCP Cloud Audit Logs
166(1)
Default Configuration
166(1)
View Logs
166(1)
Use Query Builder
167(3)
Change Default Logging
170(3)
Organization Administrators
173(1)
Secret Manager API
174(7)
Create a Secret
174(7)
Firewall
181(3)
VPC Firewall
182(2)
Firewall Policies
184(1)
Firewall Rules for App Engine
184(1)
Firewall Insights
184(1)
Shielded VMs
184(2)
Create Shielded VM
185(1)
Create a Shielded VM Using Cloud Shell
186(1)
Admin Best Practices
186(1)
Use Separate Organizations Admin Account
187(1)
Multi-Factor Authentication
187(1)
User Roles
187(1)
Summary
187(2)
Chapter 7
Chapter Scaling
189(32)
Scale Google Kubernetes Service (GKE)
189(9)
GKE Cluster Autoscaler
189(1)
Auto-Scaling Profiles
190(1)
Enable GKE Cluster Autoscaler Using GKE Console
190(1)
Enable Autoscaler Using Cloud SDK and gcloud
191(1)
Enable Autoscaler on Existing GKE Cluster
192(1)
Horizontal vs. Vertical Pod Autoscaler
192(1)
Vertical Pod Auto-scaling
193(1)
Enable VPA on GKE Cluster Using Console
193(1)
Enable VPA Using Cloud SDK and gcloud
194(1)
Manual Scaling Using Console (resize)
194(4)
Manual Scaling Using Cloud SDK and gcloud
198(1)
Scale Cloud Run and Cloud Build Containers
198(11)
Configure Auto-scaling with Cloud Run
198(2)
Configure Cloud Run Auto-scaling Using Cloud SDK and gcloud
200(1)
Cloud Run Limit
201(1)
Increase Limits
201(3)
Domain Mapping
204(5)
Scale GCP Container Registry
209(1)
Scale Compute Engine Hosts
209(10)
Machine Types
211(1)
Auto-scaling Compute Engine Hosts
211(8)
Summary
219(2)
Chapter 8
Chapter Monitoring
221(38)
Cloud Monitoring Overview
221(1)
Alerting
221(1)
Alerting Policies
222(1)
Metrics
222(1)
GKE Monitoring
222(1)
Monitor Google Kubernetes Service (GKE)
222(6)
Pricing
222(1)
Enable Monitoring
223(1)
GKE Operations Suite Dashboard
224(4)
Monitor Cloud Run Containers
228(10)
Service Details
229(1)
Create an Uptime Check
230(3)
Alerting
233(5)
Monitor Compute Engine Resources
238(12)
Install Agent on a Linux VM (Ubuntu)
238(1)
Install Agent on a Linux VM (CentOS)
238(1)
Install Agent on a Windows VM
238(2)
Create Service Account for Authorizing Agent
240(7)
Copy Authorization File
247(1)
Monitor VM Instances
247(3)
GCP Cost Management
250(8)
Create Billing Alert
253(2)
Cost Table
255(1)
Cost Breakdown
256(1)
Pricing
257(1)
Summary
258(1)
Chapter 9
Chapter Backup and Restore
259(26)
Back Up Compute Engine VM Instances
259(9)
Snapshots
259(1)
Create Snapshot
260(3)
Create a Snapshot Using Cloud SDK and gcloud
263(1)
Schedule Snapshots
263(3)
Attach VM Instance Disk to Snapshot
266(2)
Restore Compute Engine VM Instance
268(4)
Create a New Instance from a Snapshot
268(2)
Replace Boot Disk
270(2)
Back Up Persistent Storage Disks (GKE)
272(2)
Manage Cloud Storage
274(7)
About Cloud Storage
274(1)
Create Bucket
274(2)
Set Retention Policy
276(1)
Add and Delete Files from Cloud Storage
277(1)
Configure or Add Retention Policy
278(1)
Create Lifecycle Rules
279(2)
Back Up Compute Engine Resources
281(2)
Summary
283(2)
Chapter 10
Chapter Troubleshooting
285(16)
Basic gcloud Commands
285(2)
Install Cloud SDK
285(1)
Initialize Cloud SDK
286(1)
Work with Projects
286(1)
Troubleshoot Google Kubernetes Service (GKE)
287(4)
Connect to a GKE Cluster
287(1)
Overloading
288(2)
Auto-scaling
290(1)
Troubleshoot Cloud Run and Cloud Build Deployments
291(4)
Console Logs
292(2)
Cloud Build Triggers
294(1)
Troubleshoot GCP Container Registry
295(1)
Troubleshoot Compute Engine Resource
295(5)
Select the Right Machine Family
296(1)
Firewall Ports
297(1)
Open Non-standard Ports
297(1)
Add Network Tag
298(2)
Summary
300(1)
Index 301
Shimon Ifrah is an IT professional with 15+ years of experience in the design, management, and deployment of information technology systems and networks. In recent years, he has been specializing in cloud computing and containerized applications on Microsoft Azure, Amazon AWS, and Google Cloud Platform (GCP). He holds more than 20 vendor certificates from Microsoft, AWS, VMware, and Cisco. During his career in the IT industry, he has worked for some of the largest managed services and technology companies in the world, helping them administer systems for the largest enterprises. He is based out of Melbourne, Australia.