Kooppons DevOps
Kooppons DevOps
  • 37
  • 873
Terraform Session 7: Review of EC2 Task and Introduction to VPC Task
In this session, we review the EC2 module task from Session 6 and introduce the VPC module task. Participants gain insights into modular design in Terraform, focusing on creating reusable configurations for AWS resources. We walk through the EC2 module implementation, showcasing dynamic key pair generation, tagging with the merge function, and best practices for defining outputs.
The session transitions into the new assignment, where participants learn to create a VPC module with Terraform. Key concepts include:
Dynamically generating public and private subnets using for_each.
Configuring an internet gateway and route tables.
Linking EC2 and VPC modules for cohesive infrastructure management.
This hands-on session emphasizes practical applications of Terraform to manage infrastructure as code (IaC) effectively.
What You'll Learn
How to dynamically create and use key pairs in Terraform.
Implementing EC2 modules with reusable and dynamic configurations.
Introduction to VPC modules with public and private subnets.
Using for_each to create multiple resources dynamically.
Best practices for linking Terraform modules.
Session Highlights
Folder Structure: Organizing Terraform modules for EC2 and VPC.
Dynamic Resource Creation: Generating key pairs and subnets dynamically.
Terraform Functions: Deep dive into merge and for_each usage.
Assignments: Practical tasks to reinforce modular design concepts.
Переглядів: 6

Відео

