Skip to content

ahus1/saltconsul-examples

Repository files navigation

Example Project for Terraform, Salt, Consul and DigitalOcean

Build Status

About

This started out as an example on how to use the three software packages and a cloud provider in a tutorial:

  • HashiCorp’s Terraform - spin up new servers and orchestrate resources in the cloud from a simple text file.

  • SaltStack’s Salt - install and manage software on a server. With it’s cloud add-on it can also spin up new servers in the cloud.

  • HashiCorp’s Consul - service discovery and monitoring in the cloud.

  • DigitalOcean - a cloud provider. Use their API to spin up virtual servers as needed.

This setup will show you a setup where a ngix load balancer distributes the load between multiple web servers.

There is a full tutorial available online. The sources for this tutorial are in the tutorial sub folder of this project.

For experienced users there is a minimal set of instructions in cheatsheet.adoc.

License

Copyright 2015 Alexander Schwartz

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.