$30 off During Our Annual Pro Sale. View Details »

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

DevOpsPorto

June 19, 2019
Tweet

More Decks by DevOpsPorto

Other Decks in Technology

Transcript

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

    View Slide

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

    View Slide

  3. Goal
    ● Bring DevOps practices into small team
    ● People constraints
    ● Costs constraints
    ● Time constraints

    View Slide

  4. Background context
    ● September 2018
    ● 3 Tier application
    ● Client-side browser app
    ● REST services
    ● Relational database
    ● Jira integration

    View Slide

  5. All DevOps cycle?

    View Slide

  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

    View Slide

  7. Source control & pipelines
    ● Non-explored options
    ○ AWS CodeDeploy
    ○ Google Cloud Build
    ○ Azure DevOps
    ○ Other docker based solutions

    View Slide

  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

    View Slide

  9. BitBucket pipeline

    View Slide

  10. BitBucket pipeline

    View Slide

  11. BitBucket and Jira

    View Slide

  12. BitBucket VSCode

    View Slide

  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

    View Slide

  14. Continuous integration and deploy
    ● Infrastructure repository
    ● Test environment controlled by pipelines
    ● Automated deploy by pipelines
    ● Database management is still hard
    ● GCloud Stackdriver logs

    View Slide

  15. Operation and feedback
    ● Idea - Jira Service desk
    ● Idea - Jira ops
    ● Idea - Terraform/AWS
    ● Idea - DB change Automation
    ● Idea - Regular environment refresh

    View Slide

  16. Conclusion
    ● Choose out-of-box integration
    ● Choose and invest in simplicity
    ● Plan for automation
    ● Start with the automation

    View Slide

  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

    View Slide