Terraform Session 6: Recap and Assignment
Переглядів 1519 годин тому
Session Objective Session 6 focused on consolidating Terraform concepts from previous sessions and introduced an assignment to create a reusable module for provisioning an EC2 instance using Terraform. The session also explored practical GitHub workflows and enhanced the understanding of folder structure and module organization. Topics Covered 1. Recap of Key Terraform Concepts Infrastructure a...
Terraform Session 5: Introducing Loops and Maps
Переглядів 4014 днів тому
Session Highlights Recap: Reviewed Modules and Functions introduced in the previous session. Modules were parameterized for better reusability (e.g., dynamic VPC and subnets). Function tostring was used to ensure data type compatibility. Core Learning - Loops in Terraform: Loops were explained with examples of iterative tasks. Introduced two looping mechanisms in Terraform: count: Used for crea...
Terraform Session 4: Enhancing Modules and Exploring Functions
Переглядів 3514 днів тому
Key Learnings: Recap of Modules: A module is a reusable piece of code that performs a specific task, such as creating a VPC with predefined configurations. Dynamic modules were explored by making variables required, ensuring flexibility and reusability. Parameterizing Modules: Variables within modules were adjusted to allow dynamic input for VPC name, CIDR blocks, and subnets. Demonstrated pass...
Terraform Session 1: Introduction, Installation, and Basic AWS Networking
Переглядів 2614 днів тому
In this session, we focused on: Understanding Terraform Basics: Terraform is an open-source infrastructure as code (IaC) tool by HashiCorp. It allows you to define, manage, and provision infrastructure across various platforms using declarative configurations. Installing Terraform: We installed Terraform on a Linux-based EC2 instance, learning to handle dependencies like JQ and unzip. Exploring...
Terraform Session 3:Modules, State Management & Dynamic Infrastructure (DevOps Training)
Переглядів 2521 день тому
In this advanced Terraform training session, we dive into key DevOps concepts using Terraform to manage infrastructure as code (IaC) on AWS. This video builds on basic Terraform principles and explores how to modularize configurations for reusability and scalability. What You’ll Learn: Terraform Recap: Quick overview of installing Terraform, understanding the workflow (init, plan, apply, destro...
Terraform Session 2: State Management, Variables & Outputs
Переглядів 1721 день тому
In this continuation of our Terraform training series, we dive deeper into essential Terraform concepts, including state management, variable configuration, and output handling. Learn how the Terraform state file maps real-world resources to code, the importance of securely managing the state file in S3 for team access, and best practices for structuring your configurations. This session covers...
Terraform Session 0:Introduction to Terraform and AWS IAM for Creating an AWS VPC
Переглядів 39Місяць тому
In this session, I introduced the group to Terraform, starting with a hands-on example of creating a simple VPC. Since Terraform requires specific permissions to work with AWS, I also covered the basics of IAM roles, policies, users, groups, and access keys to ensure they understood how to manage access for Terraform. We explored essential file formats used in DevOps, specifically JSON and YAML...
Networking Security basics Using AWS VPC Second Lesson
Переглядів 31Місяць тому
Networking Security basics Using AWS VPC Second Lesson
Using Bash (Variables and Arguments) to Create EC2 Instances
Переглядів 143 місяці тому
Using Bash (Variables and Arguments) to Create EC2 Instances
Week 9 - Deploying Applications to EC2 Using GitHub and Bash Scripting
Переглядів 234 місяці тому
Welcome to Week 9 of our DevOps series! In this session, we dive into automating deployments of applications from GitHub to AWS EC2 using Bash scripting. Here's what we covered: Setting up an EC2 Server: We start by creating a new EC2 instance, configured to run our personalized greetings application from GitHub. Connecting GitHub with EC2 via SSH: Learn how to securely connect your EC2 instanc...
week 9 Day 1 Configuring Git Repo to allow remote servers to SSH
Переглядів 274 місяці тому
week 9 Day 1 Configuring Git Repo to allow remote servers to SSH
week 9 Day 1 Clone a Git repo to a remote EC2 from Cloud9 at a slow pace
Переглядів 214 місяці тому
week 9 Day 1 Clone a Git repo to a remote EC2 from Cloud9 at a slow pace
week 9 Day 1 clone a Git Repo to a remote EC2 from Cloud9 Quick pace
Переглядів 134 місяці тому
week 9 Day 1 clone a Git Repo to a remote EC2 from Cloud9 Quick pace
week 7 Day 2 IF THEN ELSE in FOR LOOPS
Переглядів 134 місяці тому
week 7 Day 2 IF THEN ELSE in FOR LOOPS
week 7 Day 2 of Introduction to IF THEN ELSE FI
Переглядів 144 місяці тому
week 7 Day 2 of Introduction to IF THEN ELSE FI
week 7 Day 1 Bash For-Loops Top up
Переглядів 114 місяці тому
week 7 Day 1 Bash For-Loops Top up
week 7 Day 1 Recap of Week 6 Bash basics
Переглядів 74 місяці тому
week 7 Day 1 Recap of Week 6 Bash basics
week 6 Day 1 Manually creating Linux User
Переглядів 165 місяців тому
week 6 Day 1 Manually creating Linux User
week 5 Day 2 Using SSH to access the Personalized Greeting project Git repo
Переглядів 305 місяців тому
week 5 Day 2 Using SSH to access the Personalized Greeting project Git repo
week 6 Day 1 Creating Cloud9 and keypair topup
Переглядів 135 місяців тому
week 6 Day 1 Creating Cloud9 and keypair topup
week 5 Day 2 Adding time feature to the Personalized Greeting project
Переглядів 285 місяців тому
week 5 Day 2 Adding time feature to the Personalized Greeting project
week 5 Day 2 Bernard is working on the Personalized Greeting project
Переглядів 175 місяців тому
week 5 Day 2 Bernard is working on the Personalized Greeting project
week 5 Day 1 Deploying the Personalized Greeting Project on AWS EC2 and Nginx
Переглядів 235 місяців тому
week 5 Day 1 Deploying the Personalized Greeting Project on AWS EC2 and Nginx
week 5 Day 1 Preparing the Personalized Greeting Project GitHub Repository
Переглядів 315 місяців тому
week 5 Day 1 Preparing the Personalized Greeting Project GitHub Repository
week 5 Day 1 Personalized Greeting Project Description
Переглядів 175 місяців тому
week 5 Day 1 Personalized Greeting Project Description
Week 4 Day 1 Learning Git with Myself Project task
Переглядів 175 місяців тому
Week 4 Day 1 Learning Git with Myself Project task
Week 4 Day 1 Learning Git with Myself Project Video 3
Переглядів 85 місяців тому
Week 4 Day 1 Learning Git with Myself Project Video 3
Week 4 Day 1 Learning Git with Myself Project Video 2
Переглядів 115 місяців тому
Week 4 Day 1 Learning Git with Myself Project Video 2
Week 3 Day 2: Learning Git with Myself Project Video 1
Переглядів 255 місяців тому
Week 3 Day 2: Learning Git with Myself Project Video 1