See discussions, stats, and author profiles for this publication at: https://www.researchgate.
net/publication/387517969
DevOps and Cloud Computing course notes
Presentation · December 2024
CITATIONS READS
0 404
1 author:
Youcef Benabderrezak
University of Boumerdes
199 PUBLICATIONS 28 CITATIONS
SEE PROFILE
All content following this page was uploaded by Youcef Benabderrezak on 30 December 2024.
The user has requested enhancement of the downloaded file.
DevOps and Cloud
Computing
Dr Benabderrezak
Researcher in Cyber Security
Full-stack Web developer 1
Work Plan
1. Linux Basics
2. Virtualization
3. Cloud Computing Environment & Applications
4. Introduction to DevOps
5. Version Control With Git
6. Continuous Integration and Continuous Delivery (CI/CD)
7. Infrastructure as Code (IaC)
8. Containerization with Docker 2
2
Linux Basics
3
Why it matters ?
Linux is the backbone ( ) اﻟﻌﻤﻮد اﻟﻔﻘﺮيof most servers and DevOps tools.
4
Linux Key concepts
- File Management
- User Management
- Networking Basics
- Process Management
5
File Management : Know how to navigate files , search content
6
7
8
User Management : Manage users and permissions with adduser or chmod.
9
10
11
Networking Basics : Check connectivity with ping or open ports with netstat.
12
13
Process Management
14
Virtualization
15
What is Virtualization ?
- Running multiple "virtual computers" on a single physical machine
- Example : Running Windows inside your Linux PC using VirtualBox
16
Why Use Virtualization ?
- Save money by using fewer machines
- Easily test software in different environments
17
How Does It Work ?
Hypervisor :Software like VMware or VirtualBox manages virtual machines.
18
Types :
- Fully virtual (entire computer is simulated)
- Partially virtual (shares some hardware).
19
Chapter 2
Cloud Computing Environment
20
What is Cloud Computing ?
- Using remote servers (instead of your own) to store files, run apps, or analyze data.
- Example : Google Drive or Dropbox.
21
How is the Cloud Used ( Models ) :
- SaaS (e.g., Google Docs) : You use software online
- PaaS (e.g., Heroku) : Developers build apps online
- IaaS (e.g., AWS EC2) : Rent virtual machines
22
Why Use the Cloud ?
- It's flexible, scalable, and you pay only for what you use
23
Chapter 3
Cloud Applications
24
Where the Cloud Helps
- Safety : Backups and encryption keep data secure
- Storage : Services like AWS S3 hold massive amounts of data
- Management : Tools like AWS CloudWatch monitor usage
- Resource Allocation : The system automatically adjusts resources when
demand changes
25
Chapter 4
Introduction to DevOps
26
What is DevOps ?
- A way of working where developers and operations teams collaborate
- Goal : Build software faster and make it reliable
27
What is DevOps ?
28
DevOps Tools
29
Why DevOps Matters :
- Quicker releases, fewer bugs, better teamwork
- Example : Automating code deployment instead of doing it manually
30
Chapter 5
Version Control with Git
31
What is Git ?
- A tool to track changes in code and work with teams.
- Used to : Save code, undo mistakes, and share work with others.
32
Basic Git Commands
- Save changes : git add and git commit
- Share your code : git push
- Get code from remote repository : git pull
- To Work in parallel, Create branches for different tasks : git checkout -b
branch_name
33
34
Chapter 6
Continuous Integration & Delivery ( CI/CD )
35
What is CI/CD ?
- CI : Automatically test code whenever someone changes it
- CD : Automatically send the tested code to production.
36
Why It’s Useful
- Saves time and avoids mistakes.
- Example : Use Jenkins to run automated tests whenever you push code.
37
Chapter 7
Infrastructure as Code (IaC)
38
What is IaC ?
- Managing servers and configurations using code instead of manual setup.
- Example : Terraform or Ansible to deploy servers.
39
Why Use It ?
- Easier to make changes, reuse configurations, and reduce errors
40
Chapter 8
Containerization with Docker
41
What is Docker ?
- A tool to package apps with everything they need to run anywhere.
- Example : Running a PHP app in a Docker container ensures it works the
same way on any machine.
42
Why Use Docker ? : Avoid the “it works on my machine” problem
43
Why Use Docker ? : Avoid the “it works on my machine” problem
44
Docker image : Are read-only templates that contain instructions for creating a
container
45
Docker container image : is a lightweight, standalone, executable package of software that
includes everything needed to run an application : code, runtime, system tools, system
libraries and settings
46
What is Kubernetes ?
- A tool to manage many containers efficiently
- Example : Start, stop, or scale containers automatically when needed
47
View publication stats