Chapter 8. CoreOS on AWS

 

This chapter covers

  • Supporting CoreOS with an AWS virtual infrastructure
  • Building out scalable CoreOS on that infrastructure
  • Attaching a dynamic load balancer to a cluster
  • Deploying services with the AWS CLI

This chapter shifts away from application architecture and local development instances of CoreOS, and works through a production deployment of CoreOS in Amazon Web Services (AWS). We’ll start small, with a simple cluster that looks similar to your development environment; then, we’ll build out some more-complex infrastructures for performance and availability, scaling across different vectors.

By the end of this chapter, you’ll have a scalable production platform on which you can run your applications; and in chapter 9, you’ll work on deploying the application stack you’ve built in the last few chapters onto this infrastructure. You’ll learn how to stand up a basic CoreOS cluster in AWS that spans availability zones and can act as a baseline for any application stack you want to build.

Note

This chapter doesn’t require that you have strong AWS skills already, but I assume you can read some AWS documentation and get your account set up (see the requirements listed in section 8.1.3). The chapter may seem a little less dense, though, if you have some experience or have read literature such as Manning’s Amazon Web Services in Action (Michael Wittig and Andreas Wittig, 2015, www.manning.com/books/amazon-web-services-in-action).

8.1. AWS background

8.2. Summary