Book Image

Hybrid Cloud for Architects

By : Alok Shrivastwa
Book Image

Hybrid Cloud for Architects

By: Alok Shrivastwa

Overview of this book

Hybrid cloud is currently the buzz word in the cloud world. Organizations are planning to adopt hybrid cloud strategy due to its advantages such as untested workloads, cloud-bursting, cloud service brokering and so on. This book will help you understand the dynamics, design principles, and deployment strategies of a Hybrid Cloud. You will start by understanding the concepts of hybrid cloud and the problems it solves as compared to a stand-alone public and private cloud. You will be delving into the different architecture and design of hybrid cloud. The book will then cover advanced concepts such as building a deployment pipeline, containerization strategy, and data storage mechanism. Next up, you will be able to deploy an external CMP to run a Hybrid cloud and integrate it with your OpenStack and AWS environments. You will also understand the strategy for designing a Hybrid Cloud using containerization and work with pre-built solutions like vCloud Air, VMware for AWS, and Azure Stack. Finally, the book will cover security and monitoring related best practices that will help you secure your cloud infrastructure. By the end of the book, you will be in a position to build a hybrid cloud strategy for your organization.
Table of Contents (19 chapters)
Title Page
Copyright and Credits
Software Hardware List
Packt Upsell
Contributors
Preface
Index

Federation using Kubernetes


We finally come to the section of the book that we have been waiting for, that is, to make these two isolated Kubernetes clusters communicate and work with each other. This is done using a feature called the KubeFed

The following link talks about cluster federation in detail: https://kubernetes.io/docs/tasks/federation/set-up-cluster-federation-kubefed/

At the time of writing, Kubefed is beta and is only used by companies that are running cutting edge technology. In this, we create a new Kubernetes cluster, which is specifically used to federate the other Kubernetes clusters and not host the pods themselves.

The Federated service (the service in the federated cluster) is much like a normal k8s service but it performs the following functions:

  • Deploys the same Kubernetes services in every underlying cluster that is joined to the  cluster federation.
  • Monitors the health of those services. 
  • Manages DNS records in a public DNS provider (such as Google Cloud DNS, AWS Route...