INTRODUCING NINTUfiles.meetup.com/1780846/Introducing Nintu.pdf · • Pysphere vs pyvmomi •...

Preview:

Citation preview

September 26, 2016

INTRODUCING NINTU

VM Orchestration in the Era of DevOps Rodney Young, DevOps Engineer at Endgame

Nintu Overview

§  Devs: Guillermo Menjivar, Rodney Young, Michael Sheinberg

§  Written in python 2

§  Developed as a rest api to connect and orchestrate many other tools and platforms

§  Currently working with VMWare vCenter, but that is only a start

§  Looking to open source in the fall

2

About me

§  Liberal arts background (B.A. English/History; M.A. History) §  Naturally, I went into a technical field §  DevOps Engineer at Endgame

3

What Makes DevOps at Endgame Different?

§  Use a lot of custom solutions, in house developed tools, big data platforms, cloud technologies, and much more

§  Write more code than most devops groups §  Not afraid to be bold, try new technology, fail fast and iterate §  DevOps in the security field pushes edge cases and custom requirements §  Tools we create actually get used §  Have a bunch of fun

4

5

Repeated VM operations feel like…

It would be nice if…

§  One command could start as many VMs as you want

§  It didn’t matter what hypervisor you were using (VMWare, AWS, openstack…)

§  DNS got set up (if needed)

§  IPs got registered (if appropriate)

§  Service registry notified (hashicorp consul or similar)

§  Tear down just as easy

6

Prospective Use Cases

§  ephemeral VMs for Jenkins builds

§  stand up VMs and capturing metadata to feed automation systems (ansible or similar)

§  automated monitoring (freeipa / dns srv / Prometheus)

§  quick setup of proof of concept applications

§  orchestration of physical nodes (stacki with stacki rest)

7

Design Principles

§  Python micro-service with a restful API at the center §  Extendable via calls from the restful API to other tools, such as consul, freeipa,

vmware, ec2… §  Slim, easy to set up, easy to tweak and extend §  Loosely coupled §  An abstraction of existing APIs of useful tools like VMWare, EC2, freeipa, consul,

Prometheus, stacki… §  Allow each tool to do what it does best, but provide a standard, single set of

endpoints to connect them with orchestration

8

Existing Tools?

§  Libcloud •  Pysphere vs pyvmomi •  Freeipa? •  Built in rest?

§  Puppet, Salt, Chef, Terraform •  Package – File - Service = J!! •  Package – File – Service – Custom Module = K •  Package – File – Service – (module that doesn’t work well) =

·  salt://scripts/L.sh: cmd.script: - env: - BATCH: 'yes’ – IDEMPOTENT: ‘ihopeso’ §  Platform specific tools

•  Perl scripts for vmware •  MS hyper-v / powershell

9

10

DEMONSTRATION

Concluding Thoughts

§  We hope to open source Nintu in the fall §  If you are interested, follow Endgame’s blog for an announcement §  At that point, we also hope you try it out and submit pull requests!

Confidential and Proprietary 12

Questions

§  ryoung@endgame.com

§  Linkedin: https://www.linkedin.com/in/rodney-young-a992417

13

Recommended