Upgrade to Pro — share decks privately, control downloads, hide ads and more …

How to Glue your CI/CD Stack together with Ansible

Shadow-Soft
October 17, 2018

How to Glue your CI/CD Stack together with Ansible

Do you need to push code faster? Do you need to increase the reliability of your software releases?

Learn how to conquer these challenges with a simple CI/CD framework and the flexibility of Ansible.

Shadow-Soft

October 17, 2018
Tweet

More Decks by Shadow-Soft

Other Decks in Technology

Transcript

  1. Thanks to our sponsors Unleashing the power of compute through

    software Driving innovation in processing
  2. Why Shadow-Soft Take the risk out of emerging technology You’re

    a long-term partner, not a transaction Unique expertise and certifications © Shadow-Soft & Red Hat
  3. Solutions Conquer scalability and governance challenges with our CI/CD framework

    CI/CD & Automation Get to market faster, increase portability, and reduce costs with containerized apps in Kubernetes Kubernetes Solve your toughest IT management problem with our flexible monitoring solutions Monitoring & Analytics © Shadow-Soft & Red Hat
  4. Agenda • Why integrate CI/CD tools • Ansible is your

    “Glue” • Integrations • Demo • Q&A John Ray Practice Manager, DevOps Derrick Sutherland Senior Consultant © Shadow-Soft & Red Hat
  5. Principles of a CI/CD Framework Reduce waste • Human touches

    • Alerts that are useless Feedback • Continuous improvement • Feedback at all stages Use the right tools • Evangelize • Train Adhere to process • Fix problems at the start • Discipline = freedom © Shadow-Soft & Red Hat
  6. Integration of CI/CD tools • Push code faster • Increase

    reliability of software releases • Provide structure and governance © Shadow-Soft & Red Hat
  7. Why Ansible is the “Glue” Bare-metal servers, VMs or cloud

    instances, Ansible streamlines the process. Provisioning Effectively manage the entire application lifecycle from development to production. App Deployment Centralizing configuration file management is a common use case for Ansible. Config Management Ansible provides a simple solution for managing disparate systems. Orchestration Easily automate site-wide security policies via Ansible playbooks. Security & Compliance Keep your applications properly deployed & managed throughout the entire lifecycle. Continuous Delivery © Shadow-Soft & Red Hat
  8. Ansible: The What It’s a simple automation language that can

    perfectly describe an IT application infrastructure in Ansible Playbooks. No database or daemon required and only needs to be installed on one machine (a laptop?) • Python 2.4+ supported • SSH and SFTP (or SCP) used to manage system communication • Windows support is driven via Powershell via winrm • Uses OpenSSH when capable • Will fallback to Parmiko for older machines © Shadow-Soft & Red Hat
  9. Use Case: Ansible & Operating Systems • Configure and manage

    operating systems • Thousands of modules available • Support for Linux and Windows client machines • No agent required ex. ansible webservers -m yum -a “name=httpd state=present” © Shadow-Soft & Red Hat
  10. Use Case: Ansible & Infrastructure / Cloud • Hundreds of

    modules available for each major cloud platform ◦ AWS, Azure, GCP, Openstack, DigitalOcean, etc • Hundreds of modules available for multiple infrastructure providers ◦ VMWare, RHEV, etc • Provides ability to provision, modify, manage and delete resources across multiple domains © Shadow-Soft & Red Hat
  11. Use Case: Ansible & Containers • Ansible manages the lifecycle

    of containers & images ◦ Build, Push, Pull • Ansible deploys container registry & orchestration systems ◦ ex. KubeSpray, GKE, AKS, EKS, etc ◦ ex. ACS, ECR, etc • Ansible can fully manage Kubernetes based environments ◦ Deployments, ReplicaSets, Scaling, etc © Shadow-Soft & Red Hat
  12. Use Case: Ansible & Notifications • Ansible can send notifications

    out to third party chat systems • Multiple plugins are available for the most popular chat systems © Shadow-Soft & Red Hat
  13. CI/CD Review 1. Shadow-Soft will review your existing CI/CD framework,

    architecture, and tooling 2. Receive recommendations on how to integrate your CI/CD tools together 3. Learn how other clients are using Ansible as “Glue” Schedule a time with a consultant [email protected] © Shadow-Soft & Red Hat