Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Cloud DevOps - Infrastructure new era Part 1
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Spiros Economakis
December 17, 2020
39
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
130
Empowering SRE teams and Incident Management with AI
spirosoik
0
76
Building a Platform with self-serve powers using ChatOps and Github Bots
spirosoik
0
160
Introduction to Chaos Engineering with Kubernetes
spirosoik
0
140
It’s about philosophy...culture of a good team leader...
spirosoik
0
75
GitOps CD for k8s
spirosoik
0
140
Effective developer experience with Kubernetes
spirosoik
0
88
Analytics in an Aspect Oriented manner V2.0
spirosoik
0
110
The testing practices of a Jedi
spirosoik
0
160
Featured
See All Featured
Skip the Path - Find Your Career Trail
mkilby
1
280
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
380
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2.1k
Code Review Best Practice
trishagee
74
20k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
The untapped power of vector embeddings
frankvandijk
2
2k
Bash Introduction
62gerente
615
220k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.9k
Product Roadmaps are Hard
iamctodd
55
13k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
22k
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