End To End POC To Learn DevOps & Cloud For Beginners

End To End POC To Learn DevOps

In this POC To learn DevOps, I will explain the right way to get hands-on experience on DevOps and Cloud when you don’t have a chance to work on real-time projects.

Learning tools and technologies definitely help you to take your skills to the next level. And with the vast amount of online learning resources and little hard work, you can learn any tool or technology.

My intention is to give you an overall idea of the entire application involved in a DevOps practice by creating CI/CD workflows and deploying an application on the AWS cloud.

In this series of guides, I will walk you through the entire CI/CD process

POC To learn DevOps [ Project Petclinic ]

Here is the scenario we are are going to assume.

A company named Scriptcamp wants to build a Pet Clinic application for its client.

The high level requirements for the project are

  1. The application should be built on the Java Spring MVC framework.
  2. The application should be hosted on Cloud with the following.
    1. High availability.
    2. Autoscaling for applications.
    3. Highly available database.
  3. The entire build and deploy process should be automated.

Application Architecture & Approval

Based on the client’s requirements, the application architect has designed the application architecture.

As per the client’s organizational standards, the architecture should be approved by its Enterprise architects and Enterprise security teams.

As per the process, the Application architect sets up a meeting with both Enterprise architects and Enterprise security teams to explain the architecture.

Finally, the architecture gets the signoff with few suggestions from the Enterprise teams.

And the next phase is to start the development.

Building CI/CD For Petclinic Application

Scriptcamp CTO wants the Petclinic team to follow all the DevOps principles for Pet Clinic application development and deployment.

So the project manager for the Petclinic application asks the team to come up with a list of high-level CI/CD tasks.

Following are the high level tasks that the team has come up with.

  1. Understanding application architecture & requirements.
  2. AWS cloud infrastructure design as per standard security practices.
  3. Setting up CI/CD infrastructure using Jenkins
  4. Setting up Artifact repository using Nexus
  5. Setting up Sonarqube for Static Code Analysis
  6. Setting up Hashicorp vault to store Secrets
  7. Setting up Prometheus for application monitoring.
  8. Branching strategy & Standard Practices for Development
  9. Creating Jenkins Pipeline for Continuous Integration
  10. Creating Pipeline for AMI creation using Packer & Ansible – The AMI contains the following
    1. AWS logging agent to push logs to cloudwatch
    2. Java code with Prometheus agent to capture application metrics.
  11. Develop Terraform Code to create Amazon RDS for the backend database.
  12. Develop Terraform code to Deploy autoscaling Group & Loadbalncer.
  13. Jenkins Pipeline for Code Deployment
  14. Documenting KPIs for Infrastructure and application monitoring.
  15. Monitoring and logging dashboards for applications and infrastructure.
  16. Setting up Alerting using Prometheus for application issues.
  17. Documentation of Design, workflows, and Code.
Leave a Reply

Your email address will not be published. Required fields are marked *