Immutable everywhere
By Sergii Marchenko
Releases in 2000s
Immutable infra principles
1. Don’t install new software
2. Don’t update servers
3. Don’t change configs
4. Don’t update code
5. Just one thing you can do with the current infa - DELETE IT
Immutable infra principles
Need a change in infra?
Make the change in the code, build, deploy a new artifact, delete the old one.
Docker brings immutable approach
Software update?
Build a new image, replace the old one.
Config update?
Build a new image, replace the old one.
Deploy a new code version?
Build a new image, replace the old one.
Spread immutable approach
1. Don’t stop on images
2. K8S cluster or any physical server can be immutable as well
3. AWS/GCP/Azure subscriptions, accounts
4. Even keys structures
Immutable keys structure
Immutable keys structure
Immutable keys structure
/$structure_version/keys
For example:
/e1/prod/identity
/e1/stg/identity
/e2/identity/prod
/e2/identity/stg
Immutable keys structure
Actions steps:
1. Separate keys (automatically created or manually)
Immutable keys structure
Actions steps:
1. Run scripts from top to bottom:
a. Account wide/Global
b. Shared resources (K8S clusters, SQL DBs, etc)
c. Containers, applications
Immutable Subscription structure
1. You have to review all the resources and check the billing
2. You have to find and delete unused, deprecated resources
3. Change the current structure (RBAC, Resource Groups)
4. Something may be configured manually
Immutable Subscription structure
Immutable Subscription structure
1. RBAC is described in code
2. Resource Groups are in code
3. All resources (K8S, VMs, SQL)
Subscription structure
1. Don’t do this all time, but create approaches to make it smooth
2. If a change is really big (migrating from one technology to another, massive
RBAC changes), it’s much easier to create everything from scratch
While a yak is shaving, your business is losing
money
Don’t re-configure the current resources, create new!
Immutability trade-off
1. Persistent data
2. Works in clouds, it’s hard to implement on hardware (NOT 100%)
Immutability trade-off
1. Automation tests (QA automation team) is must
2. IaC is compulsory
A release in DevOps era
Q/A
Email: sergii.marchenko@dev-pro.net
Skype: dev-pro.sergii.marchenko
https://github.com/s-marchenko/terraform-lab

More Related Content

PPT
Integration Services Presentation
PPT
Integration Services Presentation V2
PPTX
What's New in Puppet Enterprise 2016.4
PPTX
Testing in Infrastructure
PPTX
DevOps Security for Good
PPTX
Introduction to Puppet Enterprise 2016.4
PPTX
Introduction to Puppet Enterprise
PPTX
Controlled Evolution with Puppet and AWS
Integration Services Presentation
Integration Services Presentation V2
What's New in Puppet Enterprise 2016.4
Testing in Infrastructure
DevOps Security for Good
Introduction to Puppet Enterprise 2016.4
Introduction to Puppet Enterprise
Controlled Evolution with Puppet and AWS

What's hot (20)

