0% found this document useful (0 votes)
4 views

IaC GitOps in a Nutshell a FridayInANuthshell Episode 1711132210

The document introduces Infrastructure as Code (IaC) and GitOps, emphasizing their roles in automating and managing cloud infrastructure. It outlines key principles of GitOps, including declarative management and continuous reconciliation, and highlights the importance of version control and CI/CD in modern software development. Additionally, it provides resources for hands-on labs and further learning about Google Cloud and Terraform.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

IaC GitOps in a Nutshell a FridayInANuthshell Episode 1711132210

The document introduces Infrastructure as Code (IaC) and GitOps, emphasizing their roles in automating and managing cloud infrastructure. It outlines key principles of GitOps, including declarative management and continuous reconciliation, and highlights the importance of version control and CI/CD in modern software development. Additionally, it provides resources for hands-on labs and further learning about Google Cloud and Terraform.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 23

Chapter #01

#IaC_InANutshell
a #FridayInANutshell Season

by Daniel Santiago Silva Capera

GDG Cloud Bogotá


Chapters
Intro to
What is What is IaC
the cloud GitOps Q&A

Google What is Why and Get


Cloud CI/CD how deeper
Platform Terraform into the
Overview cloud
You guys what do you think is cloud?
What could possible be
GitOps?
Git?
Git is a free and open source distributed version control system designed to
handle everything from small to very large projects with speed and efficiency
Ops? → DevOps
Working together
Build and deliver secure software at top speed.

Through automation, collaboration, fast feedback, and


iterative improvement.

DevOps represents a change in mindset for IT culture


Discover Build Deploy Observe

1 2 3 4 5 6 7 8

Plan Test Operate Feedback


→ repeat
"GitOps is an operational framework that takes
DevOps best practices used for application
development such as version control,
collaboration, compliance, and CI/CD, and
applies them to infrastructure automation."
GitOps in a Nutshell

GitOps = IaC + PRs + CI/CD


What's that?
GitOps Principles

Declarative
A system managed by GitOps must have
its desired state expressed declaratively.
Versioned and
Immutable
Desired state is stored in a way that

Pulled Automatically enforces immutability, versioning and


retains a complete version history.
Software agents automatically pull the
desired state declarations from the source.

Continuously
Reconciled
Software agents continuously observe
actual system state and attempt to apply
the desired state.
Key Components of GitOps
1. The Git repository is the source of truth for the application configuration and code.
2. The CD pipeline is responsible for building, testing, and deploying the application.
3. The deployment tool is used to manage the application resources in the target environment.

4. The monitoring system tracks the application performance and provides feedback to the development team.
Introduction to IaC
Bash Script => Imperative
Containers (Docker) orchestration => Somehow declarative

IaC => Declarative


IaC in a Nutshell =>
Declarative Definition of Infrastructure
IaC allows you to build, change, and manage your infrastructure in a safe, consistent, and repeatable way by
defining resource configurations that you can version, reuse, and share.

Allows you to manage infrastructure with configuration files rather than through a graphical user interface.
GitOps === IaC done right!
Why and how Terraform?
"Code is like humor.
When you have to explain it,
it's bad"
- Phrases that Luis Miguel never said before
Q&A session
Introductory Lab
Introduction to GCP Labs:
Getting Started with Cloud Shell and gcloud |
Google Cloud Skills Boost
Compute Engine: Qwik Start - Windows |
Google Cloud Skills Boost

Creating a Virtual Machine | Google Cloud


Qwiklabs
Skills Boost
A Tour of Google Cloud Hands-on Labs…
In this first hands-on lab you will access the Bonus: Arcade
Google Cloud console and use these basic…
Terraform Fundamentals Lab
Qwiklabs
Terraform Fundamentals | Google Cloud Skills Boost
- - ,
In this hands on lab you will create infrastructure a virtual

,
machine using Terraform in the cloud environment .
References
What is GitOps? OpenGitOps
Git What is DevOps?
Sources to go further

GitLab GCP | Terraform |…


[eBook] A beginner's gui… GCP | Terraform | HashiC…
Learn more about GitOps and Build, change, and destroy
how it offers infrastructure… Google Cloud Platform (GCP…

Google Cloud Google Cloud


GitOps your service orch… Terraform on Google Clo…
GitOps your service Using Terraform with Google
orchestrations Cloud Platform
The course of the week
Qwiklabs
Automating Infrastructure on Google Cloud with Terraf…
Earn a <b>skill badge</b> by completing the
<b>Automating Infrastructure on Google Cloud with…
Next session options:
Go deeper into cloud
Google Cloud Infrastructure reliability
Google Cloud Deployment Archetypes

Cloud Architecture random topic


Monitoring
Soft-skill/Big-tech/Entrepreneur talk

You might also like