DevOps: An Introduction
Abhishek Shrivastava
FinOps Cloud Specialist at TCS, 4*GCP, 2*Azure ,1*AWS, GEN AI Badge, MCT-Microsoft Certified Trainer , MST, AWS Community Builders, MIE Expert , Oracle AI Cloud associate, TCS Gold Certified Mentor
Learn the basic concepts of DevOps. You will also learn the benefits of using DevOps practices in your application.
What is DevOps?
DevOps is essentially cultural philosophies, practices, and tools to help deliver your applications and services and tools to your huge number of users.
Benefits of DevOps
Benefits of DevOps
Rapid Delivery?Increase the frequency and pace of releases so you can innovate and improve your product faster.
Reliability?Ensure application updates and infrastructure changes so you can deliver at a more rapid pace.
Scale?Operate and manage your infrastructure and development processes at scale.
Speed?Innovate for customers faster, adapt to changing markets better, and grow more efficient
Better Collaboration?Build more effective teams under a DevOps cultural model, which emphasizes values such as ownership and accountability.
Security?Move quickly while retaining control and preserving compliance.
Understanding DevOps
Tools used in DevOps
Tools used in DevOps DevOps stands for:
There are 8 phases in DevOps as follows:
1. Plan?The planning phase involves a shorter goal planning. A scrum or agile planning is a better choice. The various tools you use are:
Source Code Management (SCM) Tools
Unit Test Case Libraries – depends on the language
领英推荐
There are various build tools: Maven, Ant, SBT, etc
Various types of testing are: Manual testing, Unit testing, Integration testing, Stress testing
Tools: xUnit, Selenium, Scripts
To ensure completeness, we use code coverage tools like Cobertura.
Tools like Jenkins are used for release. Also, Apache Maven repositories are also used for releasing the binaries.
Newer tools such as Docker and Kubernetes help scale infinitely and instantaneously.
Docker and Kubernetes are used in testing also these days in Continuous Integration.
8.?Monitor?We also need to monitor the various system resource consumptions such as Nagios.
We must also monitor the various logs and errors being thrown by the system. See: Apache Logging System
Visualization tools such as Grafana are used to represent metrics.
DevOps Practices
DevOps Practices
Continuos Integration?It refers to the build and unit testing stages of the software release process. Every code commit triggers an automatic workflow that builds the code and tests the code. It helps in finding and addressing bugs quicker.
Continuous Delivery?It automates the entire software release process. Continuous Delivery extends the Continuous Integration. Every code-commit triggers an automatic workflow that builds the code (Continuous Integration). Tests the code and (Continuous Integration). Then deploys the code to staging and then to production.
Microservices?Design single application as a set of small services. Each service runs its own process. Each service communicates with other services through a lightweight mechanism like REST APIs. Microservices are built around business capabilities. Each service caters to a single business purpose.
Infrastructure as Code?Infrastructure is provisioned and managed using Code and Software development techniques such as Version control and Continuous integration. This helps developers and system admins to manage infrastructure at scale. Without worrying about manually setting up and configuring the servers and resources.
Monitoring and Logging?Monitor metrics and logs to see how the application and infrastructure are performing. Taking necessary actions to fix the bottlenecks.