introducing nintufiles.meetup.com/1780846/introducing nintu.pdf · • pysphere vs pyvmomi •...

13
September 26, 2016 INTRODUCING NINTU VM Orchestration in the Era of DevOps Rodney Young, DevOps Engineer at Endgame

Upload: others

Post on 29-Oct-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: INTRODUCING NINTUfiles.meetup.com/1780846/Introducing Nintu.pdf · • Pysphere vs pyvmomi • Freeipa? • Built in rest? § Puppet, Salt, Chef, Terraform • Package – File -

September 26, 2016

INTRODUCING NINTU

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

Page 2: INTRODUCING NINTUfiles.meetup.com/1780846/Introducing Nintu.pdf · • Pysphere vs pyvmomi • Freeipa? • Built in rest? § Puppet, Salt, Chef, Terraform • Package – File -

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

Page 3: INTRODUCING NINTUfiles.meetup.com/1780846/Introducing Nintu.pdf · • Pysphere vs pyvmomi • Freeipa? • Built in rest? § Puppet, Salt, Chef, Terraform • Package – File -

About me

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

3

Page 4: INTRODUCING NINTUfiles.meetup.com/1780846/Introducing Nintu.pdf · • Pysphere vs pyvmomi • Freeipa? • Built in rest? § Puppet, Salt, Chef, Terraform • Package – File -

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

Page 5: INTRODUCING NINTUfiles.meetup.com/1780846/Introducing Nintu.pdf · • Pysphere vs pyvmomi • Freeipa? • Built in rest? § Puppet, Salt, Chef, Terraform • Package – File -

5

Repeated VM operations feel like…

Page 6: INTRODUCING NINTUfiles.meetup.com/1780846/Introducing Nintu.pdf · • Pysphere vs pyvmomi • Freeipa? • Built in rest? § Puppet, Salt, Chef, Terraform • Package – File -

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

Page 7: INTRODUCING NINTUfiles.meetup.com/1780846/Introducing Nintu.pdf · • Pysphere vs pyvmomi • Freeipa? • Built in rest? § Puppet, Salt, Chef, Terraform • Package – File -

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

Page 8: INTRODUCING NINTUfiles.meetup.com/1780846/Introducing Nintu.pdf · • Pysphere vs pyvmomi • Freeipa? • Built in rest? § Puppet, Salt, Chef, Terraform • Package – File -

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

Page 9: INTRODUCING NINTUfiles.meetup.com/1780846/Introducing Nintu.pdf · • Pysphere vs pyvmomi • Freeipa? • Built in rest? § Puppet, Salt, Chef, Terraform • Package – File -

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

Page 10: INTRODUCING NINTUfiles.meetup.com/1780846/Introducing Nintu.pdf · • Pysphere vs pyvmomi • Freeipa? • Built in rest? § Puppet, Salt, Chef, Terraform • Package – File -

10

Page 11: INTRODUCING NINTUfiles.meetup.com/1780846/Introducing Nintu.pdf · • Pysphere vs pyvmomi • Freeipa? • Built in rest? § Puppet, Salt, Chef, Terraform • Package – File -

DEMONSTRATION

Page 12: INTRODUCING NINTUfiles.meetup.com/1780846/Introducing Nintu.pdf · • Pysphere vs pyvmomi • Freeipa? • Built in rest? § Puppet, Salt, Chef, Terraform • Package – File -

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

Page 13: INTRODUCING NINTUfiles.meetup.com/1780846/Introducing Nintu.pdf · • Pysphere vs pyvmomi • Freeipa? • Built in rest? § Puppet, Salt, Chef, Terraform • Package – File -

Questions

§  [email protected]

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

13