19.06.2021 Views

148422597X Kubernetes Management Design Patterns [Vohra 2017-01-29] {E559F6BB}

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Launching the CloudFormation

Chapter 4 ■ Using Multiple Zones

After we modify cluster.yaml, the CloudFormation stack must be validated. Validate the CloudFormation

stack with the following command:

kube-aws validate

Launch the CloudFormation stack.

kube-aws up

The AWS resources, such as the EC2 instances, scaling groups, and launch configurations are created,

and the CloudFormation is launched as shown in Figure 4-11.

Figure 4-11. Launching the CloudFormation

The status of the CloudFormation may be found with the following command:

kube-aws status

The controller IP is listed, as shown in Figure 4-12.

Figure 4-12. Finding the status of CloudFormation

The EC2 instances launched by the CloudFormation stack are shown in Figure 4-13. As indicated in the

Availability Zone column, two instances each are launched in the us-east-1b, us-east-1c, and us-east-1d

zones. The single controller runs in zone us-east-1b.

99

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!