Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.44 KB

README.rst

File metadata and controls

50 lines (38 loc) · 1.44 KB

This is a small PoC for automating the setup of a few software projects one might want to use when developing and deploying software.

  • Vagrant - Repeatable automated development environments
  • Ansible - Automation & orchestration
  • Consul - Service mesh to discover & connect services
  • Nomad - Application scheduler
  • Vault - Secrets management

See Makefile for some available actions.

Setup in Hetzner's Cloud

git clone --recurse-submodules <repo url>
export TF_VAR_ssh_key="<insert name of hetzner ssh key here>"
export TF_VAR_hcloud_token="<insert hcloud token here>"
export TF_VAR_aws_r53_zone_id="<insert zone_id>"
export AWS_ACCESS_KEY_ID="<access key>"
export AWS_SECRET_ACCESS_KEY="<secret key>"
terraform apply

In case Vagrant fails to add the extra disks the storage controller might have to be adjusted. You can find out what your VMs were created with by running: VBoxManage list vms | cut -d \ -f 1 | xargs -i VBoxManage showvminfo {} | grep "Storage Controller Name" and then update the $storage_controller field in config.rb