-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDevOps_Intro.txt
More file actions
490 lines (267 loc) · 10.2 KB
/
DevOps_Intro.txt
File metadata and controls
490 lines (267 loc) · 10.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
DevOps Cloud Expert Training Programme!
#############################
Start Date : 13th July 2024
Time : 10AM - 2PM IST
Weekends
#############################
~~~~~~~~~~~~~~~~~~~~~~~~
Day 1: 13th July 2024
~~~~~~~~~~~~~~~~~~~~~~~~
Introduction to DevOps Cloud Expert Training Programme!
Modules
Topics
Open Source DevOps Tools
Cloud Computing
AWS
AZURE
GCP
Lab Access :::
Module 1 : DevOps Specialist :::
Scripting :::
shell/Python/Groovy/Yaml
DevOps ::::
What is DevOps ????
SDLC - Software Development Lifecycle
Software :::
Types of Software Application ::
Web Applications -->
Mobile Applications
Desktops Applications
System Applications
Embedded Applications
SDLC - Software Development Lifecycle :
Requirement Analysis
Documented/Design
Code/Develop
Testing
Implementation to Production
Maintain/Monitor the Applications/Infra-Structure
Waterfall-Model ::
- Is based on the Tightly Coupled Applications
i.e., All the the functions/modules are created, tested and implemented as a whole application.
- It strictly follows the Linear/Top-Down Approach
Desktops Applications ::
Billing-System for Super-Markets
--> Stock Maintainence --> module/function
--> Purchase
--> Billing
--> Reports
--> Payment --> CASH Payment method
CARD Payment Mode
Core Project :
Requirement Analysis ---> 10 Months
Documented/Design
Code/Develop --> 5th Month
Testing
Implementation to Production
Maintain/Monitor the Applications/Infra-Structure
Enhancement Project : CARD Payment Mode
Requirement Analysis ---> 10 Months
Documented/Design
Code/Develop --> 5th Month
Testing
Implementation to Production
Maintain/Monitor the Applications/Infra-Structure
AGILE Methodologies ::::
Here, the Application is developes as an individual Module
Desktops Applications ::
Billing-System for Super-Markets
--> Stock Maintainence --> module/function
--> Purchase
--> Billing
--> Reports
--> Payment --> CASH Payment method
CARD Payment Mode
Requirement Analysis
Documented/Design
Code/Develop
Testing
Implementation to Production
Maintain/Monitor the Applications/Infra-Structure
Module/Function/Iteration :
Iteration1 : Stock Maintainence
Requirement Analysis
Documented/Design
Code/Develop
Testing
Implemented for further Testing
Iteration2 : Purchase
Requirement Analysis
Documented/Design
Code/Develop
Testing
Implemented for further Testing
Iteration3 : Billing
Requirement Analysis
Documented/Design
Code/Develop
Testing
Implemented for further Testing
Iteration-nth : CARD Payment developer 1
Requirement Analysis
Documented/Design
Code/Develop
Testing
Implemented for further Testing
-> Using Agile Methodologies;
We can achieve :
Continuous Development
Continuous Integration
Continuous Testing
Continuous Delivery
- It is used to release the product to production environment with proper approval.
- For any production release, manual approval is required in AGILE Methodologies.
We cannot achieve :
Continuous Deployment
DevOps :::::
DevOps is a software development strategy, which is used promote collaboration between the teams like Development Team and Operations Team to achieve Continuous Development, Continuous Integration, Continuous Testing, Continuous Delivery, Continuous Deployment and Continuous Monitoring in more automation fashion.
How to Implement DevOps ?
Banking Customer :
- Detailed DevOps Assessment
--> Assessment Report ::::
Teams involved in the overall SDLC Process ::
DevOps Team :
- Infra-Structure Management Team
- Application Development Team - Core
- Testing Team
- Release Management Team
- Production Support / Monitoring Team
- Security Team
Environments :::
Non-Prod Environments =====> Production Environments
Dev Environment
Build Environment
Test Environments
QA - Quality Assurance Testing
UAT - User Acceptance Testing -----> Production Server(s)
DevOps Stages :::
Continuous Development :::
-> It is capability of the development team to continuously develop the code and improve the Developers' productivity.
Role of the Developers :
Create the source code
Build the source code ---> Compile the source code and create artifacts - Binaries (*.war/*.jar/*.exec/*.dll)
Unit Testing
Promote the Change to Test Environments
Notify the Testing Teams
Using DevOps Approach :::
1. Create the source code
2. Save the source code in the source code repository (github/Azure Repo)
Using DevOps Automation ::
Build the source code ---> Compile the source code and create artifacts - Binaries (*.war/*.jar/*.exec/*.dll)
Unit Testing
Promote the Change to Test Environments
Notify the Testing Teams
Tools ::
IDEs - Integrate Development Environment - Eclipse based IDEs, Visual Studio Code, Visual Studio, Pycharm, Intellij
GITHUB
Continuous Integration :::
-> It is capability of the development team to continuously integrate the change for further testing without impacting others' changes.
Tools ::
IDEs - Integrate Development Environment - Eclipse based IDEs, Visual Studio Code, Visual Studio, Pycharm, Intellij
GITHUB
Jenkins, Ansible
Docker, Kubernetes
Continuous Testing :::
-> It is the capability of the Testing Team to continuously test the services covering all the test scenairos.
Tools :
Jenkins
TestNG/Selenium
Continuous Delivery/Deployment :::
--> Both are related to Production Release.
--> Both are used to release the changes to production environment
Continuous Delivery ::
- This expect the Manual Approval for production Release
- This might lead to production downtime
Eg.:
Core Banking / Insurance Applications
Create a Deployment/Release Window - 4Hrs - 6Hrs.
Production Implementation
Manual Approval
--> v1.0 ==> v2.0
fix the issue else revert
Continuous Deployment ::
- This will never expect any manual approvals for production release.
- This will never create any downtime during production Deployments.
- The Continuous Deployment can be achieved only through the Micro-Service Based Application Architecture.
Eg.:
facebook/google/amazon/netflix
www.amazon.com
user_signup - Micro-Service1 - developer1 - code_changes -- test, promote the changes for further testing(QA/UAT) -- Production Released
user_signin - Micro-Service2
search
Address_Update
Add_to_cart
MakePayment
Confirm_Order
Trace_order
Tools :
Jenkins/Azure Pipelines/
Ansible
Docker
Kubernetes
Continuous Monitoring ::: - Production Support/Monitoring Team
Infra-Structure ::
Production Server(s)
CPU Utilization 80%
Memory Utilization 80%
Network Traffic 10000 users --> 50000 users
Monitoring Tools :
Prometheus/Grafana/Nagios/Splunk/Dynatrace
AWS Cloud Watch
Azure Monitor
Application Monitoring ::
Performance of the Applications
Database
Program Calls
AppDynamics/DataDog
Infra-Structure Management::
IAC Tools --> Infra-Structure As Code
- Server Provision/Creation Tools -- Terraform/Cloudformation/ARM
- Configuration Management Tools -- Ansible/Chef/Puppet
Implementation ::
On-premises Servers
On any Cloud platform - AWS/AZURE/GCP/
DevOps Tools :
Open-Source DevOps Tools
git/github/jenkins/docker/ansible/terraform/kubernetes/Prometheus/Grafana
Managed Services : AWS/AZURE
AWS : AWS Code-Commit/Code-Pipeline
Azure : Azure DevOps Services
DevOps :::::
DevOps is a software development strategy, which is used promote collaboration between the teams like Development Team and Operations Team to achieve Continuous Development, Continuous Integration, Continuous Testing, Continuous Delivery, Continuous Deployment and Continuous Monitoring in more automation fashion.
Types of Applications :::
- Monolith Application Architecture
- Is the Tightly Coupled Applications
- All the the functions/modules are created, tested and implemented as a whole application
- Leads to Downtime during production release
- Micro-Service Based Application Architecture
- Is a Loosely Coupled Application
- The Function/Modules are called as Micro-Service.
- These micro-service can be independly developed, tested and implemented without any downtime
Waterfall,AGILE,DevOps,DevSecOps,GitOps,SRE,AIOps,MLOps,...........
DevOps LifeCycle :::
Developers
Coding
Commit the code to Repository(GITHUB)
Build
Unit Testing
Promote the code to QA Environment
QA Testing
Promote the Code to UAT Environment
UAT Testing
Promote the Code to Prod Environment
Prod Testing
Application will be LIVE
Production Monitoring
DevOps is all about Continuous Improvement
--> Key DevOps Factors ::
- People
- Process
- Tool
Lab :::
1. Cloud Platform :::
AWS Cloud Platform - 12 Months - free tier Account
- Create Virtual Machines - Linux
2. GITHUB Account ::: ****
Repository to manage Folders and Files
3. Create Dockerhub Account :::