Introduction to DevOps and CI/CD

Introduction to DevOps and CI/CD

Introduction to DevOps and CI/CD
In this session, we will cover the concept of DevOps and the tools of trade.
Date: 20 February Time: 4:00 a.m. UTC
Herfiedhantya Bhagaskara
Associate Technical Manager

7a75a2cc883ed99599e1b3d4a2597f58?s=128

page2me kitarotao

February 20, 2020
Tweet

Transcript

  1. 1 © 2016 Cisco and/or its affiliates. All rights reserved.

    Cisco Confidential Herfiedhantya Bhagaskara TFE Team Feb 2020 IPD Week Introduction to DevOps and CI/CD
  2. 2 © 2016 Cisco and/or its affiliates. All rights reserved.

    Cisco Confidential Agenda What is DevOps ? Intro CI/CD
  3. 3 © 2016 Cisco and/or its affiliates. All rights reserved.

    Cisco Confidential What is DevOps?
  4. 4 © 2016 Cisco and/or its affiliates. All rights reserved.

    Cisco Confidential • Care About • Everything is stable • Standards • Templates • Not getting bothered at 2:00 am • Success • Software is stable • Backup and restore works • Systems are operating within defined thresholds Operations World
  5. 5 © 2016 Cisco and/or its affiliates. All rights reserved.

    Cisco Confidential • Care About • Writing Software • Working Code • APIs • Libraries • Sprints • Success • Software works – Laptop and Test • Finished Sprint Developers World
  6. 6 © 2016 Cisco and/or its affiliates. All rights reserved.

    Cisco Confidential A C B
  7. 7 © 2016 Cisco and/or its affiliates. All rights reserved.

    Cisco Confidential A C B
  8. 8 © 2016 Cisco and/or its affiliates. All rights reserved.

    Cisco Confidential
  9. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco

    Confidential “If you are doing quarterly releases and your competitor is doing daily releases you will fall so far behind” Adrian Cockcroft – former Netflix Architect
  10. 10 © 2016 Cisco and/or its affiliates. All rights reserved.

    Cisco Confidential Gene Kim - author of “The Phoenix Project” and the “DevOps Handbook” “[DevOps is] a set of cultural norms and technical practices that enable this fast flow of work from dev through test through operations while preserving world class reliability”
  11. 11 © 2016 Cisco and/or its affiliates. All rights reserved.

    Cisco Confidential Lean
  12. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco

    Confidential • Organization can never have enough information to understand how to do better in the marketplace. • The more we experiment, the more information we can gather • Solid Information leads to improved strategy and benefits our customer as well as the business. Improve Ability to Respond and Shift
  13. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco

    Confidential HOW ?
  14. 14 © 2016 Cisco and/or its affiliates. All rights reserved.

    Cisco Confidential What is a Microservice? • A small and focused piece of software • Stateless loosely coupled • Language and technology independent • Highly scalable and fault tolerant
  15. 15 © 2016 Cisco and/or its affiliates. All rights reserved.

    Cisco Confidential Application Evolution is Driving Technology Adoption
  16. 16 © 2016 Cisco and/or its affiliates. All rights reserved.

    Cisco Confidential Better aligning to the Dev and Ops of DevOps • Puppet, Chef, Ansible are popular with Ops but not Devs • Containers are equally popular with both • Containers create a natural segmentation of effort • Devs inside the container, Ops outside the container The Impact of Containers on DevOps
  17. 17 © 2016 Cisco and/or its affiliates. All rights reserved.

    Cisco Confidential • Guaranteed consistency for CI/CD • Simplified light weight image files • Only what the app needs and nothing else • What is built on a laptop will work the same in production • Open community built best of breed containers • Public container repository - Docker Hub • SPEED • Deploy in seconds instead of minutes The Impact of Containers on DevOps
  18. 18 © 2016 Cisco and/or its affiliates. All rights reserved.

    Cisco Confidential Running Docker
  19. 19 © 2016 Cisco and/or its affiliates. All rights reserved.

    Cisco Confidential
  20. 20 © 2016 Cisco and/or its affiliates. All rights reserved.

    Cisco Confidential
  21. 21 © 2016 Cisco and/or its affiliates. All rights reserved.

    Cisco Confidential 4 Challenges
  22. 22 © 2016 Cisco and/or its affiliates. All rights reserved.

    Cisco Confidential Solutions
  23. 23 © 2016 Cisco and/or its affiliates. All rights reserved.

    Cisco Confidential • Open Source system started by Google in 2014 for automating deployment, operations, and scaling of containerized applications • Written in Go (aka golang) • Portable • Public, Private and Hybrid • Extensible • Modular, Pluggable • Self-Healing • Auto-scaling, Auto-replication • Contributed to CNCF in July 2015 What is Kubernetes (K8S) ?
  24. 24 © 2016 Cisco and/or its affiliates. All rights reserved.

    Cisco Confidential Kubernetes Deployment
  25. 25 © 2016 Cisco and/or its affiliates. All rights reserved.

    Cisco Confidential Kubernetes Deployment
  26. 26 © 2016 Cisco and/or its affiliates. All rights reserved.

    Cisco Confidential Death Star
  27. 27 © 2016 Cisco and/or its affiliates. All rights reserved.

    Cisco Confidential Microservice = LOTS of east west traffic
  28. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco

    Confidential Intro CI/CD (DevOps tools of trades)
  29. None
  30. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco

    Confidential Sequential Design Approach Requirements and scope are fixed Waterfall Development Process
  31. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco

    Confidential Before Agile Methodologies
  32. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco

    Confidential Benefits of Agile Development
  33. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco

    Confidential
  34. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco

    Confidential
  35. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco

    Confidential © 2018 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
  36. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco

    Confidential
  37. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco

    Confidential • Place to store your current and past versions of code/configuration • Ability to merge, branch, fork • Ability to see who has changed which file • Highly available service • Ability to revert to prior versions • Public or Private / OnPrem / OffPrem • Source Code Management / Version Control System
  38. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco

    Confidential Local Development
  39. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco

    Confidential CI/CD
  40. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco

    Confidential • Place to Store your Artefact (Docker images, bin, etc) • Public or Private / OnPrem / OffPrem Artefact Management
  41. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco

    Confidential Infrastructure as Code Management of infrastructure (networks, virtual machines, load balancers, and connection topology) in a descriptive model, using the same versioning as DevOps team uses for source code
  42. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco

    Confidential Monitoring, Logging, Alerting
  43. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco

    Confidential • Integration with Development Environment • Code commits should appear • Chat with History • Team Rooms • Multi-Platform Clients • “Chat-Ops” Collaboration, Communication and Sharing
  44. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco

    Confidential Cisco UCS Integrated Infrastructure for Containers
  45. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco

    Confidential • Continuous Integration: Merging of development work with code base constantly so that automated testing can catch problems early • Continuous Delivery: Software package delivery mechanism for releasing code to staging for review and inspection • Continuous Deployment: Relies on CI and CD to automatically release code into production as soon as it is ready. Constant flow of new features into production Continuous Integration, Delivery, and Deployment
  46. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco

    Confidential
  47. © 2018 Cisco and/or its affiliates. All rights reserved. Cisco

    Confidential What About Security? Must be inserted into the DevOps process (not a bolt on!)
  48. 48 © 2016 Cisco and/or its affiliates. All rights reserved.

    Cisco Confidential Whats Next ? Check out https://developer.cisco.com/ https://developer.cisco.com/site/sandbox/ CI/CD at DevNet Sandbox
  49. None