February 2017
Intermediate to advanced
440 pages
8h 45m
English
In this recipe, we'll build from scratch a fully working CoreOS cluster on Digital Ocean in their New York region, using Terraform and cloud-init. We'll add some latency monitoring as well with StatusCake, so we have a good foundation of using Terraform on Digital Ocean.
To step through this recipe, you will need the following:
Let's start by creating the digitalocean provider (it only requires an API token) in a file named providers.tf:
provider "digitalocean" {
token = "${var.do_token}"
}Declare the do_token variable in a file named variables.tf
Read now
Unlock full access