Alex Krause
alex.krause@qaware.de
@alex0ptr
Immutable Cloud Infrastructure,
as Code 101
@alex0ptr
Immutable Cloud Infrastructure, as Code 101
Infrastructure
AWS, GCP, DO
Declarative
20102012
2006
Old Skool Cloud
@alex0ptr
Image: Run DMC: Streets of New York by Jeff Pinilla http://bit.ly/2Qk34XL / CC BY http://bit.ly/2vlsURa / turned black and white
„I’ve hugged a lot of servers in my life, and
believe me, they do not hug you back.
They hate you.“
—Werner Vogels, CTO of Amazon 
@alex0ptrImage: Dutch Digital Pioneers - Werner Vogels by Guido van Nispen http://bit.ly/2IEOsQE / CC BY http://bit.ly/2vlsURa / Citation added
@alex0ptr
VS
📜 Immutable Infrastructure
‣ ~ 2012 at Netflix
‣ instantiate and replace, never change
Gain:
‣ no state accumulation
‣ better consistency and security
‣ true rollbacks and easy experiments
@alex0ptr
@alex0ptr
“… is an open source tool for creating
identical machine images for multiple
platforms from a single source
configuration.”
‣ 2013
‣ Super Fast Deployment
‣ Multi-provider portability
‣ Improved stability
‣ Greater testability
🎊 Demo 🎉
@alex0ptr
https://github.com/alex0ptr/cloud-101
What else?🧐
@alex0ptr
‣ Virtualbox, VMware…
‣ Vagrant Boxes
‣ Ansible, Chef, Puppet…
How to add config and
environment variables? 🤔
@alex0ptr
@alex0ptr
“Cloud-init is the defacto multi-distribution
package that handles early initialization of a
cloud instance.”
‣ 2008
‣ simple init for the cloud
‣ initially AWS EC2
‣ pre-installed everywhere!
http://169.254.169.254/latest/user-data
✨ …where the Magic happens ✨
@alex0ptr
@alex0ptr
#!/bin/sh
echo "Hello cloud-init!"
@alex0ptr
## template: jinja
#!/bin/bash
{% if v1.region == 'us-east-2' -%}
echo 'Installing custom proxies for {{ v1.region }}'
sudo apt-get install my-xtra-fast-stack
{%- endif %}
@alex0ptr
#cloud-config
packages:
- cowsay
users:
- default
- name: app
groups: docker
write_files:
- content: nVc+Xj7rPhMqb...
encoding: b64
owner: app:app
path: /home/app/application.yml
permissions: '0655'
How to provision and
manage the Data Center? 🤔
@alex0ptr
🏗 Infrastructure as Code
‣ 2010 AWS CloudFormation
‣ provision
‣ and manage data centers
Gain:
‣ versioning
‣ speed
‣ consistency
‣ security
‣ collaboration
@alex0ptr
Infrastructure as Code
@alex0ptr
Config ManagementVS
MutableVSImmutable
ConfigVSLifecycle
@alex0ptr
“Write, Plan, and Create

Infrastructure as Code”
‣ 2014
‣ ~40 Clouds
‣ Databases, Monitoring-,
Infrastructure-Software
‣ Plugins
🎊 Demo 🎉
Enterprise Cloud Architecture
@alex0ptr
https://github.com/alex0ptr/cloud-101
@alex0ptrhttps://templates.cloudonaut.io/en/stable/vpc/
@alex0ptrhttps://templates.cloudonaut.io/en/stable/vpc/
@alex0ptrhttps://templates.cloudonaut.io/en/stable/vpc/
@alex0ptr
Availability zone
Subnet
Availability zone
Subnet
Subnet
Auto Scaling
Group
Subnet
Instances
Instances
Application
Load Balancer
Application
Load Balancer
Amazon
DynamoDB
Amazon ECR
Also:
‣ Network policies
‣ IAM
What else?🧐
@alex0ptr
‣ Modules
‣ Workspaces
‣ More Collaboration
‣ Outputs from other States
Lesestoff 🗞
‣ A comprehensive Guide to Terraform. Gruntwork
‣ Free CloudFormation Templates. cloudonaut.io
‣ Complete AWS IAM Reference. cloudonaut.io
‣ Terraform 0.12 Preview. Terraform Blog
@alex0ptr
xing.com/companies/qawaregmbh
linkedin.com/company/qaware-gmbh slideshare.net/qaware
twitter.com/qaware github.com/qaware
youtube.com/qawaregmbh
Alex Krause
alex.krause@qaware.de
@alex0ptr
QAware21.09.2018 28
QAware GmbH Mainz
Rheinstraße 4 D
55116 Mainz
Tel.: +49 (0) 6131 215 69 – 0
Fax: +49 (0) 6131 215 69 – 68 xing.com/companies/qawaregmbh
linkedin.com/company/qaware-gmbh slideshare.net/qaware
twitter.com/qaware github.com/qaware
youtube.com/qawaregmbh
QAware GmbH München
Aschauer Straße 32
81549 München
Tel.: +49 (0) 89 23 23 15 – 0
Fax: +49 (0) 89 23 23 15 – 129 xing.com/companies/qawaregmbh
linkedin.com/company/qaware-gmbh slideshare.net/qaware
twitter.com/qaware github.com/qaware
youtube.com/qawaregmbh

