Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Cloud DevOps - Infrastructure new era Part 1
Search
Spiros Economakis
December 17, 2020
29
0
Share
Cloud DevOps - Infrastructure new era Part 1
A journey to migrate from CloudFormation to Terraform with zero downtime
Spiros Economakis
December 17, 2020
More Decks by Spiros Economakis
See All by Spiros Economakis
Cloud-First Culture: A Mindset Shift Across the Org
spirosoik
0
100
Empowering SRE teams and Incident Management with AI
spirosoik
0
62
Building a Platform with self-serve powers using ChatOps and Github Bots
spirosoik
0
130
Introduction to Chaos Engineering with Kubernetes
spirosoik
0
130
It’s about philosophy...culture of a good team leader...
spirosoik
0
65
GitOps CD for k8s
spirosoik
0
140
Effective developer experience with Kubernetes
spirosoik
0
77
Analytics in an Aspect Oriented manner V2.0
spirosoik
0
100
The testing practices of a Jedi
spirosoik
0
130
Featured
See All Featured
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
400
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
380
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
250
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
43k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
53k
We Have a Design System, Now What?
morganepeng
55
8.1k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Designing Powerful Visuals for Engaging Learning
tmiket
1
340
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.1k
Discover your Explorer Soul
emna__ayadi
2
1.1k
Context Engineering - Making Every Token Count
addyosmani
9
830
Transcript
Cloud DevOps Infrastructure new era Part 1
Goals
Goals • Simplify • Infrastructure as a code • Human
readable • Output of changes before apply • Automated CI/CD
Old era
High pace team Utilize the strengths of the team to
deliver faster
Tools • Github actions • AWS CodePipeline • AWS Codebuild
• AWS Cloudformation • AWS Lambda (status for PRs)
Bootstrap CI/CD Cloudformation Codepipeline Github Status
Infrastructure CI/CD
Problem - Complex
Problem - Hard to read (YAML)
Problem - Nested stacks spaghetti
Problem - No output of changes
New era
Learnings - Need to focus • Quality • Scalability •
Readability • Simplification • Easy to on-board other Ops people
High pace team Do it the right way
Tools • Handover to Christos K. • Github actions •
Terraform
Challenges • Import current state of infra • Delete cloudformation
stacks (still not solved)
Import State https://github.com/lensesio-dev/cloud-infra-terraform/blob/master/tf-state.sh
Review before apply
Review before apply
Testing • Test infrastructure as a code • Use gruntwork-io/terratest
Benefits • Remote state • Protect state with locks •
Keeping sensitive information off disk • Encrypted state • Output of changes before apply • Reusable terraform modules https://github.com/lensesio-dev/cloud-terraform-modules Infrastructure repo: https://github.com/lensesio-dev/cloud-infra-terraform
Dev Infrastructure
Prod Infrastructure
To be continued… Part 2 is coming
Thanks