One-Click Deploy using Rundeck
An Ops Swiss army knife tool
By Sai Kothapalle
Rundeck Introduction
• Open source automation tool
• Helps automate ad-hoc & routine procedures in datacenter or
cloud environment
• Simple User Interface
• User Management with AD
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
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
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
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
eToolchain with 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
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
Centralized access point for authorized
access
Sample Jobs that control your ELK
stack
Rolling Deploy built into Rundeck
• Automate Runbooks
• No more SSH into nodes
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
Rundeck deploys based on
environments
Trigger jobs from Slack
Trigger jobs based on Incidents
• Respond to incidents on cloud by triggering
jobs
Demo

One Click Deploys using Rundeck

  • 1.
    One-Click Deploy usingRundeck An Ops Swiss army knife tool By Sai Kothapalle
  • 2.
    Rundeck Introduction • Opensource automation tool • Helps automate ad-hoc & routine procedures in datacenter or cloud environment • Simple User Interface • User Management with AD
  • 3.
    Why Rundeck shouldbe 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
  • 4.
    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
  • 5.
    Rundeck integrates withCM 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
  • 6.
    Rundeck integrates withCI 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
  • 7.
  • 8.
    Rundeck ties intocloud • Deploy to your EC2 nodes, with project based access • Plugins being developed for openstack • Fetches node inventory from your config mgmt tools too
  • 9.
    Self-Service QA/Test andDevs • 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
  • 10.
    Centralized access pointfor authorized access
  • 11.
    Sample Jobs thatcontrol your ELK stack
  • 12.
    Rolling Deploy builtinto Rundeck • Automate Runbooks • No more SSH into nodes
  • 13.
    Complex Workflows • Canbe 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
  • 14.
    Rundeck deploys basedon environments
  • 15.
  • 16.
    Trigger jobs basedon Incidents • Respond to incidents on cloud by triggering jobs
  • 17.