Day 01 – DevOps Career, Lifecycle, and Terraform Automation Essentials
Day 01
Agenda
[02:00 β 04:00] Career Advice
Query from a participant on how to prepare for DevOps interviews.
Emphasis on understanding core concepts, automation, and real-world tools.
[05:00 β 08:00] What is DevOps? (Participant Interaction)
Interactive Q&A with Arun on DevOps definition.
Key points:
Dev + Ops collaboration
Breaking silos
Faster delivery with automation
Agile-compatible process
Continuous integration & delivery
[08:00 β 11:00] DevOps Business Goals
Goals of a DevOps engineer:
Faster delivery with quality
Cost-effective solutions (use open source/cloud)
Zero/minimal downtime
Continuous monitoring and scaling
[11:00 β 15:00] Real-World Scenario (E-commerce Platform Example)
β Client example: Arun’s Myntra-like store moving from offline to global e-commerce.
β
DevOps team responsibilities:
Deliver MVP quickly
Cost reduction via cloud
High availability & autoscaling
Monitor usage patterns and adjust infra
[15:00 β 21:00] DevOps & Agile β The Synergy
DevOps complements Agile SDLC.
Agile Manifesto: prioritizes people, working software, and customer collaboration.
Adapt to client-driven changes even in late development.
Frequent incremental delivery (Sprint model).
[22:00 β 27:00] DevOps Lifecycle & Tools Overview
Key stages: Plan β Code β Build β Test β Release β Deploy β Operate β Monitor
β Sample tools by stage:
Plan: Jira, ZenHub, Azure Boards
Code: GitHub, Bitbucket, GitLab
Build: Jenkins, Maven, Azure Pipelines
Test: Selenium, Karate, JUnit
Deploy: Kubernetes, Ansible, Docker Swarm
Monitor: Datadog, Prometheus, Grafana
[27:00 β 34:00] Infrastructure Automation Introduction
Need infrastructure to run pipelines.
β Shift from on-premise to cloud (90% orgs moved).
β Introduced concept of Infrastructure as Code (IaC) using Terraform.
[34:00 β 41:00] Why Cloud? Cost Advantages
Benefits of cloud over on-prem:
Variable expense
Elastic scaling
Global reach in minutes
Speed & agility
On-premise = expensive setup + maintenance.
[42:00 β 45:00] β Multi-Cloud Strategy
β Organizations use multiple cloud providers to reduce cost.
Tools like CloudFormation (AWS) and Bicep (Azure) are vendor-specific.
β
Terraform preferred for multi-cloud infra automation.
[45:00 β 52:00] Terraform Basics
Terraform can automate infrastructure on 5000+ providers.
Prerequisites:
Only basic cloud knowledge (e.g., launching EC2 in AWS).
No need to know Jenkins, Docker, etc., beforehand.
Infrastructure creation needs a “source of truth” β Terraform script.
[52:00 β 58:00] Hands-on Terraform Start
Create Ubuntu server in AWS (guided demo).
Use key pair for secure login.
Demonstrated importance of auditable config (no manual infra!).
[58:00 β 1:07:00] Installing Terraform on EC2
β Logged into EC2 server named infra-exec.
Installed Terraform CLI via official script.
Started writing first .tf script with:
Provider plugin block
Provider block
Resource block
[1:07:00 β 1:13:00] Writing First Terraform Script
Created file: script1.tf
Used AWS provider, Ubuntu AMI ID, instance type (t2.micro)
Defined count = 5 to create 5 EC2 instances
[1:13:00 β 1:18:00] β Credentials Error & IAM Roles
Error: No valid AWS credentials.
Solution:
Create IAM Role with EC2 Full Access
Attach role to the EC2 instance running Terraform
[1:18:00 β End (~1:30:00)] IAM Role Creation & Terraform Execution
β
Demonstrated:
Creating IAM role with AmazonEC2FullAccess
Attaching role to running EC2
Rerunning Terraform init, validate, plan, and apply