Skip to content
This repository has been archived by the owner on Nov 30, 2019. It is now read-only.

paddycarver/hashidays-london

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Going Multi-Cloud with Terraform and Nomad

This is the code used for my Going Multi-Cloud with Terraform and Nomad talk, originally given at HashiDays London.

This code contains:

  1. A Packer config for building an image capable of running both Consul and Nomad.
  2. A Terraform config to stand up an AWS cluster using the image, a GCP cluster using the image, and a VPN connecting the two of them.

Authentication

The easiest way to authenticate for this is to use the Application Default Credentials for Google, which can be populated using gcloud auth application-default login, and to use the AWS shared credentials file, which can be set using aws configure.

Building the Packer Image

To build the Packer Image, change to the nomad-image directory and run packer build image.json.

Standing Up the Cluster

To stand up the cluster, run terraform apply from the root of the repository.

Support

This code was used for a demo. It is unmaintained by default--issues and pull requests will be ignored. Please use the Packer and Terraform community channels for support for each project.

This code is for demonstration purposes. It may not reflect all the best practices, and is not advice on how to set up your production infrastructure.

About

Code used for the demo of Going Multi-Cloud with Terraform and Nomad

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages