wjimenez5271 / terraform-modules

Rancher Terraform Modules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rancher Terraform Modules


These are opinionated Terraform modules that provision Rancher HA environments on AWS & GCE. We are working on support for Azure as well. Additionally there is a Digital Ocean module for non-HA setups. Currently these make use of RancherOS, though work is being done to include additional OSes.

See the example_ha folder for a possible layout that breaks up the network, DB and management plane into separate components. You should be able to deploy into existing environments leveraging the components that you need.

The HA example is divided up into two sections, one for AWS and one for GCE that will create:

AWS:

  • VPC - Across one or more availability zones. It has everything needed for external communications.
  • RDS MySQL Database
  • ELB pointing to an ASG of 3 nodes.

GCE:

  • RancherOS Compute Image
  • VM Instance Group - Allows you to dynamically scale by changing the quantity.
  • Forwarding Rule - Balances traffic between members of the instance group.
  • CloudSQL Instance - MySQL compatible persistence service. Connections are proxied over the GCE Cloud SQL Proxy.

DO

  • Ubuntu 16.04 Compute Image (official DO image)
  • Single node Rancher server, embedded database

Getting Help / Feedback

We appreciate feedback and of course pull requests to help improve these modules. Filing Github issues is also a good way to share feedback. You can communicate with the Rancher community at:

License

Copyright (c) 2014-2017 Rancher Labs, Inc.

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

http://www.apache.org/licenses/LICENSE-2.0

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.

About

Rancher Terraform Modules


Languages

Language:HCL 98.0%Language:Makefile 1.2%Language:Shell 0.8%