What is GitOps, Practical GitOps CI/CD With Terraform and AWS

  Рет қаралды 7,564

Sandip Das

Sandip Das

Күн бұрын

What is GitOps & How it Works | Practical GitOps Demo with Terraform + AWS Infra + CI/CD With AWS CodePipeline + AWS CodeCommit (Git Source) + AWS CodeBuild (CI/CD)
Learn:
What is GitOps?
What is Infrastructure as Code?
How Infrastructure as Code Works?
How GitOps is Useful for Infrastructure as Code?
How does GitOps merge request Flow work?
Continuous Integration and Continuous Deployment (CI/CD) for GitOps
Benefits of GitOps
How to achieve GitOps goal via Terraform in AWS Infra
(Detailed Terraform code explanation and full end-to-end practical hands-on tutorial)
#gitops #devops #learnwithsandip
▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
0:00 - Intro
0:09 - What is GitOps?
0:28 - What is Infrastructure as Code?
1:08 - What are the Benefits of Infrastructure as Code?
1:42 - How does infrastructure as Code Works?
2:17 - Why use GitOps for Infrastructure As Code?
2:47 - GitOps Merge Request Flow
3:22 - CI Pipeline
3:43 - CD Pipeline
4:07 - Push Based Deployment & Pull Based Deployment
4:47 - Benefits of GitOps
5:51 - Practical GitOps
6:00 - Terraform Source Code Explanation
8:23 - Buildspec.yml file explanation
9:45 - Terraform init, validate, plan and apply
15:09 - GitOps Merge Request Flow Demo
22:27 - Wrap up
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.
It is a way of implementing Continuous Deployment for cloud-native applications. It focuses on a developer-centric experience when operating infrastructure, by using tools developers are already familiar with, including Git and Continuous Deployment tools.
The core idea of GitOps is having a Git repository that always contains declarative descriptions of the infrastructure currently desired in the production environment and an automated process to make the production environment match the described state in the repository. If you want to deploy a new application or update an existing one, you only need to update the repository - the automated process handles everything else. It’s like having cruise control for managing your applications in production.
GitOps = IaC + MRs + CI/CD
Infrastructure as Code(IaC): GitOps uses a Git repository as the single source of truth for infrastructure definitions. Git is an open-source version control system that tracks code management changes, and a Git repository is a .git folder in a project that tracks all changes made to files in a project over time. Infrastructure as code (IaC) is the practice of keeping all infrastructure configurations stored as code. The actual desired state may or maybe not be stored as code (e.g., number of replicas or pods).
Merge Requests (MRs): GitOps uses merge requests (MRs) as the change mechanism for all infrastructure updates. The MR is where teams can collaborate via reviews and comments and where formal approvals take place. A merge commits to your main (or trunk) branch and serves as an audit log.
Continuous Integration & Continuous Deployment(CI/CD): GitOps automates infrastructure updates using a Git workflow with continuous integration and continuous delivery (CI/CD). When new code is merged, the CI/CD pipeline enacts the change in the environment. Any configuration drift, such as manual changes or errors, is overwritten by GitOps automation so the environment converges on the desired state defined in Git. GitLab uses CI/CD pipelines to manage and implement GitOps automation, but other forms of automation, such as definitions operators, can be used as well.
▬▬▬▬▬▬ Useful Links 🔗🚀 ▬▬▬▬▬▬
Terraform Full Course: ► • Terraform Full Course ...
AWS CodeBuild Full Course: ► • AWS CodeBuild Full Cou...
AWS CodeCommit: ► • AWS CodeCommit | DevOp...
CI/CD With Terraform ► • Microservices CI/CD Wi...
▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
MY SITE ► bit.ly/3rz82SQ
INSTAGRAM ► bit.ly/3iFWfy8
TWITTER ► bit.ly/3i6lkDs
LINKEDIN ► bit.ly/3rAeCsm
Join this channel to get access to perks:
/ @learntechwithsandip
Legal Notice:
AWS, GitLab, Jenkins, Terraform logos, etc are trademarks or registered trademarks of respective companies in the United States and/or other countries. These companies and other parties may also have trademark rights in other terms used herein. This video is not accredited, certified, affiliated with, nor endorsed by AWS, GitLab, Terraform, or HashiCorp, etc.

