0% found this document useful (0 votes)
16 views14 pages

Bridge Class Document

The document outlines the core principles of DevOps, which include collaboration, automation, continuous integration and delivery, feedback and monitoring, and continuous learning. It highlights the benefits of implementing DevOps, such as faster delivery, improved quality, enhanced collaboration, cost savings, and increased customer satisfaction. Additionally, it covers Git basics, Linux file management, and editors in Linux, providing a comprehensive overview of essential DevOps tools and practices.

Uploaded by

Jiya Gaba
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views14 pages

Bridge Class Document

The document outlines the core principles of DevOps, which include collaboration, automation, continuous integration and delivery, feedback and monitoring, and continuous learning. It highlights the benefits of implementing DevOps, such as faster delivery, improved quality, enhanced collaboration, cost savings, and increased customer satisfaction. Additionally, it covers Git basics, Linux file management, and editors in Linux, providing a comprehensive overview of essential DevOps tools and practices.

Uploaded by

Jiya Gaba
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

BATCH 5.

l
lo
DEVOPS

x.
BRIDGE
CLASS

le
ip
.a
w
w
w

Get more free courses at www.aiplex.lol


The Core Principles of
DevOps

l
DevOps revolves around a set of core principles that guide its implementation and practices. These principles

lo
include:
•Collaboration – DevOps encourages open communication and collaboration between development and operations
teams, fostering a culture of shared responsibility and accountability.

x.
•Automation – Automation is a cornerstone of DevOps. It streamlines processes, reduces human error, and allows for
faster delivery and improved consistency.

le
•Continuous Integration and Continuous Delivery (CI/CD) – CI/CD is the practice of automatically building, testing,
and deploying software changes to production. This approach ensures a continuous flow of high-quality software
releases.

ip
•Feedback and Monitoring – DevOps emphasizes the importance of monitoring and gathering feedback from both
technical and business stakeholders to improve processes and continuously iterate on products.

.a
•Continuous Learning and Improvement – A commitment to continuous learning and improvement is essential in a
DevOps culture. Teams should regularly evaluate their processes and tools to identify areas for growth and
optimization. w
w
w

Get more free courses at www.aiplex.lol


Benefits of Implementing DevOps in Your
Organization

l
lo
Adopting a DevOps mindset can bring about significant benefits for your organization. These include:

•Faster Delivery and Time-to-Market – DevOps practices enable quicker software releases, allowing your

x.
organization to respond more effectively to market changes and customer demands.
•Improved Quality and Reliability – Through automation, continuous integration, and testing, DevOps helps
ensure that the software delivered is of high quality, reliable, and secure.

le
•Enhanced Collaboration and Communication – DevOps fosters a culture of open communication and
collaboration, breaking down silos between teams and leading to better alignment, shared goals, and more
efficient processes.

ip
•Cost Savings – By reducing the time spent on manual tasks and streamlining workflows, DevOps can lead to
significant cost savings for your organization.
•Increased Customer Satisfaction – With faster delivery and higher-quality products, your organization can better

.a
meet customer expectations, resulting in increased satisfaction and loyalty.

w
w
w

Get more free courses at www.aiplex.lol


The Big Picture

l
lo
x.
le
ip
.a
w
w
w

Get more free courses at www.aiplex.lol


The DevOps Flow

l
lo
x.
le
ip
.a
w
w
w

Get more free courses at www.aiplex.lol


Git is not Github. Git is the version control software, and

l
Github is a git repository hosting service which offers all

lo
Click to add Title
the source code management provided in git. Github is
where you upload your git repository.

x.
Centralized Version Controlling

le
The systems such as CVS, Subversion, and Perforce
have a single server that contains all the versioned
files, and a number of clients that check out files

ip
from that central place.

.a
Distributed Version Controlling
In a DVCS (such as Git), clients don’t just check
w out inthe
• Practice latest
teams snapshot of
of 4 students
the files; rather, they fully mirror the repository, including
• Industry its full history.
expert mentoring to learn better
Thus, if any server dies, and these systems were
• Getcollaborating via that
personalised feedback for improvements
w
server, any of the client repositories can be copied back up to the server to
restore it. Every clone is really a full backup of all the data.
w

27/05/23
Get more free courses
Footer
at www.aiplex.lol 11 6
Three Stages in GIT

