Skip to content

cybersamx/mesosphere-helloworld

Repository files navigation

Mesosphere

My attempt to turn DigitalOcean Mesos tutorial to a Terraform template that I can use to automate a Mesos cluster.

Setup

  1. Make a copy of config.json.example and rename it to config.json.

  2. Edit the file config.json. Enter the name of the SSH key name you will associate with the EC2 instances. Change other settings in the file as you see fit.

  3. Run the Python script to generate a terraform.tfvars based on the settings in config.json.

    $ python setup.py
  4. Run terraform to set up the cluster

    $ terraform apply
  5. Read the output to get an IP address from one of the master nodes.

    To visit the Mesosphere console of your cluster go to:

    http://ip-address-of-a-master-node:5050
    

    To visit the Marathon console of your cluster go to:

    http://ip-address-of-a-master-node:8080
    
  6. Don't forget to remove all resources when you are done playing with this project.

    $ terraform destroy

References

  • Digital Ocean: How To Configure a Production-Ready Mesosphere Cluster on Ubuntu 14.04

About

Terraform AWS to create a Mesosphere cluster.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published