Introduction to DevOps
DevOps
- What is it?
Consider a developer creates an app called Instagram.com on their laptop. Then Operations team will deploy the app on some other device in phone, server. Developer doesn't know where the operations team will deploy the app and operations team doesn't knew for which code do we need to deploy? In order to solve this problem a person who require is a DevOps. DevOps helps the collaboration between two teams (developer and operation team).
DevOps is a mindset or culture or methodology which helps to deploy an app using it's own automation, principles. Operations team are those who know how to build the infrastructure which defines that how to deploy an app in a server.
Developer develops the code and DevOps engineer takes that code, build and test the code. There are lot of tools to do this kind of things:-
- Why we are learning this?
We can learn that how we can automate our day to day tasks. We can learn different things like deployment, continuous integration, infrastructure, automation etc.
- How can I become DevOps Expert?
Learn the courses from end to end.
Now let's learn about tools:-
Jenkins
It creates a CI CD pipeline which maintains between developer and operations. Here we are doing automate.
Kubernetes
If your code breaks then we can do auto healing. Consider you are watching match on Hotstar and Dhoni hits a six, lot of viewers get increased and server got stretched. If Dhoni gets out, then lot of people won't see the match. It is called as auto scaling.
AWS
It is a cloud service provider. We can create a server.
Docker
Developer says that the code is running on my machine but it is not working on your machine. To solve this issue, we require Docker. Used to build the code. It creates a container or a box where it puts the code and we can run the app on any machine.
Ansible
You can write configuration once and you can run same configuration on different systems and anytime. It is like a configuration management tool.
Terraform
It is a Terraform which is also known as Infrastructure as a Code. You can create a server using this tool.
GitHub
Here the developer will put their code and DevOps engineer takes the same code from here itself.