l
lo
The Working Tree/untracked (current state of the project ) -- git status
The Working Tree is the area where you are currently working.

x.
It is where your files live. This area is also known as the
“untracked” area of git. Any changes to files will be marked and
seen in the Working Tree

le
The Staging Area (Index) -- git add

ip
The Staging Area is when git starts tracking and saving changes

.a
that occur in files. These saved changes reflect in the .git
directory. That is about it when it comes to the Staging Area.
w
w
w

Get more free courses at www.aiplex.lol


Local Repository/Commit Region -- git commit
•git init → Create a new git repository

l
•git add “newfile” → Add a new file to your staging

lo
The Local Repository is everything in your .git directory, area
add items from your Staging Area to your Local Repository •git commit → Adds staged changes to your local

x.
repository
•git push “remote” “ branch” → Push local repository
changes to your hosting service

le
•git pull “remote” “ branch” → pull code from your
hosting service to your local directory
•git branch → See local branches

ip
•git branch “newName” → Create new local branch
•git checkout “branchName” → Switch branches
•git diff → See the actual difference in code between

.a
your working tree and your staging area
•git status → Show which files are being tracked v.
w untracked
•git log → Show recent commit history
•git show “commit_id” → show details of specific
w
commit
•git stash → stash working directory
•git help → manpages for git
w

•git help “gitCommand” → man pages for specific git


Get more free coursescommand
at www.aiplex.lol
Files Edit 1) Working tree status
Command : git status

l
Git Folder

lo
x.
le
2) The Staging Area
Command :git add

ip
Local Repository/Commit Area
Command : git commit
Git Push

.a
to Repo

w
w
w

Get more free courses at www.aiplex.lol


Linux File Management

l
In Unix, there are three basic types of files −

lo
•Ordinary Files − An ordinary file is a file on the system that contains data, •The /root directory is the home directory for the root user.
text, or program instructions. In this tutorial, you look at working with •The /dev directory contains device files such as /dev/sda.
ordinary files. •Static boot files are located in the /boot directory.
•Applications and user utilities are found in the /usr directory.

x.
•Directories − Directories store both special and ordinary files. For users
familiar with Windows or Mac OS, Unix directories are equivalent to folders. •The /var/logs directory contains log files of various system
applications.
•Special Files − Some special files provide access to hardware such as hard
•All system configuration files are stored in the /etc directory.
drives, CD-ROM drives, modems, and Ethernet adapters. Other special files

le
•The /home directory is where user folders are located. These
are similar to aliases or shortcuts and enable you to access a single file using include Desktop, Documents, Downloads, Music, Public, and
different names. Videos.
•For add-on application packages, check them out in

ip
the /opt directory.
•The /media directory stores files for removable devices such as
USB drives.

.a
•The /mnt directory contains subdirectories that act as temporary
mount points for mounting devices such as CD-ROMs.
•The /proc directory is a virtual filesystem that holds
w information on currently running processes. It’s a strange
filesystem that is created upon a system boot and destroyed
upon shutdown.
•The /bin directory contains user command binary files.
w
•The /lib directory stores shared library images and kernel
modules.
w

Get more free courses at www.aiplex.lol


Editors in Linux

Vi/Vim Editor

l
lo
Vim is a powerful command-line based text editor that has
enhanced the functionalities of the old Unix Vi text editor.

x.
$ vim (name of the file)
To start writing or editing

le
shift + i on your keyboard (“I” for insert)

ip
Nano

Nano is a newer text editor in Linux systems. It’s simpler and

.a
easier to use than vim.

$ nano (name of the file) w


w
w

Get more free courses at www.aiplex.lol


User Denotations
u user/owner

l
lo
g group
o other

x.
a all

le
ip
.a
r = read permission
w = write
w permission
x = execute
w
permission
– = no permission
w

Get more free courses at www.aiplex.lol


Absolute(Numeric) Mode in Linux
In this mode, file permissions are not represented as

l
characters but a three-digit octal number.

lo
x.
le
ip
.a
‘764’ absolute code says the following:
•Owner can read, write and execute
•Usergroup can read and write w
•World can only read
This is shown as ‘-rwxrw-r–
w
w

Get more free courses at www.aiplex.lol


AWS FUNDAMENTALS

l
lo
x.
le
ip
AWS

.a
w
w
w

Get more free courses at www.aiplex.lol

You might also like