• : You will require an account on DigitalOcean as this is where the server and cluster will run.
  • DigitalOcean Access Key: Use this link to create a DigitalOcean Access Key if you don’t have one.
  • : Used to provision the server and cluster to DigitalOcean.
  1. Go into the DigitalOcean folder containing the terraform files by executing cd quickstart/do.

  2. Edit terraform.tfvars and customize the following variables:

    • do_token - DigitalOcean access key
    • rancher_server_admin_password - Admin password for created Rancher server
  3. Optional: Modify optional variables within . See the Quickstart Readme and the for more information. Suggestions include:

    • do_region - DigitalOcean region, choose the closest instead of the default
    • droplet_size - Droplet size used, minimum is s-2vcpu-4gb but s-4vcpu-8gb could be used if within budget
    • ssh_key_file_name - Use a specific SSH key instead of (public key is assumed to be ${ssh_key_file_name}.pub)
  4. Run terraform init.

  5. Paste the rancher_server_url from the output above into the browser. Log in when prompted (default username is admin, use the password set in rancher_server_admin_password).

Result

Two Kubernetes clusters are deployed into your DigitalOcean account, one running Rancher Server and the other ready for experimentation deployments.

Use Rancher to create a deployment. For more information, see .

  1. Wait for confirmation that all resources have been destroyed.