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

IaC and GitOps in motion

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on.

IaC and GitOps in motion

Avatar for Vincent Gillet

Vincent Gillet

August 26, 2022
Tweet

Other Decks in Technology

Transcript

  1. Vincent GILLET • 15 years + experience • Aerospace /

    Avionics / Automotive / Services / Government • Not a DevOps engineer • K8S and automation enthuthiast ( official docker trainer if you need )
  2. Disclaimer for all of this to work: security team to

    act as enablers toward developers and not gatekeepers !
  3. Criteria for our IaC and GitOps deployment • Secured •

    Maintainable • Auditable • Automated • Progressive deployment • Highly available • Easily understandable • Elastic • … DO NOT TRY TO GET EVERYTHING AT ONCE, YOU WILL FAIL ! ✔ ✔ ✔
  4. Pull pattern: the secret sauce • No external access required

    to either AWS account or EKS • One least privilege IAM role on Atlantis • Access is directly git repository access, no 3rd party RBAC sitting on top • Git audit for free • Lightweight, one PR = one deployment • Native terraform and k8s DSL • Execution context is in the environment, not in the code Secured Maintainable Easily understandable ✔ ✔ ✔
  5. Mono repo: one branch but distinct folders 3 weeks later

    Imagine 1 year Execution context ? Same access ?
  6. GitOps trunk-based Resilient to company reorganization Fine grained access management

    Git remains the golden truth Easily auditable Smaller is better
  7. See you on my next talk: “Why your company failed

    at DevOps while trying to apply this !”