Microservices CI/CD Using Terraform, AWS CI/CD Tools & Amazon ECS | AWS ECS Microservices CI/CD using AWS CI/CD Tools /Service i.e. AWS CodePipeline (Workflow) + AWS CodeCommit (Source) + AWS CodeBuild (Build) + AWS ECS (Deployment)
What exactly are Microservices?
What is Continuous Integration?
What is Continuous Delivery & Deployment?
What is Infrastructure as Code & Terraform?
AWS Tools for CICD & Microservices
Microservices CI/CD Demo with AWS + Terraform
By the end of this session, you will learn how to configure AWS CodeBuild & CodePipeline for any applications using Terraform
▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
0:00 – Intro
0:30 – What is Micro Services?
01:10 – What is Continuous Integration (CI)?
02:20 -What is Continuous Delivery (CD), Continuous Deployment (CD) & difference?
04:03 – What is Infrastructure as Code (IaC) & Terraform?
06:30 – AWS Tools/Services for CI/CD & Microservices
7:47 – Demo intro & from where to download Terraform and Microservices App Codes (GitHub Link)?
8:03 – Use case scenario Explanation
8:36 – Microservices i.e. NodeJs, Python, Go app overview
10:46 – In-depth Codes & Folder Structure explanation
15:30 – Step 1: Terraform Input variables/parameters required for the demo
16:54 – Step 2: Terraform version requirement, backend configuration and init
18:23 – Step 3: Add Required IAM Roles and Policies
20:05 – Step 4: Create AWS CodeBuild Project
23:00 – Step 5: Create AWS CodePipeline Project
26:11 – AWS CodePipeline Steps Provider list (VERY IMPORTANT)
27:04 – Provider AWS CodeBuild Env Variables: PLAINTEXT, PARAMETER_STORE, SECRETS_MANAGER
29:37 – CodeDeploy Artifact For AWS ECS: Filename: imagedefination.json
29:50 – Build Artifact Flow Small Overview
30:44 – How to create the rest of the code pipelines as we need 3 pipelines for 3 services
30:54 – Terraform plan: Do a dry run to see which and how many resources will be created
31:16 – Terraform Apply: Create All AWS remote resources i.e create/setup IAM, CodeBuild, S3 Bucket, CodePipeline project, etc resources
32:18 – AWS CodePipeline Working Demo
34:18 – Terraform destroy: remove/destroy all the remote resources that managed by Terraform
35:19 – Wrapup
#terraform #microservices #cicd #learnwithsandip
What is Microservices?
Microservices are an architectural and organizational approach to software development where software is composed of small independent services that communicate over well-defined APIs. These services are owned by small, self-contained teams.
Microservices architectures make applications easier to scale and faster to develop, enabling innovation and accelerating time-to-market for new features.
What is Terraform?
Terraform is an infrastructure as code (IaC) tool that allows you to build, change, and version infrastructure safely and efficiently. This includes low-level components such as compute instances, storage, networking, and high-level components such as DNS entries, SaaS features, etc. Terraform can manage both existing service providers and custom in-house solutions.
What are the AWS CI/CD Tools?
AWS CodeCommit: Managed Git Repository Services (Source)
AWS CodeBuild: Container-based Serverless Build tool/Service (Build)
AWS CodeDeploy: Deployment service
AWS CodePipeline: Workflow management e.g. Source ➡️ Build ➡️ Deploy
▬▬▬▬▬▬ Useful Links 🔗 ▬▬▬▬▬▬
Terraform Course For Beginners: ►
Demo Project GitHub Repo: ►
Terraform AWS CodeBuild Documentation: ►
Terraform AWS CodePipeline Documentation: ►
Terraform CodePipeline Providers Reference: ►
▬▬▬▬▬▬ Session Ebook 🚀 ▬▬▬▬▬▬
Microservices CI/CD With Terraform Ebook: ►
▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
My Site ►
Join this channel to get access to perks: