Provisioner @ Ansible London

Provisioner @ Ansible London

Provisioner is a REST API for Ansible (a.k.a. poor man's Ansible Tower). It was designed to eliminate application specific golden images and to make deployment of common applications easy at scale.

C770b64f01d6b9360b59e8470c2754f4?s=128

Viktor Petersson

May 18, 2016
Tweet

Transcript

  1. Provisioner A REST API for Ansible (a.k.a. poor man’s Ansible

    Tower) @vpetersson vpetersson.com
  2. $ whoami • Geek and entrepreneur • Work full time

    on Screenly (digital signage for Raspberry Pi) • Background in the cloud industry @vpetersson vpetersson.com
  3. Why? • Solves a business need for cloud.net / OnApp

    Federation • Simplifies best practice deployments • Single host and clusters • Golden images suck @vpetersson vpetersson.com
  4. Design philosophy • KISS • (Easily) extendable yet curated •

    Use existing technologies • Agentless • No custom “base images” • Horizontally scalable @vpetersson vpetersson.com
  5. Technologies • Ansible (d’oh) • Docker • Python + Bottle

    • Redis @vpetersson vpetersson.com
  6. How it works @vpetersson vpetersson.com

  7. lb api0 apiN redis worker0 api1 worker1 worker2 workerN @vpetersson

    vpetersson.com
  8. Status • MVP / Beta • Used by cloud.net @vpetersson

    vpetersson.com
  9. “Roles” • Docker • Docker Registry • Drupal • MariaDB

    (MySQL) • MongoDB • PostgreSQL • Redis • WordPress • MongoDB • NodeBB • Weave Net @vpetersson vpetersson.com
  10. Demo (praise thy mighty demo gods) @vpetersson vpetersson.com

  11. Roadmap and goals • Upgrade to Ansible 2 • Extend

    playbook library • Improve speed • Make service upgrades easier • Add more documentation • Kubernetes @vpetersson vpetersson.com
  12. Resources • Provisioner on Github (https://github.com/OnApp/ provisioner) • “How Weave

    Net Enables a Global Docker Cluster with OnApp” (https://www.weave.works/weave- global-docker-cluster/) • This deck (https://speakerdeck.com/vpetersson/ provisioner-at-ansible-london) @vpetersson vpetersson.com