0% found this document useful (0 votes)
20 views3 pages

Task Submission

Uploaded by

udaysarker904
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)
20 views3 pages

Task Submission

Uploaded by

udaysarker904
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/ 3

Task 1:

Prepare a detailed plan for serving an ecommerce web application (like evaly) which is using
self managed vmware instance. The plan should cover below aspects :
• Automated deployment with Jenkins based CI/CD pipeline
• Vulnerability testing and response within the pipeline
• Environment needs to be secured with appropriate network appliances
• LAN based networking, which should include
o Access control requests
o Segragation of access to store portal and admin portal.
§ Store portal or public application will accessible from any network
§ Admin portal should be accessed from local or private network
o VPN tunneling to securely connect with external systems and integrate
• Environment configuration using ansible for maintaining environmental integrity
• Infrastructure deployment using terraform for better scalability
• Applications will include databases of different spectrum like RDBMS(MySQL,
• PostgreSQL, MariaDB), NoSQL(MongoDB, CosmosDB, CouchDB), In-Memory(Redis)
o Must have clustering for high availability
o Must ensure scalability
o Can pick any from each type but all must be included
• Network shared storage will be used for both OS and data storage.
• Both application attachments and database data must be kept secure and multiple backup
needs to be ensured. Data needs to be treated with ZERO FAULT TOLERANT manner.
o Backup methodology and plan for both criteria needs to be mentioned

Plan for Serving an E-commerce Web Application


1. Automated Deployment with Jenkins CI/CD Pipeline

• CI/CD Pipeline Setup: Use Jenkins to automate the deployment of e-commerce


application.
• Pipeline Stages:
o Build Stage: Build the code.
o Test Stage: Test code during build.
o Deploy Stage: Deploy the application to a testing server for final testing.
o Release Stage: Deploy the application to the production server.

2. Vulnerability Testing and Response

• Integrate Security Tools: Integrate tools like SonarQube, OWASP ZAP, and Snyk
into the CI/CD pipeline.
• Automated Scans: Perform vulnerability scans during the build process.
• Response Plan: Define a process to get vulnerability scan result output.

3. LAN Based Networking

Ensure secure local area network setup.

• Access Control: Implement strict access control policies.


• Segregation of Access:
o Store Portal: Accessible from any network.
o Admin Portal: Accessible only from local or private networks.
• VPN Tunneling: Use VPN for secure connections to external systems.

4. Environment Configuration with Ansible


Use Ansible to automate and manage environment configurations.

5. Infrastructure Configuration with Terraform


Deploy and manage infrastructure using Terraform for scalability and consistency.

6. Database Management

• Multiple Database Types:


o RDBMS: MySQL, PostgreSQL, MariaDB.
o NoSQL: MongoDB, CosmosDB, CouchDB.
o In-Memory: Redis.
• Clustering and Scalability: Ensure all databases are clustered for high availability
and scalability. Galera Cluster can be used for MySQL, PostgreSQL or MariaDB
database clustering.

7. Storage Solutions

• Network Shared Storage: Use network-attached storage for both OS and data
storage to enhance accessibility and reliability.

8. Data Backup and Security

• Data Backup: Implement a robust backup strategy with multiple backup instances.
• Zero Fault Tolerance: Ensure data integrity and availability by treating data with
zero fault tolerance.

9. Backup Methodology

• Regular Backups: Schedule regular automated backups. Veeam Backup &


Replication can be used to backup VMware VMs.
• Offsite Storage: Store backups offsite to protect against local failures.
• Disaster Recovery Plan: Have a clear disaster recovery plan in place.

Task 2 :
Create CI/CD pipeline using Jenkins. Deploy application using a Tomcat server. The deployment
should have multiple environments like test and production. The configuration will vary based on
the environment. Use reverse proxy to serve the application. Identify different environment
deployments using different subdomains such as dev.devops.local, test.devops.local.
Create CI/CD Pipeline Using Jenkins and Deploy
Application Using Tomcat Server

1. Set Up Jenkins

• Install Jenkins and necessary plugin.


• Configure Jenkins to pull code from the GitHub repo.

2. Configure Pipeline

• Define pipeline stages for build, test and deploy.

3. Deploy Application

• Set up Tomcat server.


• Deploy application to Tomcat server.

4. Set Up Reverse Proxy

• Configure Nginx for reverse proxy.

5. Testing and Production

• Deploy application on testing server.


• Perform testing.
• Deploy application on production server.

6. Monitor and Maintain

• Continuously monitor the application and infrastructure.


• Regularly update and maintain the CI/CD pipeline and environment configuration.

You might also like