Rundeck Open Source Workflow Automation

12

Click here to load reader

description

"Rundeck OpenSource Workflow Automation" - Enables Self-Service Operations - Easy to use, easy to learn / Michael Sodan (inovex GmbH), August 2014

Transcript of Rundeck Open Source Workflow Automation

Page 1: Rundeck Open Source Workflow Automation

Rundeck – OpenSource Workflow Automation

Enables Self-Service Operations

Easy to use, easy to learn

Michael Sodan, Inovex GmbH

Karlsruhe, 29.8.2014

Page 2: Rundeck Open Source Workflow Automation

2

1. Overview - What is Rundeck

2. Overview - Plugins / Integrations

3. Projects - Ressource Model Provider

4. Projects - Node Executor / File Copier

5. Nodes - Filtering Nodes / Tagging / Integrations

6. Jobs – Scripts / Commands

7. Showcase

Agenda

Page 3: Rundeck Open Source Workflow Automation

3

What is Rundeck?

Rundeck is a web-accessible console for

dispatching commands and scripts to your nodes!

Think of rexify, and think of a GUI for it!

It can be also used for deployments, ops tasks etc...

Page 4: Rundeck Open Source Workflow Automation

4

Plugins / Integrations

Integrate Rundeck in the following environments

Michael Sodan – Inovex GmbH – [email protected]

Page 5: Rundeck Open Source Workflow Automation

5

Ressource Model Provider – Node management

Several Sources can be used for example:

Michael Sodan – Inovex GmbH – [email protected]

- Directory including the above supported files

- Files in a supported format (yaml or xml)

- Own script to produce the node data

- Url Sources (can be used with plugins like puppet)

Page 6: Rundeck Open Source Workflow Automation

6

Node Executor / File Copier

- Rundeck simply uses privatekey authentication

Michael Sodan – Inovex GmbH – [email protected]

How is Rundeck dispatching commands to the nodes?

How is Rundeck copying scripts to the nodes?

- Rundeck simply uses SCP

What else is possible?

-You can use custom ssh commandsthrough the scriptoption for example:script-exec: ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -t -t ${node.username}@${node.hostname} -- ${exec.command}

Page 7: Rundeck Open Source Workflow Automation

7

Filtering Nodes / Tagging / Integrations

- Nodes can be filtered with simple regular expressions

Michael Sodan – Inovex GmbH – [email protected]

- You can use tags predefined for example in Puppet

How can I select only some specific nodes for execution?

- Filters can be saved for later faster use

Page 8: Rundeck Open Source Workflow Automation

8

Jobs / Commands / Scripts

Within Rundeck you can easily create:

Michael Sodan – Inovex GmbH – [email protected]

- Jobs (can be triggered by the scheduler or on- demand

- dispatch Scripts to the selected nodes

- or simply some user defined commands

Page 9: Rundeck Open Source Workflow Automation

9

Showcase

Michael Sodan – Inovex GmbH – [email protected]

- Installation through precompiled .deb or .rpm

- Login can be found on $host:4440

- Use "admin" for username and password.

- Command Line Tools for creating / savingProjects and Jobs

- You can also use the Web API to interface with allaspects of node and Job execution.(http://rundeck.org/docs/api/index.html)

Some Essentials

Page 10: Rundeck Open Source Workflow Automation

10

Links / Informations

- http://rundeck.org/plugins/index.html

Michael Sodan – Inovex GmbH – [email protected]

- https://github.com/rundeck-plugins/

- https://github.com/jamtur01/puppet-rundeck

- https://bitbucket.org/msodan/docker_rundeck/src

More informations can be found here:

The ready to go test environment can be found here:

- http://rundeck.org/docs/

Page 11: Rundeck Open Source Workflow Automation

Any questions?

Page 12: Rundeck Open Source Workflow Automation

12

Contact

Michael SodanIT Engineering & Operations

inovex GmbHOffice KarlsruhePark Plaza / Ludwig Erhard Allee 6 76131 Karlsruhe

+49 173 3181 [email protected]

Thank your very much for your patience!