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

DevOps and AWS Session Slides

Devops

Uploaded by

Krittika Hegde
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views

DevOps and AWS Session Slides

Devops

Uploaded by

Krittika Hegde
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 54

Devops & AWS

Ujjwal Shivacharya • Vishnu Sai Nadella


About Us
Ujjwal Shivacharya

● SWE Intern - Sears Holdings

● GDSC Founding Lead 2022-23

● IV Year CSE 2020-24 Batch

● Full Stacker | Automation Geek | Stocks 📊

● 30+ Certifications
Vishnu Sai Nadella

● DevOps Intern - Arcadis IBI Group

● SWE Intern - NFC Solutions

● GDSC Technical Lead 2022-23

● IV Year CSE 2020-24 Batch

● Pythonista | Self Learner | Gamer | Creator


Agenda

10-10:30AM What is DevOps? Overview, Benefits Ujjwal

10:30-11:00AM DevOps Cycle, Tools Used, Examples Vishnu

11:00-11:30AM Intro to AWS, Tools, Usage Ujjwal

11:30-11:45AM Recess/Break -

11:45-12:45PM Git Version Control Ujjwal

12:45-1:45PM Lunch Break -

2:00-2:30PM What is Docker? Overview, Setup Vishnu

2:30-3:15PM Dockerizing Applications (Hands-On) Vishnu

3:15-3:45PM Discussion, Industry Impact, Doubts Solving Both


What is
DevOps?
What is DevOps?

● DevOps combines development (Dev) and operations (Ops) to


increase the efficiency, speed, and security of software development
and delivery compared to traditional processes.
● Traditionally, these teams worked in silos, leading to delays and
communication issues.
● DevOps breaks down these silos, fostering a collaborative environment
for faster software delivery.
Why DevOps? Enduku?

● Faster software delivery

● Improved quality

● Increased reliability

● Better communication
Benefits

● Structured Workflow

● Automation

● Continuous and improved feedback loop

● Continuous monitoring

● Cost efficiency
DevOps Principles

● Infrastructure as code (IaC)

● Continuous integration (CI)

● Continuous delivery/deployment (CD)

● Monitoring and feedback


DevOps Tools

● Git: Track changes and collaborate on code.

● Terraform: Automate infrastructure provisioning (Hardware).

● Ansible: Continuous code delivery using IAC (Software).

● Jenkins, GitLab CI/CD: Automate build, test, and deploy processes.

● Prometheus, Grafana: Track application performance and health.


DevOps
Cycle
DevOps Cycle
Tools Used
DevOps Cycle - Demo
Jenkins

● Automates builds, tests & deployments (CI/CD)

● Free, open-source & cross-platform

● Supports continuous development practices

● Massive plugin library for customization

● Scales for big projects & integrates with many tools


Selenium

● Automates web browsers (tests, clicks, etc.).

● Works across browsers (Chrome, Firefox, Edge, etc.).

● Boosts web app testing (functional, regression).

● Easy scripting (Python, Java, and more).

● Free & community-driven (open-source).


Terraform

● Automates cloud infrastructure (AWS, Azure, GCP).

● Code defines infrastructure (readable & controllable).

● Repeatable & consistent deployments.

● Works across cloud providers.

● Free & open-source (large community).


Ansible

● Automates IT tasks (config, deploy, orchestrate).

● Agentless & Simple (SSH, playbooks).

● Cross-Platform (Linux, Windows, macOS).

● Playbooks for Reuse (group tasks).

● Free & Open-Source (scales for complex needs).


Are Ansible and
Terraform the same?
TL;DR

Terraform → Hardware
Ansible → Software
Kubernetes

● Runs containerized apps (scales & deploys).

● Orchestrates containers (automated deployments, etc.).

● Open-source & portable (works anywhere).

● Defines desired state (scalable).

● Big developer community (active support).


Grafana

● Data Dashboard (metrics, logs, traces).

● Free & Customizable (open-source & plugins).

● Makes data pretty (visualizes for easy understanding).

● Alerts for problems.

● Connects to many data sources.


so to summarize
AWS
Intro to AWS
Intro to AWS

Imagine having a vast toolbox filled with digital tools to


build and run anything online. That's essentially AWS. It
provides on-demand services like virtual machines,
storage for websites and apps, secure databases, and
private networks. With AWS, you pay only for what you
use, making it a scalable and cost-effective way to power
your online projects.
AWS Services

● Amazon Elastic Compute Cloud - EC2

● Amazon Relational Database Service - RDS

● Amazon Simple Storage Service - S3

● Amazon Virtual Private Cloud - VPC

● Amazon Lambda
EC2

● Provides secure, resizable virtual machines (VMs) in the cloud.

● Launch and configure VMs on-demand with minimal friction.

● Pay only for the compute resources you use (pay-as-you-go model).

● Wide range of operating systems and pre-configured software options.

● Scale your applications up or down easily based on traffic demands.


RDS

● Managed relational database service for MySQL, PostgreSQL, and Oracle.

● Automates administrative tasks like provisioning, patching, backups, and

scaling.

● Offers high availability, durability, and security for your databases.

● Focus on your application development and leave the database

management to AWS.
S3

● Object storage service for storing and retrieving data

● Highly scalable, durable, and available storage

● Pay only for the storage you use.

● Variety of storage classes to optimize cost based on access frequency.

● Easy to integrate with other AWS services and access from anywhere
VPC

● A logically isolated section of the AWS cloud where you can launch
your AWS resources.
● Provides complete control over your virtual networking environment
● Isolate your resources and improve network security
● Connect your VPC to your on-premises network for hybrid cloud
deployments.
Lambda

● Focus on writing code, forget about servers.


● AWS manages infrastructure, scaling, and security.
● Code runs in response to events (file uploads, database changes, HTTP
requests).
● Perfect for microservices and event-driven applications.
● Pay only for the compute time your code uses
● Scalable and Highly Available
to summarize
so that’s pretty
much about it
Time for a
Break
GIT
Git Version Control
Git Version Control

Git is a version control system that helps you

manage your projects, especially when you're

working with others. It keeps track of changes you

make to your files over time, allowing you to go

back to previous versions if needed. Think of it like

a time machine for your code!


Git Commands

● git add <file_name>

● git commit -m <commit message>

● git push origin <branch name>

● git pull

● git checkout -b <branch name>

● git branch
Hands On
winding up

● Git can track changes and merges work seamlessly.


● Git allows reverting to previous versions, acting as a safety net for your
code.
● Git allows experimentation without risking the main project's stability.
● Git maintains a history of modifications, aiding troubleshooting and
understanding project evolution.
● Git supports coding offline and is free, with a vast community
continuously improving it.
Time for Lunch 🥗
Docker
How it all started?
Docker

Docker is a software platform that allows you

to build, test, and deploy applications quickly.

Docker packages software into standardized

units called containers that have everything

the software needs to run including libraries,

system tools, code, and runtime.


Docker - Image

A Docker image is a read-only template containing a set of filesystem layers

representing the application's code, dependencies, libraries, and runtime

environment configurations. These layers are built based on instructions

specified in a Dockerfile.
Docker - Container

A Docker container is a lightweight, runnable instance of a Docker image. It

is as a virtual environment where the software defined in the Docker image

can run as an isolated process. Multiple containers can be instantiated from

the same Docker image, each running independently and isolated from one

another.
Docker Commands

● docker build

● docker run

● docker exec

● docker stats

● docker inspect

● docker volume
Hands On
Discussion
Time🦜
meanwhile,
give us your feedback
Thank You🤟

You might also like