More Related Content

PPTX
What is serveless?
PPTX
OSDN: Serverless technologies with Kubernetes
PDF
Connecting VMware Cloud on AWS to Native AWS Services - UKVMUG 2018
PDF
Project Decker: Cloud Foundry with Docker (Cloud Foundry Summit 2014)
PDF
Options for running Kubernetes at scale across multiple cloud providers
PDF
Fermilab aws on demand
PPTX
Alessandro Confetti - Learn how to build decentralized and serverless html5 a...
PDF
Event driven workloads on Kubernetes with KEDA
What is serveless?
OSDN: Serverless technologies with Kubernetes
Connecting VMware Cloud on AWS to Native AWS Services - UKVMUG 2018
Project Decker: Cloud Foundry with Docker (Cloud Foundry Summit 2014)
Options for running Kubernetes at scale across multiple cloud providers
Fermilab aws on demand
Alessandro Confetti - Learn how to build decentralized and serverless html5 a...
Event driven workloads on Kubernetes with KEDA

What's hot (19)

PPTX
How do we use Kubernetes
PDF
Aptera Cloud Event 2013 - Deploying Active Directory - Andy Miller
PDF
Event driven autoscaling with KEDA
PDF
Resilient Microservices Architecture with kubernetes
PDF
Azure kubernetes service (aks) part 3
PDF
JOSA TechTalks - Downgrade your Costs
PDF
Kansas City DC/OS Meetup December 2016
PDF
Kubernetes on AWS @Zalando - Berlin AWS User Group 2017-05-09
PDF
Cncf event driven autoscaling with keda
PPTX
Serverless on Kubernetes
PDF
Istio on IBM K8Sにチャレンジしてみた
PPTX
What's new in Web Development with ASP.NET Core 2.1
PDF
Autoscaling containers with event driven workloads
PPTX
Docker on AWS
PDF
Scaling .net containers with event driven workloads
PPTX
Docker in der AWS Cloud
PDF
Native addon을 포함하여 Node.js + Typescript + Serverless 빌드 및 배포하기
PDF
Functional Programming in Serverless World
PPTX
Deploy Elasticsearch Cluster on Kubernetes
How do we use Kubernetes
Aptera Cloud Event 2013 - Deploying Active Directory - Andy Miller
Event driven autoscaling with KEDA
Resilient Microservices Architecture with kubernetes
Azure kubernetes service (aks) part 3
JOSA TechTalks - Downgrade your Costs
Kansas City DC/OS Meetup December 2016
Kubernetes on AWS @Zalando - Berlin AWS User Group 2017-05-09
Cncf event driven autoscaling with keda
Serverless on Kubernetes
Istio on IBM K8Sにチャレンジしてみた
What's new in Web Development with ASP.NET Core 2.1
Autoscaling containers with event driven workloads
Docker on AWS
Scaling .net containers with event driven workloads
Docker in der AWS Cloud
Native addon을 포함하여 Node.js + Typescript + Serverless 빌드 및 배포하기
Functional Programming in Serverless World
Deploy Elasticsearch Cluster on Kubernetes
Ad

Similar to Immutable Cloud Infrastruture as Code 101 (20)

