DevOpsPorto Meetup 28: DevOps in a small team/company by Vitor Pereira

DevOpsPorto Meetup 28: DevOps in a small team/company by Vitor Pereira

Talk delivered by Vitor Pereira

A2c14a1c4e16aa337c7d36abe7d1cf8f?s=128

DevOpsPorto

June 19, 2019
Tweet

Transcript

  1. DevOps in a small team/company Vítor Pereira 2019-06-19

  2. Intro 1. FEUP 2010 2. Deloitte 2014 3. Farfetch 2018

    4. TMC
  3. Goal • Bring DevOps practices into small team • People

    constraints • Costs constraints • Time constraints
  4. Background context • September 2018 • 3 Tier application •

    Client-side browser app • REST services • Relational database • Jira integration
  5. All DevOps cycle?

  6. Source control & pipelines • Git ◦ Gogs, GitHub, Bitbucket,

    GitLab • Jenkins ◦ Agent based, incomplete UX revamp, Jenkinsfile • Teamcity ◦ Agent based, very complex DSL, price by agent • GOCD ◦ Very powerful, too complex • GitLab ◦ Very cool, lesser Jira integration
  7. Source control & pipelines • Non-explored options ◦ AWS CodeDeploy

    ◦ Google Cloud Build ◦ Azure DevOps ◦ Other docker based solutions
  8. Source control & pipelines • BitBucket ◦ Source control +

    pipelines + Jira integration ◦ BitBucket < GitHub ◦ Simple pipelines scheme ◦ Container based ◦ Simple DSL ◦ Good pricing for small projects ◦ Pay for minutes vs Pay for agents
  9. BitBucket pipeline

  10. BitBucket pipeline

  11. BitBucket and Jira

  12. BitBucket VSCode

  13. • Docker-compose ◦ Easier and close enough to kubernetes •

    Kubernetes & scripts vs terraform ◦ Kubernetes is closer to docker-compose ◦ Scripts can be run locally • GCloud vs AWS ◦ GCloud wins in price and simplicity Development and testing
  14. Continuous integration and deploy • Infrastructure repository • Test environment

    controlled by pipelines • Automated deploy by pipelines • Database management is still hard • GCloud Stackdriver logs
  15. Operation and feedback • Idea - Jira Service desk •

    Idea - Jira ops • Idea - Terraform/AWS • Idea - DB change Automation • Idea - Regular environment refresh
  16. Conclusion • Choose out-of-box integration • Choose and invest in

    simplicity • Plan for automation • Start with the automation
  17. Comments/questions/credits • Vítor @ https://devopsporto.slack.com • DevOps cycle by Kharnagy

    at Wikimedia link, CC BY-SA • Jira Bitbucket image from Atlassian at link • Bitbucket VSCode image from Atlassian at link