Пікірлер: 21
@learnTechWithSandip
@learnTechWithSandip 2 жыл бұрын
► Source Codes in GitHub 👉🏼 bit.ly/3hrFzuw ▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬ 0:00 - Intro 0:09 - What is GitOps? 0:28 - What is Infrastructure as Code? 1:08 - What are the Benefits of Infrastructure as Code? 1:42 - How does infrastructure as Code Works? 2:17 - Why use GitOps for Infrastructure As Code? 2:47 - GitOps Merge Request Flow 3:22 - CI Pipeline 3:43 - CD Pipeline 4:07 - Push Based Deployment & Pull Based Deployment 4:47 - Benefits of GitOps 5:51 - Practical GitOps 6:00 - Terraform Source Code Explanation 8:23 - Buildspec.yml file explanation 9:45 - Terraform init, validate, plan and apply 15:09 - GitOps Merge Request Flow Demo 22:27 - Wrap up ▬▬▬▬▬▬ Want to Learn More? 🚀 ▬▬▬▬▬▬ ►Terraform Full Course: 👉🏼 kzbin.info/www/bejne/e3uWf2Cenc6KrJI ►AWS CodeBuild Full Course: 👉🏼 kzbin.info/www/bejne/qKm9n5x6qNmUl5Y ►AWS CodeCommit: 👉🏼 kzbin.info/www/bejne/ZmeXaoWVe9Bslac ►CI/CD With Terraform 👉🏼 kzbin.info/www/bejne/eZvNhHWNgtyCsKM
@simonesaravalli4409
@simonesaravalli4409 2 жыл бұрын
Hi sandip, very interesting and clear tutorial! Thank you for sharing
@learnTechWithSandip
@learnTechWithSandip 2 жыл бұрын
▬▬▬▬▬▬ Want to Learn More? 🚀 ▬▬▬▬▬▬ ►Terraform Full Course: 👉🏼 kzbin.info/www/bejne/e3uWf2Cenc6KrJI ►AWS CodeBuild Full Course: 👉🏼 kzbin.info/www/bejne/qKm9n5x6qNmUl5Y ►AWS CodeCommit: 👉🏼 kzbin.info/www/bejne/ZmeXaoWVe9Bslac ►CI/CD With Terraform 👉🏼 kzbin.info/www/bejne/eZvNhHWNgtyCsKM
@prashantsukhadeve9642
@prashantsukhadeve9642 2 жыл бұрын
Thank you Sandeep for valuable information. I always learn so many things from your video.
@soufianeodf9125
@soufianeodf9125 2 жыл бұрын
thanks for the good content, can you share please you presentation ? it's really awesome.
@Sammyi
@Sammyi 2 жыл бұрын
Really informative bro! But can you recommend advance Terraform courses or make some on how to keep code optimized whenever we are working and more other scenarios
@yogithakakarla1716
@yogithakakarla1716 Жыл бұрын
Can we do the same gitops process using git for storing, Jenkins instead of code build and code pipeline please
@2mahender
@2mahender 2 жыл бұрын
Nice, thank you for video, can you please do gitops video using opensource tools like ArgoCD,Devtron,Harness
@learnTechWithSandip
@learnTechWithSandip Жыл бұрын
Yes, that's next 👍
@VeereshPatel15
@VeereshPatel15 2 жыл бұрын
Bro please do latest (2021) crash course on 1.Angular 12 2- reactjs 3- nodejs- 4-- meanstack 5.mern stack 6-Real time project (product) development
@learnTechWithSandip
@learnTechWithSandip 2 жыл бұрын
Will do when I start javaScript courses 👍
@VeereshPatel15
@VeereshPatel15 2 жыл бұрын
@@learnTechWithSandip when we will expect JavaScript classes
@learnTechWithSandip
@learnTechWithSandip 2 жыл бұрын
@@VeereshPatel15 most probably after december, till then for JavaScript I suggest : kzbin.info
@miqbal824
@miqbal824 2 жыл бұрын
Sandeep I need a course on Jenkins and Git where we can user terraform code for azure and deploy the infra on azure. Please suggest asap.
@learnTechWithSandip
@learnTechWithSandip 2 жыл бұрын
I don't see such course anyware, but when I start Azure DevOps series, I will cover it 👍
@vinayhegde9888
@vinayhegde9888 2 жыл бұрын
Instal Azure credentials plugin and enter Service principle details to provision Azure cloud using Jenkins by cloning Git repository.
@kishores8500
@kishores8500 2 жыл бұрын
@@learnTechWithSandip same applicable for Google cloud too. I know I might be asking too much . if its possible please make it work or anything such exists in the internet please guide.
@AnuragMishra-mv2fm
@AnuragMishra-mv2fm 2 жыл бұрын
Hello sir, I felt while going through the video that there is too much transition animation used and due to this I can't read what was written on the slides. I know you talk at a faster speed that's why you are changing slides at a similar speed. Just felt that slides could have simple transition, rest everything is great:)
@learnTechWithSandip
@learnTechWithSandip 2 жыл бұрын
Hi Anurag , thanks you very much for the detailed feedback, all points noted 😇
@Lakshmi_7963
@Lakshmi_7963 2 жыл бұрын
Hi everyone If We are running terraform code from Jenkins pipeline where terraform state file will store. Terraform code is saved in gitlab in my case Please help me
@learnTechWithSandip
@learnTechWithSandip 2 жыл бұрын
Hi Lakshmipathi, please use remote backed and store in s3
GitOps with Terraform - Automating Your Source of Truth
51:28
Mom's Unique Approach to Teaching Kids Hygiene #shorts
00:16
Fabiosa Stories
Рет қаралды 32 МЛН
Spot The Fake Animal For $10,000
00:40
MrBeast
Рет қаралды 169 МЛН
Каха заблудился в горах
00:57
К-Media
Рет қаралды 4,7 МЛН
What is GitOps, How GitOps works and Why it's so useful
11:33
TechWorld with Nana
Рет қаралды 341 М.
What is GitOps | GitOps explained with ArgoCD project
15:51
Cloud Champ
Рет қаралды 12 М.
Getting Started with GitOps - AWS Online Tech Talks
50:53
AWS Developers
Рет қаралды 6 М.
The IDEAL & Practical CI / CD Pipeline - Concepts Overview
22:36
Be A Better Dev
Рет қаралды 472 М.
How to achieve (actual) GitOps with Terraform and Kubernetes
47:27
Cloud Native and Kubernetes Oslo Meetup
Рет қаралды 640
Terraforming ArgoCD: The GitOps Bridge - Brian Fox, Midnite
16:41
CNCF [Cloud Native Computing Foundation]
Рет қаралды 4,4 М.
ВАЖНО! Не проверяйте на своем iPhone после установки на экран!
0:19
ГЛАЗУРЬ СТЕКЛО для iPhone и аксессуары OTU
Рет қаралды 6 МЛН
Look, this is the 97th generation of the phone?
0:13
Edcers
Рет қаралды 7 МЛН
Как правильно выключать звук на телефоне?
0:17
Люди.Идеи, общественная организация
Рет қаралды 1,9 МЛН
$1 vs $100,000 Slow Motion Camera!
0:44
Hafu Go
Рет қаралды 28 МЛН
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1,9 МЛН
НОВЫЕ ФЕЙК iPHONE 🤯 #iphone
0:37
ALSER kz
Рет қаралды 270 М.