0% found this document useful (0 votes)
5 views

PHASE_1

This document outlines the first phase of setting up a CI/CD pipeline for an Airbnb Clone application using the PERN stack. It identifies challenges with manual deployments, emphasizes the need for automation, and specifies functional and non-functional requirements for the pipeline. The project aims to enhance deployment efficiency, code quality, and scalability through the integration of various DevOps tools.

Uploaded by

ANAND DN
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

PHASE_1

This document outlines the first phase of setting up a CI/CD pipeline for an Airbnb Clone application using the PERN stack. It identifies challenges with manual deployments, emphasizes the need for automation, and specifies functional and non-functional requirements for the pipeline. The project aims to enhance deployment efficiency, code quality, and scalability through the integration of various DevOps tools.

Uploaded by

ANAND DN
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

PHASE 1

Setting Up a CI/CD Pipeline for Automated Deployment

PHASE 1- PROBLEM ANALYSIS

College Name: HKBK College of Engineering

Group Members:

• Name: Anand DN
CAN ID Number: CAN_33661269 (Work: Application requirements, Functional and Non-
Functional requirements)

• Name: Girish NB
CAN ID Number: CAN_33821315

• Name: Gowtham N
CAN ID Number: CAN_33507377

• Name: Roopsagar K
CAN ID Number: CAN_33514186

ABSTRACT

Modern software development emphasizes automation, efficiency, and rapid delivery of applications to
production environments. This project focuses on implementing a CI/CD pipeline to automate the build,
testing, and deployment processes for a simplified Airbnb Clone application built with the PERN stack
(PostgreSQL, Express, React, Node.js).

By integrating DevOps tools, the project ensures:

• Faster and reliable deployments


• Reduced manual intervention
• Enhanced code quality

The pipeline is designed to trigger automatically upon every code push, enabling:

• Builds
• Unit testing
• Deployments to staging environments

DEVOPS ENGINEER
PHASE 1

This phase analyzes core challenges faced in manual deployments, identifies requirements, and selects
appropriate tools for an efficient CI/CD setup.

PROBLEM STATEMENT:
Consider a scenario where The Airbnb Clone aims to streamline hosting and booking accommodations.
However, the project encounters several challenges:

1. Manual Deployment Overhead


• Deploying the full stack (frontend, backend, database) manually leads to errors,
inconsistencies, and delays.
2. Lack of Automation
• The absence of automated build, test, and deployment stages slows down feature delivery.
3. Environment Management Issues
• Managing consistent deployments across staging and production environments is inefficient.
4. Scalability Concerns
• Without automation, scaling deployments for growing user demands becomes challenging.

KEY PARAMETERS IDENTIFIED

1. Deployment Challenges:
• Manual image builds and inconsistent deployments.

2. CI/CD Pipeline Inefficiency:


• Lack of automated testing and artifact storage management.

3. User Needs:
• Faster delivery of features and bug fixes.
• Streamlined, automated deployment workflows.

DEVOPS ENGINEER
PHASE 1

APPLICATION REQUIREMENTS

1. Application Structure

• Functional Requirements:

1. Implement a CI/CD pipeline using GitLab CI/CD.

2. Automate Docker image builds for frontend and backend services.

3. Deploy containerized applications to staging environments using Kubernetes.

4. Integrate unit testing to validate application stability.

• Non-Functional Requirements:

1. Consistent and repeatable deployment workflows.


2. Improved scalability and reliability.
3. Secure artifact storage and version control for deployments.

DEVOPS ENGINEER
PHASE 1

TOOLS IDENTIFIED:

Category Tools

Version Control Git

CI/CD Pipeline GitLab CI/CD

Containerization Docker

Orchestration Kubernetes

Infrastructure (IaC) Terraform

Testing Selenium/JUnit/pytest

Artifact Management Nexus/Artifactory

Package
Helm
Management

FUTURE PLAN:

1. Automating the CI/CD Pipeline

• Set up automated triggers for build, test, and deployment workflows.


• Integrate unit tests to validate changes before deployment.

2. Streamlining Kubernetes Deployment

• Use Helm charts for consistent microservice deployments.


• Implement autoscaling to handle increased user traffic.

3. Enhancing Code Quality and Security

• Integrate static code analysis tools for automated reviews.


• Implement secure artifact scanning to reduce vulnerabilities.

DEVOPS ENGINEER
PHASE 1

CONCLUSION

By setting up a CI/CD pipeline for the simplified Airbnb Clone, this project lays the foundation for
automated and scalable deployments. Integrating DevOps tools ensures:

• Efficient workflows
• Code reliability
• Faster delivery cycles

This automation allows developers to focus on feature development rather than managing deployments

DEVOPS ENGINEER

You might also like