Google Anthos in Action MEAP V06 Copyright Welcome letter Brief contents Chapter 1: Overview of Google Anthos 1.1 Anatomy of a Modern Application 1.1.1 Accelerating Software Development 1.1.2 Standardizing Operations At-Scale 1.2 Origins in Google 1.3 How to read this book Chapter 2: Cloud is a new computing stack 2.1 Introduction 2.2 Digital Velocity and The Enterprise Dilema 2.3 Traditional models for application development and delivery 2.3.1 Advantages and Pitfalls of Client / Server Architecture 2.3.2 Advantages and Pitfalls of Web Architecture 2.3.3 Service Oriented Architecture 2.4 Disrupting Application Delivery and The Birth of Cloud 2.4.1 Disrupting How Software is Made 2.4.2 Development Innovation at Google 2.4.3 Application Development throughout the Industry 2.4.4 Contract-first development, SOA and the evolution to Microservices 2.5 Microservices and Containers 2.5.1 Containers Enable Microservices 2.6 Software defined everything and DevOps 2.7 Cloud is the modern computing stack 2.8 Summary Chapter 3: Anthos, the one single pane-of-glass 3.1 Terminology 3.1.1 Personas 3.1.2 DevOps/Site Reliability Engineering Concepts 3.1.3 Other Terminology 3.2 Non-Anthos Visibility and Interaction 3.3 Kubernetes Dashboard 3.3.1 Provider-specific UIs 3.3.2 Bespoke Software 3.4 The Anthos UI 3.4.1 Fleets 3.5 Connect, How does it work? 3.5.1 Installation and Registration 3.6 The Anthos Cloud UI 3.6.1 The Anthos Dashboard 3.6.2 Service Mesh 3.6.3 Config Management 3.6.4 Clusters 3.6.5 Features 3.6.6 Migrate to containers 3.6.7 Security 3.7 Monitoring and Logging 3.8 GKE Dashboard 3.9 Connecting to a Remote cluster 3.10 Summary Chapter 4: Anthos, the computing environment built on Kubernetes 4.1 Why do you need to understand Kubernetes? 4.2 The History of Abstraction 4.3 Introducing Physical Servers 4.3.1 Introducing Virtual Machines 4.3.2 Introducing Containers 4.3.3 Introduction to Serverless 4.4 Introducing Kubernetes 4.4.1 Addressing Kubernetes Gaps 4.4.2 Managing On-Prem and Off-Prem Clusters 4.5 Kubernetes architecture 4.5.1 Understanding the Cluster Layers 4.5.2 The Control Plane Components 4.5.3 Worker node components 4.5.4 Understanding Declarative and Imperative 4.5.5 Understanding Kubernetes resources 4.5.6 Kubernetes Resources In Depth 4.5.7 Understanding the Kubernetes scheduler 4.5.8 Controlling pod scheduling 4.6 Advanced topics 4.7 Aggregate ClusterRoles 4.8 Custom schedulers 4.9 Summary 4.10 Examples and Case Studies 4.10.1 FooWidgets Industries 4.11 References 4.11.1 The EFK stack 4.11.2 Backing up ETCD on GKE on-prem Clusters Chapter 5: Anthos Service Mesh: Security and Observability at Scale 5.1 Technical Requirements 5.2 What is a service mesh? 5.3 An Introduction to Istio 5.3.1 Istio architecture 5.3.2 Istio Traffic Management 5.3.3 Istio Security 5.3.4 Istio Observability 5.4 What is Anthos Service Mesh? 5.5 Installing ASM 5.5.1 Sidecar proxy injection 5.5.2 Uniform Observability 5.5.3 Operational agility 5.5.4 Policy-Driven security 5.6 Conclusion 5.7 Examples and Case Studies 5.7.1 Evermore Industries 5.8 Summary Chapter 6: Operations management in Anthos 6.1 Unified User Interface from Google Cloud Console 6.1.1 Registering clusters to Google Cloud Console 6.1.2 Authentication 6.1.3 Cluster Management 6.2 Logging and Monitoring 6.2.1 Logging and Monitoring GKE on-prem 6.3 Service Mesh Logging 6.4 Using Service Level Indicators and Agreements 6.5 Anthos Command Line Management 6.5.1 Using CLI Tools for GKE on-prem 6.5.2 Cluster Management: Creating a new user Cluster 6.5.3 Cluster Management: Scaling 6.5.4 Cluster Management: Upgrading Anthos 6.5.5 Cluster Management: Backing up Clusters 6.6 GKE on AWS 6.6.1 Connecting to the management service 6.6.2 Cluster Management: Creating a new user cluster 6.6.3 Cluster Management: Scaling 6.6.4 Cluster Management: Upgrading 6.7 Anthos attached clusters 6.8 Anthos on Bare Metal 6.9 Connect Gateway 6.10 Anthos on Azure 6.10.1 Cluster management: Creation 6.10.2 Cluster management: Deletion 6.11 Summary Chapter 8: Hybrid applications in Anthos 8.1 Highly available applications 8.1.1 Architecture 8.1.2 Benefits 8.1.3 Limitations 8.2 Geographically distributed applications 8.2.1 Ingress for Anthos Architecture 8.2.2 Ingress for Anthos Benefits 8.2.3 Ingress for Anthos Limitations 8.3 Hybrid Multi Cloud applications with internet access 8.3.1 Traffic Director Architecture 8.3.2 Traffic Director Benefits 8.3.3 Traffic Director Limitations 8.4 Applications regulated by law 8.4.1 Architecture 8.4.2 Benefits 8.5 Applications which have to run on the edge 8.5.1 Architecture 8.5.2 Benefits 8.5.3 Limitations 8.6 Summary Chapter 9: Anthos, the compute environment running on VMware 9.1 Why should I use Anthos on VMware? 9.2 Anthos on VMware Architecture 9.2.1 Anthos Networking 9.2.2 GCP integration capabilities 9.3 Summary Chapter 11: Knative serverless extension 11.1 What is the problem we are trying to solve 11.2 Introduction to Serverless 11.3 Knative 11.3.1 Introduction 11.3.2 Knative History 11.3.3 Knative Architecture 11.3.4 Knative Kubernetes Resources Types 11.3.5 Knative Serving 11.3.6 Knative Serving Control Plane 11.3.7 Knative Eventing 11.3.8 Knative Eventing Resources 11.3.9 Knative Use Cases 11.3.10 Observability 11.3.11 Installing Knative 11.3.12 Deploying to Knative 11.4 Summary Chapter 12: Anthos - the networking environment 12.1 Cloud networking and hybrid connectivity 12.1.1 Single cloud deployment 12.1.2 Multi / Hybrid Cloud Deployment 12.2 Anthos GKE Networking 12.2.1 Anthos cluster networking 12.2.2 Anthos GKE IP address management 12.3 Anthos Multi-cluster Networking 12.3.1 Multi-cluster networking on GCP 12.3.2 Multi-cluster networking in hybrid and multi-cloud environments 12.4 Services and Client Connectivity 12.4.1 Client to Service connectivity 12.4.2 Service to Service Connectivity 12.4.3 Service to external services connectivity 12.5 Summary Chapter 13: Anthos Config Management 13.1 What are we trying to solve? 13.2 Overview of ACM 13.2.1 ACM Policy Structure 13.2.2 ACM-specific Objects 13.2.3 Additional Components 13.3 Examples and Case Studies 13.3.1 Evermore Industries 13.3.2 Village Linen, LLC 13.3.3 Ambiguous Rock Feasting 13.4 Conclusions 13.5 Summary Chapter 18: Migrate for Anthos and GKE 18.1 Migrate for Anthos benefits 18.2 Recommended workloads for migration 18.3 M4A Architecture 18.3.1 Migration workflow 18.3.2 From virtual machines to containers 18.3.3 A look at the Windows environment 18.3.4 A complete view on the modernization journey 18.4 Real world scenarios 18.4.1 Using the fit assessment tool 18.4.2 Basic migration example 18.4.3 Google Cloud Console UI migration example 18.4.4 Windows migration 18.4.5 Migration from other clouds 18.5 Advanced topic: M4A best practices 18.6 Post-migration integration with CI/CD pipelines 18.7 Post-migration integration with ASM 18.8 Summary Learn multicloud deployment on Anthos directly from the Google development team! Anthos delivers a consistent management platform for deploying and operating Linux and Windows applications anywhere—multi-cloud, edge, on-prem, bare metal, or VMware.Summary In Google Anthos in Action you will learn: How Anthos reduces your dependencies and stack-bloat Running applications across multiple clouds and platforms Handling different workloads and data Adding automation to speed up code delivery Modernizing infrastructure with microservices and Service Mesh Policy management for enterprises Security and observability at scale Google Anthos in Action demystifies Anthos with practical examples of Anthos at work and invaluable insights from the Google team that built it. You'll learn how to use this modern, Kubernetes-based cloud platform to balance costs, automate security, and run your software literally anywhere. The book is full of Google-tested patterns that will boost efficiency across the development lifecycle. It's an absolutely essential guide for anyone working with Anthos, or delivering software in a cloud-centric world. About the technology The operations nightmare: modern applications run on-prem, in the cloud, at the edge, on bare metal, in containers, over VMs, in any combination. And you're expected to handle the rollouts, dataOps, security, performance, scaling, backup, and whatever else comes your way. Google Anthos feels your pain. This Kubernetes-based system simplifies hybrid and multicloud operations, providing a single platform for deploying and managing your applications, wherever they live. About the book Google Anthos in Action introduces Anthos and shows you how it can simplify operations for hybrid cloud systems. Written by 17 Googlers, it lays out everything you can do with Anthos, from Kubernetes deployments to AI models and edge computing. Each fully illustrated chapter opens up a different Anthos feature, with exercises and examples so you can see Anthos in action. You'll appreciate the valuable mix of perspectives and insight this awesome team of authors delivers. What's inside Reduce dependencies and stack-bloat Run applications across multiple clouds and platforms Speed up code delivery with automation Policy management for enterprises Security and observability at scale About the reader For software and cloud engineers with experience using Kubernetes. About the author Google Anthos in Action is written by a team of 17 Googlers involved with Anthos development, and Google Cloud Certified Fellows assisting customers in the field. Table of Contents 1 Overview of Anthos 2 One single pane of glass 3 Computing environment built on Kubernetes 4 Anthos Service Mesh: Security and observability at scale 5 Operations management 6 Bringing it all together 7 Hybrid applications 8 Working at the edge and the telco world 9 Serverless compute engine (Knative) 10 Networking environment 11 Config Management architecture 12 Integrations with CI/CD 13 Security and policies 14 Marketplace 15 Migrate 16 Breaking the monolith 17 Compute environment running on bare metal Learn multicloud deployment on Anthos directly from the Google development team! Anthos delivers a consistent management platform for deploying and operating Linux and Windows applications anywheremulti-cloud, edge, on-prem, bare metal, or VMware. In Google Anthos in Action you will Google Anthos in Action demystifies Anthos with practical examples of Anthos at work and invaluable insights from the Google team that built it. Youll learn how to use this modern, Kubernetes-based cloud platform to balance costs, automate security, and run your software literally anywhere. The book is full of Google-tested patterns that will boost efficiency across the development lifecycle. Its an absolutely essential guide for anyone working with Anthos, or delivering software in a cloud-centric world. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology The operations modern applications run on-prem, in the cloud, at the edge, on bare metal, in containers, over VMs, in any combination. And youre expected to handle the rollouts, dataOps, security, performance, scaling, backup, and whatever else comes your way. Google Anthos feels your pain. This Kubernetes-based system simplifies hybrid and multicloud operations, providing a single platform for deploying and managing your applications, wherever they live. About the book Google Anthos in Action introduces Anthos and shows you how it can simplify operations for hybrid cloud systems. Written by 17 Googlers, it lays out everything you can do with Anthos, from Kubernetes deployments to AI models and edge computing. Each fully illustrated chapter opens up a different Anthos feature, with exercises and examples so you can see Anthos in action. Youll appreciate the valuable mix of perspectives and insight this awesome team of authors delivers. What's inside About the reader For software and cloud engineers with experience using Kubernetes. About the author Google Anthos in Action is written by a team of 17 Googlers involved with Anthos development, and Google Cloud Certified Fellows assisting customers in the field. Table of Contents 1 Overview of Anthos 2 One single pane of glass 3 Computing environment built on Kubernetes 4 Anthos Service Security and observability at scale 5 Operations management 6 Bringing it all together 7 Hybrid applications 8 Working at the edge and the telco world 9 Serverless compute engine (Knative) 10 Networking environment 11 Config Management architecture 12 Integrations with CI/CD 13 Security and policies 14 Marketplace 15 Migrate 16 Breaking the monolith 17 Compute environment running on bare metal