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

  • Kubernetes on AWS
  • Ed Robinson
  • 363字
  • 2021-06-10 18:41:28

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.

主站蜘蛛池模板: 威信县| 兰西县| 邹城市| 九台市| 大足县| 若羌县| 澎湖县| 滦南县| 寿阳县| 军事| 凉山| 甘泉县| 开阳县| 娄底市| 黔江区| 太康县| 太康县| 隆化县| 时尚| 株洲市| 高雄市| 晴隆县| 永顺县| 平乡县| 阳朔县| 泊头市| 泌阳县| 奎屯市| 康平县| 朝阳区| 临邑县| 登封市| 黄大仙区| 汕头市| 安平县| 湟中县| 通榆县| 新昌县| 五家渠市| 开封市| 启东市|