PDF
Lessons Learned from Migrating Legacy Enterprise Applications to Microservices
PDF
Using Docker and Elastic Beanstalk in Production
PPTX
What's New in Puppet Enterprise 2016.4
PDF
Top 8 mistakes developer teams make in their first serverless project
PPTX
What's New in Puppet Enterprise 2016.5
PPTX
The World Outside - The Blind Spot of TDD
PPT
Cloud Delivery
PPTX
Native Cloud implementation using Spring Cloud, Netflix OSS, Docker, Swarm, E...
PPTX
Introduction to Puppet Enterprise 2016.5
PPTX
Intro to Puppet Enterprise for a Windows Environment - 08.23
PDF
OSDC 2019 | Simplifying Your IT Workflow with Katello and Foreman by Nikhil K...
PPTX
Adopting Kubernetes with Puppet
PPTX
SSO/Keycloak for Openshift
PDF
Security/Auditing in Puppet
PPTX
OpenNfv Talk On Kubernetes and Network Function Virtualization
PPTX
[2020 Ignite Seoul]Azure에서 사용할 수 있는 컨테이너/오케스트레이션 기술 살펴보기
PPTX
Network Automation at Shapeways
PDF
Ansible Integration in Foreman
PPTX
Introduction to Puppet Enterprise 2016.5
PPTX
Are Your Microservices Naked and Afraid?
Lessons Learned from Migrating Legacy Enterprise Applications to Microservices
Using Docker and Elastic Beanstalk in Production
What's New in Puppet Enterprise 2016.4
Top 8 mistakes developer teams make in their first serverless project
What's New in Puppet Enterprise 2016.5
The World Outside - The Blind Spot of TDD
Cloud Delivery
Native Cloud implementation using Spring Cloud, Netflix OSS, Docker, Swarm, E...
Introduction to Puppet Enterprise 2016.5
Intro to Puppet Enterprise for a Windows Environment - 08.23
OSDC 2019 | Simplifying Your IT Workflow with Katello and Foreman by Nikhil K...
Adopting Kubernetes with Puppet
SSO/Keycloak for Openshift
Security/Auditing in Puppet
OpenNfv Talk On Kubernetes and Network Function Virtualization
[2020 Ignite Seoul]Azure에서 사용할 수 있는 컨테이너/오케스트레이션 기술 살펴보기
Network Automation at Shapeways
Ansible Integration in Foreman
Introduction to Puppet Enterprise 2016.5
Are Your Microservices Naked and Afraid?
Ad

Similar to DevOps Days Kyiv 2019 -- Immutable everywhere // Sergii Marchenko (20)

PPTX
Sql interview question part 4
PPTX
Ebook4
PPTX
Sql interview question part 4
ODP
Kelly potvin nosurprises_odtug_oow12
PPTX
Continuous Delivery at Wix
PPTX
Features
PDF
Infrastructure as Code, Theory Crash Course
PDF
Workshop - The Little Pattern That Could.pdf
PDF
Bootiful Microservices in a Legacy Environment: Lessons Learned
PDF
Introduction to RightScale
PPTX
Evolving your api architecture with the strangler pattern
PDF
Nikolai Boiko "NodeJS Refactoring: How to kill a Dragon and stay alive"
PDF
Gartner Infrastructure and Operations Summit Berlin 2015 - DevOps Journey
PDF
DevOps demystified
PPTX
Database CI/CD Pipeline
PPTX
apidays Paris 2024 - Hexagonal Modules, Adil Baaj, Theodo
PPTX
DevOps Days Ohio
PDF
Infrastructure as Code with Ansible
PDF
Effective Kubernetes - Is Kubernetes the new Linux? Is the new Application Se...
PPT
Migraine Drupal - syncing your staging and live sites
Sql interview question part 4
Ebook4
Sql interview question part 4
Kelly potvin nosurprises_odtug_oow12
Continuous Delivery at Wix
Features
Infrastructure as Code, Theory Crash Course
Workshop - The Little Pattern That Could.pdf
Bootiful Microservices in a Legacy Environment: Lessons Learned
Introduction to RightScale
Evolving your api architecture with the strangler pattern
Nikolai Boiko "NodeJS Refactoring: How to kill a Dragon and stay alive"
Gartner Infrastructure and Operations Summit Berlin 2015 - DevOps Journey
DevOps demystified
Database CI/CD Pipeline
apidays Paris 2024 - Hexagonal Modules, Adil Baaj, Theodo
DevOps Days Ohio
Infrastructure as Code with Ansible
Effective Kubernetes - Is Kubernetes the new Linux? Is the new Application Se...
Migraine Drupal - syncing your staging and live sites
Ad

More from Mykola Marzhan (16)