PDF
Docker and Cloud - Enables for DevOps - by ACA-IT
PDF
'DOCKER' & CLOUD: ENABLERS For DEVOPS
PDF
Day 2 Kubernetes - Tools for Operability (QConSF)
PDF
Kubernetes Operability Tooling (LEAP 2019)
PDF
Kubernetes Operability Tooling (GOTO Chicago 2019)
PDF
Cloud, Containers, Kubernetes (YOW Melbourne 2018)
PDF
Day 2 Kubernetes - Tools for Operability (Velocity London Meetup)
PPTX
Stups.io - an Open Source Cloud Framework for AWS
PDF
Convergence of Containers and Serverless by Mency Woo
PDF
Join Our Party: The Cloud Native Adventure Brigade (TCSW 2019)
PDF
Best practices for establishing AWS Sandbox accounts for your organization
PDF
Connect + Docker + AWS = Bitbucket Pipelines
PPTX
DevOps with Kubernetes and Helm - OSCON 2018
PDF
Practical Cloud & Workflow Orchestration
PDF
Kubernetes Operability Tooling (Minnebar 2019)
ODP
Google Cloud Platform for DeVops, by Javier Ramirez @ teowaki
PDF
Kubernetes on AWS at Europe's Leading Online Fashion Platform
PDF
Clocker - How to Train your Docker Cloud
PDF
Docker Meetup San Francisco: Radical Agility with Docker & AWS
PPTX
Microservices with containers in the cloud
Docker and Cloud - Enables for DevOps - by ACA-IT
'DOCKER' & CLOUD: ENABLERS For DEVOPS
Day 2 Kubernetes - Tools for Operability (QConSF)
Kubernetes Operability Tooling (LEAP 2019)
Kubernetes Operability Tooling (GOTO Chicago 2019)
Cloud, Containers, Kubernetes (YOW Melbourne 2018)
Day 2 Kubernetes - Tools for Operability (Velocity London Meetup)
Stups.io - an Open Source Cloud Framework for AWS
Convergence of Containers and Serverless by Mency Woo
Join Our Party: The Cloud Native Adventure Brigade (TCSW 2019)
Best practices for establishing AWS Sandbox accounts for your organization
Connect + Docker + AWS = Bitbucket Pipelines
DevOps with Kubernetes and Helm - OSCON 2018
Practical Cloud & Workflow Orchestration
Kubernetes Operability Tooling (Minnebar 2019)
Google Cloud Platform for DeVops, by Javier Ramirez @ teowaki
Kubernetes on AWS at Europe's Leading Online Fashion Platform
Clocker - How to Train your Docker Cloud
Docker Meetup San Francisco: Radical Agility with Docker & AWS
Microservices with containers in the cloud
Ad

More from QAware GmbH (20)

PDF
QAware_Mario-Leander_Reimer_Architecting and Building a K8s-based AI Platform...
PDF
Frontends mit Hilfe von KI entwickeln.pdf
PDF
Mit ChatGPT Dinosaurier besiegen - Möglichkeiten und Grenzen von LLM für die ...
PDF
50 Shades of K8s Autoscaling #JavaLand24.pdf
PDF
Make Agile Great - PM-Erfahrungen aus zwei virtuellen internationalen SAFe-Pr...
PPTX
Fully-managed Cloud-native Databases: The path to indefinite scale @ CNN Mainz
PDF
Down the Ivory Tower towards Agile Architecture
PDF
"Mixed" Scrum-Teams – Die richtige Mischung macht's!
PDF
Make Developers Fly: Principles for Platform Engineering
PDF
Der Tod der Testpyramide? – Frontend-Testing mit Playwright
PDF
Was kommt nach den SPAs
PDF
Cloud Migration mit KI: der Turbo
PDF
Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See...
PDF
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
PDF
Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.
PDF
Kubernetes with Cilium in AWS - Experience Report!
PDF
50 Shades of K8s Autoscaling
PDF
Kontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAP
PDF
Service Mesh Pain & Gain. Experiences from a client project.
PDF
50 Shades of K8s Autoscaling
QAware_Mario-Leander_Reimer_Architecting and Building a K8s-based AI Platform...
Frontends mit Hilfe von KI entwickeln.pdf
Mit ChatGPT Dinosaurier besiegen - Möglichkeiten und Grenzen von LLM für die ...
50 Shades of K8s Autoscaling #JavaLand24.pdf
Make Agile Great - PM-Erfahrungen aus zwei virtuellen internationalen SAFe-Pr...
Fully-managed Cloud-native Databases: The path to indefinite scale @ CNN Mainz
Down the Ivory Tower towards Agile Architecture
"Mixed" Scrum-Teams – Die richtige Mischung macht's!
Make Developers Fly: Principles for Platform Engineering
Der Tod der Testpyramide? – Frontend-Testing mit Playwright
Was kommt nach den SPAs
Cloud Migration mit KI: der Turbo
Migration von stark regulierten Anwendungen in die Cloud: Dem Teufel die See...
Aus blau wird grün! Ansätze und Technologien für nachhaltige Kubernetes-Cluster
Endlich gute API Tests. Boldly Testing APIs Where No One Has Tested Before.
Kubernetes with Cilium in AWS - Experience Report!
50 Shades of K8s Autoscaling
Kontinuierliche Sicherheitstests für APIs mit Testkube und OWASP ZAP
Service Mesh Pain & Gain. Experiences from a client project.
50 Shades of K8s Autoscaling

