DevOps and Infrastructure · of mainframes, and mainframes started getting smaller which then...
Transcript of DevOps and Infrastructure · of mainframes, and mainframes started getting smaller which then...
DevOps and Infrastructure
3. Infrastructure
● Mainframes● Servers● Hypervisors● Virtual Machines● Containers
2.
1. DevOps
● what is DevOps?● Case Study: Netflix● Statistics● Common problems● Advantages● Mindset and tools
4.
2
What is DevOps ?
3
DevOps is a set of practices that combines software development (Dev) and information-technology operations (Ops) which aims to shorten the systems development life cycle and provide continuous delivery with high software quality.
● Not a tool
● Not a software
● Not a programming language
Case study: Netflix
● Netflix started as DVD rental business
● Introduced its online streaming offering in 2007
● In 2015 the service accounted for over 36% of downstream internet traffic in
North America
● In 2017 its users streamed a little over a billion hours of content each week
● Started moving to cloud providers in 2008, a process they finished in January
2016
● In April 2017, Netflix surpassed one million containers launched a week.
4https://amido.com/blog/a-case-study-of-devops-at-netflix/
Case study: Netflix
“Our journey to the cloud at Netflix began in August of 2008, when we experienced a major database corruption and for three days could not ship DVDs to our members. That is when we realised that we had to move away from vertically-scaled single points of failure, like relational databases in our datacenter, towards highly reliable, horizontally-scalable, distributed systems in the cloud.”
Yury Izrailevsky, VP, Cloud Computing and Platform Engineering, Netflix.
5https://amido.com/blog/a-case-study-of-devops-at-netflix/
What statistics says
● Traditional Ops are 41% more
time-consuming overall
● Traditional Ops spends an average of 7.2
hours weekly on communication
● Traditional Ops spends 21% more time
putting out fires
● DevOps spends 33% more time on
infrastructure improvements
● DevOps spends 60% less time handling
support cases
● 55% notice improved cooperation and
collaboration
● 38% report a higher quality of code
production
6https://www.upguard.com/blog/devops-success-stats
So what are we trying to solve ?
7
Common problems
8
Common problems
9
Advantages
● Faster delivery of software● Saves Time and money● More reliable systems● Happier people
10
Mindset and tools for DevOps
If you’re a Developer:
how to make your life easy?
Think of Automation
11
● what tools do you use as a developer?● how do you keep versions of your code?● how do you test a program? unit tests? integration tests?
● how do you provision your environment?● how do you deploy your app?
12
Do Open Source have something for developers ?
13
Vagrant
what is vagrant?
Vagrant is an open-source software product for building and maintaining portable virtual software development environments, e.g. VirtualBox, KVM, Hyper-V, Docker containers, VMware, and AWS. Vagrant is written in the Ruby language, but its ecosystem supports development in a few languages.
14
Vagrant
why using vagrant ?
15
Cross-platformOpen Source Declarative config file
Vagrant
who uses vagrant ?
16
Vagrant architecture
17
https://hackernoon.com/devops101-vagrant-6737c8c29904
Vagrant - sample Vagrantfile
18
Vagrant - sample Vagrantfile
19
Infrastructure
20
Early 1960s
21
Mainframes
One server (mainframe) serve one application, where IBM dominated the market
Users connected through dump terminals to the mainframe computer(Central)
Centrally located, inflexible, high cost of purchase, maintenance and support
Early 1990s
22
Servers
Demand of applications increased, so the need of mainframes, and mainframes started getting smaller which then called (servers)
Still one Application on each server
Efficient, improving server components like CPU, RAM and Storage, and networks
Servers filled the mainframes cabinets then called Data Centers
Late 1990s and early 2000
23
Hypervisors and Virtual Machines
More increase of application demand
VM started to appears on what is called (Hypervisors)
Data Centers became more efficient and more flexible
Virtualization led to Cloud computing which started with AWS
Since 2006
24https://dzone.com/articles/evolution-of-linux-containers-future
25
Data Centers evolution for Enterprise
26ServersMainframes Hypervisors and VMs Containers
Data Centers evolution
27
How much time does it take to get new servers ? (Vendors)
What about getting it ready inside Data Center ? (DC Ops)
OS level batching, monitoring, logging and alerting ? (Sys Admins)
ServersMainframes Hypervisors and VMs Containers
Config Management
28
How much time does it take now using the cloud ?
Servers Mainframes Hypervisors and VMs
Containers
Config Management
29
Config management introduced new ways and platforms for management
Config Management benefits
30
● You declare and state your desired configuration
● Allows you to define you machine state● Enables you to analyze, check and test your
configuration● Enable teams to collaborate
Do Open Source have something for System
Admins ?
31
what is Ansible?
Ansible is an open-source software provisioning, configuration management, and application-deployment tool. It runs on many Unix-like systems, and can configure both Unix-like systems as well as Microsoft Windows. It includes its own declarative language to describe system configuration.
32
Ansible - Introduction
why using Ansible ?
33
Cross-platformOpen Source Declarative config file
Ansible - Introduction
Ansible architecture
34
35
Ansible - sample inventory
36
Ansible - sample playbook
37
Thanks for listening