PDF
DevOps Days Kyiv 2019 -- DevOps is dead // Paul Czarkowski
PDF
DevOps Days Kyiv 2019 -- Victoria Metrics // Artem Navoiev
PDF
DevOps Days Kyiv 2019 -- How HA works in SQL Server // Edwin Sarmiento
PDF
DevOps Days Kyiv 2019 -- From Technician to CEO // Edwin Sarmiento
PDF
DevOps Days Kyiv 2019 -- Engineering Productivity // Borys Drozhak
PDF
DevOps Days Kyiv 2019 -- VPC-VPN Split-horizon DNS // Stanislav Ivashchenko
PDF
DevOps Days Kyiv 2019 -- Running MySQL in K8S?! Why?! // Mykola Marzhan
PDF
DevOps Days Kyiv 2019 -- Why GitHub stars needed? //Nicolai Antiferov
PDF
DevOps Days Kyiv 2019 -- What you see is what you get for AWS // Anton Babenko
PDF
DevOps Days Kyiv 2019 -- continuous Infrafirstructure First //Kris buytaert
PDF
DevOps Days Kyiv 2019 -- Quick - What Time Is It!? // Dan Maher
PDF
DevOps Days Kyiv 2019 -- DevOps platform development - lessons learned // Vic...
PDF
DevOps Days Kyiv 2019 -- Power your PC // Toshaan Bharvani
PDF
DevOps Days Kyiv 2019 -- Cut infrastructure cost with monitoring // Anton Chu...
PDF
DevOps Days Kyiv 2019 -- Monitoring the right way // Dan Barker
PDF
DevOps Pragmatic Overview
DevOps Days Kyiv 2019 -- DevOps is dead // Paul Czarkowski
DevOps Days Kyiv 2019 -- Victoria Metrics // Artem Navoiev
DevOps Days Kyiv 2019 -- How HA works in SQL Server // Edwin Sarmiento
DevOps Days Kyiv 2019 -- From Technician to CEO // Edwin Sarmiento
DevOps Days Kyiv 2019 -- Engineering Productivity // Borys Drozhak
DevOps Days Kyiv 2019 -- VPC-VPN Split-horizon DNS // Stanislav Ivashchenko
DevOps Days Kyiv 2019 -- Running MySQL in K8S?! Why?! // Mykola Marzhan
DevOps Days Kyiv 2019 -- Why GitHub stars needed? //Nicolai Antiferov
DevOps Days Kyiv 2019 -- What you see is what you get for AWS // Anton Babenko
DevOps Days Kyiv 2019 -- continuous Infrafirstructure First //Kris buytaert
DevOps Days Kyiv 2019 -- Quick - What Time Is It!? // Dan Maher
DevOps Days Kyiv 2019 -- DevOps platform development - lessons learned // Vic...
DevOps Days Kyiv 2019 -- Power your PC // Toshaan Bharvani
DevOps Days Kyiv 2019 -- Cut infrastructure cost with monitoring // Anton Chu...
DevOps Days Kyiv 2019 -- Monitoring the right way // Dan Barker
DevOps Pragmatic Overview

Recently uploaded (20)

PDF
Zenith AI: Advanced Artificial Intelligence
PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
PDF
Flame analysis and combustion estimation using large language and vision assi...
PDF
A proposed approach for plagiarism detection in Myanmar Unicode text
PPT
Geologic Time for studying geology for geologist
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
sbt 2.0: go big (Scala Days 2025 edition)
PPTX
Microsoft Excel 365/2024 Beginner's training
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PPT
What is a Computer? Input Devices /output devices
PDF
Improvisation in detection of pomegranate leaf disease using transfer learni...
PPTX
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
PDF
Architecture types and enterprise applications.pdf
PPT
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
PPTX
TEXTILE technology diploma scope and career opportunities
PPTX
Build Your First AI Agent with UiPath.pptx
PDF
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
PPTX
Configure Apache Mutual Authentication
PDF
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
Zenith AI: Advanced Artificial Intelligence
Convolutional neural network based encoder-decoder for efficient real-time ob...
Flame analysis and combustion estimation using large language and vision assi...
A proposed approach for plagiarism detection in Myanmar Unicode text
Geologic Time for studying geology for geologist
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
sbt 2.0: go big (Scala Days 2025 edition)
Microsoft Excel 365/2024 Beginner's training
A contest of sentiment analysis: k-nearest neighbor versus neural network
What is a Computer? Input Devices /output devices
Improvisation in detection of pomegranate leaf disease using transfer learni...
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
Architecture types and enterprise applications.pdf
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
TEXTILE technology diploma scope and career opportunities
Build Your First AI Agent with UiPath.pptx
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
Configure Apache Mutual Authentication
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx

DevOps Days Kyiv 2019 -- Immutable everywhere // Sergii Marchenko