Top Banner
One-Click Deploy using Rundeck An Ops Swiss army knife tool By Sai Kothapalle
17

One Click Deploys using Rundeck

Jan 22, 2018

Download

Technology

Sai Kothapalle
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: One Click Deploys using Rundeck

One-Click Deploy using Rundeck

An Ops Swiss army knife tool

By Sai Kothapalle

Page 2: One Click Deploys using Rundeck

Rundeck Introduction

• Open source automation tool

• Helps automate ad-hoc & routine procedures in datacenter or cloud environment

• Simple User Interface

• User Management with AD

Page 3: One Click Deploys using Rundeck

Why Rundeck should be part of your OpsTools Box

• Can do advanced deploys not possible by config management tools

• Build automated CI pipeline with Rundeck

• Self service teams with jobs that automate tasks

• Trigger Incident based jobs

• Easy manage deploys – rolling or parallel on different environments, retry failed nodes

• Authorized central access through rundeck

• User trackabality, log executions

• Ship the job execution logs to your logging engine – elk, fluentd etc

Page 4: One Click Deploys using Rundeck

Where config mgmt. tools fail for deploy

• Good for config management of infrastructure but fail for custom deploy scenarios

• Chef, Puppet etc fail to trigger an immediate change in infrastructure

• Cannot have chef-client and puppet apply deamonized in all environments, example prod and critical environments.

• Many environments require rolling deploys.

• Fail to do ad-hoc deploys on multiple nodes

Page 5: One Click Deploys using Rundeck

Rundeck integrates with CM tool

• Rundeck can be loosely coupled with Chef, etc to trigger chef-client runs on parallel nodes

• Allows rolling deploy of chef-client so you don’t bring down prod or stage environment

• Rundeck + chef/puppet/Ansible

Page 6: One Click Deploys using Rundeck

Rundeck integrates with CI tools

• Rundeck supports plugins to integrate with existing ops tool box

• Integrate rundeck with Jenkins

• Integrate rundeck with Artifactory

• Integrate with Hipchat/slack

• Build complex pipeline beyond regular CI pipeline

Page 7: One Click Deploys using Rundeck

eToolchain with Rundeck

Page 8: One Click Deploys using Rundeck

Rundeck ties into cloud

• Deploy to your EC2 nodes, with project based access

• Plugins being developed for openstack

• Fetches node inventory from your config mgmt tools too

Page 9: One Click Deploys using Rundeck

Self-Service QA/Test and Devs

• Enable QA teams to start/ stop cloud environments

• Enable QA teams to do their own upgrades

• Enable QA/Devs to trigger CI/CD pipeline

• Centralized access point for authorized access

• User traceability

Page 10: One Click Deploys using Rundeck

Centralized access point for authorized access

Page 11: One Click Deploys using Rundeck

Sample Jobs that control your ELK stack

Page 12: One Click Deploys using Rundeck

Rolling Deploy built into Rundeck

• Automate Runbooks

• No more SSH into nodes

Page 13: One Click Deploys using Rundeck

Complex Workflows

• Can be customized to do any repeated task/job

• For example, on a set of nodes

- stop a service

- Run a chef client/ puppet apply

- Do custom checks

- Start service

- Trigger notification – slack/hipchat

Page 14: One Click Deploys using Rundeck

Rundeck deploys based on environments

Page 15: One Click Deploys using Rundeck

Trigger jobs from Slack

Page 16: One Click Deploys using Rundeck

Trigger jobs based on Incidents

• Respond to incidents on cloud by triggering jobs

Page 17: One Click Deploys using Rundeck

Demo