Giter Site home page Giter Site logo

tutum-startup's Introduction

tutum-startup

Register a new EC2 instance as a Tutum node on launch.

What

This script is run at startup on new EC2 instances (user-data) to register the instance as a Tutum node. Making use of the Bring Your Own Node feature.

Why

At Vidsy we wanted to use Tutum, but also benefit from the controls and features of AWS.

Implementation

Currently the script:

  1. Installs tutum-cli and aws-cli.
  2. Retrieves Tutum authentication from AWS S3 bucket.
  3. Registers new instance as Tutum node via CLI.
  4. Remove nodes from Tutum which have become "Unreachable".
  5. Waits for Tutum deployment to finish.
  6. Retrieves EC2 instance tags.
  7. Adds each tag as a Tutum tag.
  8. Delete all installed packages and Bash history.

Supported Linux Distros

Has been tested on: Ubuntu 14.04, RHEL 7, CentOS 7 and Fedora 23.

Make sure to check your OS is compatible with the Tutum Agent (see list).

To-Do

Look at any open issues labeled as to-do.

Notes

Credits

tutum-startup's People

Contributors

jskeates avatar

Watchers

assaf avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.