官术网_书友最值得收藏!

Reach for the Cloud

In this chapter, we are going to learn how to build a Kubernetes cluster that runs on Amazon Web Services from first principles. In order to learn how Kubernetes works, we are going to manually launch the EC2 instances that will form this first cluster and manually install and configure the Kubernetes components.

The cluster that we will build is suitable for you to use when learning about managing Kubernetes and for developing applications that can run on Kubernetes. With these instructions, we are aiming to build the simplest possible cluster that we can deploy to AWS. Of course, this does mean that there are some things that you will want to do differently when building a cluster of mission-critical applications. But don't worry—there are three chapters in Part 3 - Ready for Production where we cover everything you need to know to get your cluster ready for even the most demanding applications.

Running a Kubernetes cluster on AWS costs money. The configuration we will cover in our instructions (a basic cluster with one master and one worker node) at the time of writing will cost around US 75 dollars a month. So if you are just using your cluster for experimentation and learning, remember to shut the instances down when you are finished for the day.

If you have finished with the cluster, terminate the instances and make sure that the EBS volumes have been deleted, because you will pay for these storage volumes even if the instances they are attached to have been stopped.

This chapter is designed to be a learning experience, so read through and type out the commands as you read them. If you have the e-book version of this book, then resist the urge to copy and paste, as you will learn more if you type out the commands and take some time to understand what you are doing. There are tools that will do everything this chapter covers and more just by running one command, but hopefully building your first cluster manually, step by step, will give you some valuable insight into what is required to make a Kubernetes cluster tick.

主站蜘蛛池模板: 罗田县| 九龙坡区| 饶河县| 刚察县| 新乡县| 宜昌市| 台北县| 汾西县| 诸城市| 宜黄县| 连平县| 静乐县| 田阳县| 静乐县| 叙永县| 木兰县| 尚志市| 古蔺县| 德化县| 读书| 新安县| 通州区| 东山县| 平邑县| 康乐县| 湾仔区| 阿拉尔市| 南昌市| 宣汉县| 旬邑县| 大关县| 孟连| 阜康市| 普陀区| 汪清县| 陵水| 卓尼县| 石泉县| 冷水江市| 惠水县| 海兴县|