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

DevOps in JDD

tnir
September 20, 2018

DevOps in JDD

2018-09-20 JDDStudy #3 State of DevOps in startups and growing companies at TECH PLAY SHIBUYA

tnir

September 20, 2018
Tweet

More Decks by tnir

Other Decks in Technology

Transcript

  1. Copyright (c) 2018, Japan Digital Design, Inc., All rights reserved.

    2018-09-20 JDDStudy #3 @ TECH PLAY SHIBUYA Japan Digital Design, Inc. Takuya Noguchi / @tn961ir DevOps in JDD
  2. Takuya Noguchi ! 20-yr engineering in digital transformation (DX) !

    Software Engineer, Japan Digital Design ! Activities • Core Team member, GitLab (OSS) • Cloud Native Ambassador, CNCF • Co-organizer of • GitLab Meetup Tokyo • Docker Tokyo • Kamiyacho.k8s • Prometheus Tokyo • Working on kubernetes-docs-ja 2
  3. Engineering at Japan Digital Design ! Found in Oct 2017

    (Spun out from MUFG) • Former Innovation Lab, MUFG Bank (Jan 2016) • See MUFG Report 2018 ! Revolutionary UX and other initiatives • aimed at reducing social cost • Wider objectives than FinTech ! 22 in engineering role out of 80 employees ! 7 projects 3 https://www.japan-d2.com MUFG AI Studio
  4. Copyright (c) 2018, Japan Digital Design, Inc., All rights reserved.

    What’s DevOps ! Read the book if you’re new to DevOps • Translated to Japanese ! “10 deploys per day” • At Flickr • (Velocity 2009) 5 https://www.amazon.com/dp/1491926309
  5. DevOps is not only the combination of tools ! DevOps

    requires toolchain(s) • But it also does dev culture and collaboration 6
  6. GitLab: single suite for complete DevOps ! 67 % market

    share (for Enterprise) ! Suitable for startups as well 7 https://about.gitlab.com https://about.gitlab.com/2017/06/29/whats-next-for-gitlab-ci/
  7. Kubernetes integration ! Containerization of apps is important for cloud-

    native way ! Orchestration is crucial to manage containers ! Not famous in Japan yet… 8
  8. Benefits of DevOps in JDD ! Asynchronous working style •

    Non-full-time members in team • Frequent work from home ! In “Legacy” enterprise way ! One-person operations ! Avoid SPOF ! Make infrastructure as code ! Adopt four-eye principle to development 10
  9. Plan ! Planning is the most important phase ! Had

    multiple planning tools ! Starting to unify tools 12 + +
  10. DevOps in small organization ! Devs will do Ops (DevOps)

    ! Org gets benefits of infrastructure from modern public clouds ! Monitoring and on-call will go later ! Developers can get experiences in operations!! 13
  11. ! Manual management of DNS records ! Improved with GitLab

    CI/CD • OctoDNS (by GitHub) • Google Cloud DNS • DNSSEC-enabled • YAML-based records ! Code→MR→Review→Dry run→Go production Full integration of DNS management in DevOps 15
  12. Code for CI/CD (.gitlab-ci.yml) image: "python:2.7-alpine3.8" variables: GCLOUD_CRED: "" GOOGLE_APPLICATION_CREDENTIALS:

    "" before_script: - echo ${GCLOUD_CRED} | base64 -d | tee ${GOOGLE_APPLICATION_CREDENTIALS} > / dev/null - pip install -r requirements.txt production: stage: planning script: - octodns-sync --config-file ./jdd-domains.yaml deploy_production: stage: deploy script: - octodns-sync --config-file ./jdd-domains.yaml --doit environment: name: production url: https://japandigital.design/ only: - master when: manual 16
  13. Our TODOs ! Python 3 support • Python 2.7 support

    EOL in Jan 2020 • In progress (contributions to OSS) • JDD supports engineers to make contributions to OSS. ! Multi DNS provider support • Cloud DNS SLA: 100% • Mitigation to DDoS attack 19 https://www.cloudflare.com/dns/
  14. Let’s adopt IT practices to financial industry ! Join us

    if you want to do digital transformation ! Careers at JDD • https://careers.japan-d2.com/ • Software Engineer • Infrastructure Engineer (public cloud) • Software Engineer (Android, iOS) • UX Designer • Data Scientist 21