Definition
DevOps is a cultural transformation where you're going to bring the dev, operations and security team together avoiding the wall of confusion, so that the team will have a better collaboration in the company to deliver the software to the customer.
We're doing all these to achieve the main 3 KPI (Key Performance Indicator) -
1. Velocity - It means how often you're releasing the changes to your customer.
2. Quality - Better Quality means reduction in the Production Issues compared to before. If Production issues are same, then there's something wrong in the whole transformation.
3. MTTR (Main Time To Recover) - Time taken to bring back a service from the outage to your customer. Recently we've seen many big companies facing this downtime issue but all of them recover quickly.
Why DevOps is needed? Or what is the biggest advantage of DevOps?
It allows faster development of new products and easier maintenance of existing deployments. Continuous releases are done with better quality and efficiency. Here you minimize the risks, ensure compliance, reduce costs.
Here's the DevOps Lifecycle -
How does DevOps reduce the costs?
- By reducing the Downtime.
- By Moving to the cloud. Instead of using traditional servers, investing a good amount in infrastructure and maintenance, we now pay to Cloud Providers like AWS, Azure, GCP in a 'Pay as you use' model. Cloud Providers take care of the infrastructure.
DevOps Lifecycle -
Plan a thing you would like to create as a piece of software.
Once, you've the idea of how its going to be structured , you write the code.
After coding is done, you build the software, if its a compiled language you compile it.
Once tests proves that everything is exactly how you expect it to be, you can move to the release part.
Release cycle starts with deployment , now code which is packaged , as a thing can run on Internet.
Deploy it on server , and you make it available for everyone.
Operation refers to actual running of your application.
Monitoring is where, we track the application, Rate at which things work, Rate at which things don't work and any other metrics in which we are interested in.