Your one-stop guide for building, configuring, maintaining, and deploying one of the world's fastest growing OSes
About This Book
Understand the features of CoreOS and learn to administrate and secure a CoreOS environment
Develop, test, and deploy cloud services and applications more quickly and efficiently inside lightweight containers using CoreOS
This is a complete tutorial on CoreOS, which is the preferred OS for cloud computing as it contains components that facilitate cloud management
Who This Book Is For
This book is for cloud or enterprise administrators and application developers who would like to gain knowledge about CoreOS to deploy a cloud application or micro-services on a cluster of cloud servers. It is also aimed at administrators with basic networking experience. You do not need to have any knowledge of CoreOS.
What You Will Learn
Understand the benefits of CoreOS as a cloud orchestration platform
Learn about lightweight containers and various container frameworks such as Docker and RKT in CoreOS
Manage services and containers across cluster using Fleet and systemd
Set up a CoreOS environment using Vagrant
Create and manage CoreOS clusters
Discover the service parameters using etcd
Find out about chaining services running on the cluster using Flannel / Rudder and Weave
Create a virtual tenant network and service chaining using OVS
CoreOS is an open source operating system developed upon the Linux kernel. The rise of CoreOS is directly related to the rise of Docker (a Linux container management system). It is a minimal operating system layer and takes a different approach to automating the deployment of containers. The major difference between CoreOS and other Linux distributions is that CoreOS was designed to deploy hundreds of servers. CoreOS immensely helps the users to create systems, which are easy to scale and manage, making life easier for all, be it developer, QA, or deployer.
This book is all about setting up, deploying, and using CoreOS to manage clusters and clouds. It will help you understand what CoreOS is and its benefits as a cloud orchestration platform. First, we’ll show you how to set up a simple CoreOS instance with single node in the cluster and how to run a Docker container inside the CoreOS instance. Next, you’ll be introduced to Fleet and systemd, and will deploy and distribute Docker services across different nodes in cluster using Fleet.
Later, you’ll be briefed about running services in a cluster with constraints, publishing the services already running on the cluster to new services, and making your services interact with each other. We conclude by teaching you about advanced container networking. By the end of the book, you will know the salient features of CoreOS and will be able to deploy, administrate, and secure a CoreOS environment.
Style and approach
This practical guide covers the basics and advanced topics related to CoreOS and lightweight containers. The topics are covered in an easy-to-follow manner with each feature explained in detail, beginning with a brief overview and followed by an explanation of its corresponding configuration files.
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the code file.