Recently uploaded (20)

PPTX
New ISO 27001_2022 standard and the changes
PPTX
QUANTUM_COMPUTING_AND_ITS_POTENTIAL_APPLICATIONS[2].pptx
PPTX
sac 451hinhgsgshssjsjsjheegdggeegegdggddgeg.pptx
PDF
Capcut Pro Crack For PC Latest Version {Fully Unlocked 2025}
PPTX
Steganography Project Steganography Project .pptx
PDF
Introduction to the R Programming Language
PPTX
IMPACT OF LANDSLIDE.....................
PDF
Jean-Georges Perrin - Spark in Action, Second Edition (2020, Manning Publicat...
PDF
Microsoft Core Cloud Services powerpoint
PPTX
DS-40-Pre-Engagement and Kickoff deck - v8.0.pptx
PPT
DU, AIS, Big Data and Data Analytics.ppt
PDF
REAL ILLUMINATI AGENT IN KAMPALA UGANDA CALL ON+256765750853/0705037305
PDF
Data Engineering Interview Questions & Answers Batch Processing (Spark, Hadoo...
PPTX
Pilar Kemerdekaan dan Identi Bangsa.pptx
PPTX
Copy of 16 Timeline & Flowchart Templates – HubSpot.pptx
PDF
OneRead_20250728_1808.pdfhdhddhshahwhwwjjaaja
PPTX
modul_python (1).pptx for professional and student
PPT
statistic analysis for study - data collection
PDF
Optimise Shopper Experiences with a Strong Data Estate.pdf
PPTX
Business_Capability_Map_Collection__pptx
New ISO 27001_2022 standard and the changes
QUANTUM_COMPUTING_AND_ITS_POTENTIAL_APPLICATIONS[2].pptx
sac 451hinhgsgshssjsjsjheegdggeegegdggddgeg.pptx
Capcut Pro Crack For PC Latest Version {Fully Unlocked 2025}
Steganography Project Steganography Project .pptx
Introduction to the R Programming Language
IMPACT OF LANDSLIDE.....................
Jean-Georges Perrin - Spark in Action, Second Edition (2020, Manning Publicat...
Microsoft Core Cloud Services powerpoint
DS-40-Pre-Engagement and Kickoff deck - v8.0.pptx
DU, AIS, Big Data and Data Analytics.ppt
REAL ILLUMINATI AGENT IN KAMPALA UGANDA CALL ON+256765750853/0705037305
Data Engineering Interview Questions & Answers Batch Processing (Spark, Hadoo...
Pilar Kemerdekaan dan Identi Bangsa.pptx
Copy of 16 Timeline & Flowchart Templates – HubSpot.pptx
OneRead_20250728_1808.pdfhdhddhshahwhwwjjaaja
modul_python (1).pptx for professional and student
statistic analysis for study - data collection
Optimise Shopper Experiences with a Strong Data Estate.pdf
Business_Capability_Map_Collection__pptx

Immutable Cloud Infrastruture as Code 101