zutherb / terraform-dcos

Terraform module to bootstrap a DCOS cluster
57 stars 23 forks source link

DCOS Multi Master Terraform Module

Using this Terraform module, you can launch your own DCOS cluster.

The Mesosphere Datacenter Operating System (DCOS) spans all of the machines in your datacenter or cloud and treats them as a single, shared set of resources. DCOS provides a highly elastic and highly scalable way to build, deploy and manage modern applications using containers, microservices and big data systems.git

DCOS

Configurables

See variables.tf for a list of configurable parameters.

Module Instructions

To include this module in your Terraform code-base, use the following snippet:

module "dcos" {
  source = "github.com/zutherb/terraform-dcos"

  aws_access_key = "..."
  aws_secret_key = "..."
  aws_region     = "eu-central-1"
  ssh_public_key = "ssh-rsa ..."

  ...
}

Then run terraform get to retrieve this module.

Stand-Alone Instructions

Any Terraform module can also be used on its own. To do so, follow these instructions:

openvpn_admin_user="openvpn" openvpn_admin_pw="**"

* *optionally* run `terraform plan -out terraform.plan`
* run `terraform apply [terraform.plan]`

```bash

Architecture

DCOS is based on Mesos and includes a distributed systems kernel. It also includes a set of core system services, such as a native Marathon instance to manage processes and installable services, and Mesos-DNS for service discovery.

Components

DCOS is comprised of Mesos master and agent nodes, a native DCOS Marathon instance, Mesos-DNS for service discovery, Admin Router for central authentication and proxy to DCOS services, and Zookeeper to coordinate and manage the installed DCOS services.

DCOS

Read more

Network Security

DCOS provides the admin, private, and public security zones. The admin zone is accessible via HTTP/HTTPS and SSH connections, and provides access to your master nodes. The private zone is a non-routable network that is only accessible from the admin zone or through the edgerouter from the public zone. The optional public zone is where publicly accessible applications are run.

DCOS

Read more

Limitations

OpenVPN

OpenVPN Access Server is a full featured secure network tunneling VPN software solution that integrates OpenVPN server capabilities, enterprise management capabilities, simplified OpenVPN Connect UI, and OpenVPN Client software packages that accommodate Windows, MAC, Linux, Android, and iOS environments. OpenVPN Access Server supports a wide range of configurations, including secure and granular remote access to internal network and/ or private cloud network resources and applications with fine-grained access control.