DEVOPS Capstone Projects-01
You have been Hired Sr. DevOps Engineer in Abode Software. They want to implement DevOps Lifecycle in their company. You have been asked to implement this lifecycle as fast as possible. Abode Software is a product-based company, their product is available on this GitHub link.
https://github.com/hshar/website.git
Following are the specifications of the lifecycle:
- Install the necessary software on the machines using a configuration management tool.
- Git Workflow has to be implemented.
- Code Build should automatically be triggered once commit is made to master branch or develop branch.
•If commit is made to master branch, test and push to prod.
•If commit is made to develop branch, just test the product, do not push to prod. - The Code should be containerized with the help of a Dockerfile. The Dockerfile should be built every time there is a push to Git-Hub. Use the following pre-built container for your application:
hshar/webapp
The code should reside in ‘/var/www/html’ - The above tasks should be defined in a Jenkins Pipeline, with the following jobs:
Job1 : build
Job2: test
Job3 : prod
DEVOPS Capstone Projects-02
You are hired as a DevOps engineer for Analytics Pvt Ltd. This company is a product-based organization which uses Docker for their containerization needs within the company. The final product received a lot of traction in the first few weeks of launch. Now with the increasing demand, the organization needs to have a platform for automating deployment, scaling, and operations of application containers across clusters of hosts, As a DevOps engineer, you need implement a DevOps life cycle, such that all the requirements are implemented without any change in the Docker containers in the testing environment.
Up until now, this organization used to follow a monolithic architecture with just 2 developers.
The product is present on
https://github.com/hshar/website.git
Following are the specifications of life-cycle:
- Git workflow should be implemented. Since the company follows monolithic architecture of Development you need to take care of version control. The release should happen only on 25th of every month.
- Code build should be triggered once the commits are made in the master Branch.
- The code should be containerized with the help of the Docker file, The Dockerfile should be built every time if there is a push to Git-Hub. Create a custom Docker image using a Dockerfile.
- As per the requirement in the production server, you need to use the Kubernetes cluster and the containerized code from Docker hub should be deployed with 2 replicas. Create a NodePort service and configure the same for port 30008.
- Create a Jenkins pipeline script to accomplish the above task.
- For configuration management of the infrastructure, you need to deploy the configuration on the servers to install necessary software and configurations.
- Using Terraform accomplish the task of infrastructure creation in the AWS cloud provider.