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
31
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
110
Empowering SRE teams and Incident Management with AI
spirosoik
0
70
Building a Platform with self-serve powers using ChatOps and Github Bots
spirosoik
0
140
Introduction to Chaos Engineering with Kubernetes
spirosoik
0
130
It’s about philosophy...culture of a good team leader...
spirosoik
0
71
GitOps CD for k8s
spirosoik
0
140
Effective developer experience with Kubernetes
spirosoik
0
79
Analytics in an Aspect Oriented manner V2.0
spirosoik
0
100
The testing practices of a Jedi
spirosoik
0
140
Featured
See All Featured
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
120k
A Tale of Four Properties
chriscoyier
163
24k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
340
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
410
Code Review Best Practice
trishagee
74
20k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Discover your Explorer Soul
emna__ayadi
2
1.2k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
260
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
750
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