You are on page 1of 15

DEPLOY STATIC WEBSITE ON ANY CLOUD

A Project Report

Submitted by
NANDINI JHA (21BCS7662)
in partial fulfillment for the award of the degree of

BACHELOR OF ENGINEERING
IN

COMPUTER SCIENCE ENGINEERING

Chandigarh University

April 2024
BONAFIDE CERTIFICATE

Certified that this project report “DEPLOY STATIC WEBSITE ON


ANY CLOUD” is the bonafide work of “NANDINI JHA” who carried
out the project work under my/our supervision.

SIGNATURE SIGNATURE

Dr Sandeep Sing kang Er. Pooja Bharti

HEAD OF THE DEPARTMENT SUPERVISOR

Submitted for the project viva-voce examination held on

INTERNAL EXAMINER EXTERNAL EXAMINER


ACKNOWLEDGEMENT

I take this occasion to thank God, almighty for blessing us with his grace
and taking our endeavour to a successful culmination. First and foremost,
we would like to express our gratitude to our project supervisor, Assistant
Prof Parveen Kumar Saini, who was a continual source of inspiration and
for providing us with the right guidance and advice at the crucial
junctures and for showing me the right way. Many thanks go to the whole
lecturer and supervisors who have given their full effort in guiding the
team in
achieving the goal as well as their encouragement to maintain our
progress in track. Last but not the least, I would like to thank my friends
and family for the support and encouragement they have given me during
the course of our work.

Nandini jha
Table of Contents

List of Figures ......................................................................................................... 1

Abstract ……………………………………………………………………………2

CHAPTER 1. INTRODUCTION .......................................................................... 3


1.1. Identification of Client/ Need/ Relevant Contemporary issue ................... 3
1.2. Identification of Problem .............................................................................. 3
1.3. Scope ................................................................................................................ 4
1.4. Timeline ........................................................................................................... 5
1.5. Organization of the Report ............................................................................ 6

CHAPTER 2. DESIGN FLOW/PROCESS ........................................................ 8


2.1. Evaluation & Selection of Specifications/Features ...................................... 8
2.2. Design Constraints ......................................................................................... 9
2.3. Analysis of Features and finalization subject to constraints ...................... 10
2.4. Design Flow ..................................................................................................... 11
2.5. Features selection ........................................................................................... 12
2.6. Implementation plan/methodology .............................................................. 14

CHAPTER 3. RESULTS ANALYSIS AND VALIDATION ........................... 16


3.1. Algorithm ....................................................................................................... 16
3.2. Screenshots of the UI of the app .................................................................. 18

CHAPTER 4. CONCLUSION AND FUTURE WORK .................................. 24


4.1. Conclusion .................................................................................................... 24
4.2. Future work ................................................................................................. 24

REFERENCES ................................................................................................... 26
List of Figures:

Fig 1 - Gant Chart pg 5


Fig 2 - Diagrammatic Flowchart pg 9
Fig 3 - Xml code of the application pg 17
Fig 4 – Java code of the application pg 18
Fig 5 – Home Page pg 18
Fig 6 pg 19
Fig 7 pg 19
Fig 8 pg 20
Fig 9 pg 20
Fig 10 pg 21
Fig 11 pg 21
Fig 12 pg 22
Fig 13 pg 22
Fig 14 pg 23

1
Abstract
This project aims to provide a detailed guide on deploying a static website on various
cloud platforms. With the increasing popularity of cloud services for hosting websites,
understanding the process of deploying a static site on these platforms is crucial for
web developers and IT professionals. The project will cover key concepts such as
selecting an appropriate cloud provider, preparing the static website files, configuring
domain settings, setting up SSL certificates for security, optimizing performance
through content delivery networks (CDNs), and managing scalability and backups.

The guide will include step-by-step instructions, best practices, and practical tips to
ensure a successful deployment. Additionally, it will address common challenges
faced during deployment and troubleshooting techniques. By following this guide,
readers will gain a solid understanding of deploying static websites on cloud
platforms, empowering them to leverage the scalability, reliability, and flexibility of
cloud services for their web projects.

2
CHAPTER 1

INTRODUCTION

1.1. Identification of Client /Need / Relevant Contemporary issue:

 In today's digital landscape, businesses and individuals alike are increasingly


turning to cloud-based solutions for hosting their websites. The client in this
context could be any organization or individual looking to establish an online
presence or migrate an existing website to a cloud platform. The need arises
from the advantages offered by cloud hosting, such as scalability, reliability,
and cost-effectiveness.

 A relevant contemporary issue driving the deployment of static websites on


cloud platforms is the demand for high-performance, globally accessible web
experiences. With users accessing websites from various devices and
locations, ensuring fast loading times and minimal downtime is crucial. Cloud
providers offer infrastructure and services tailored to meet these requirements,
making them an attractive choice for hosting static websites.

1.2. Identification of Problem

 Choosing the right cloud provider can be challenging due to the multitude of
options available, each offering different features, pricing models, and
performance levels. Evaluating factors such as scalability, reliability, security,
and support is crucial but can be time-consuming and complex.

 Setting up the infrastructure and configuring the cloud environment for


hosting a static website requires technical expertise. Issues such as configuring
domain settings, managing SSL certificates, setting up content delivery
networks (CDNs), and optimizing performance can be daunting for those
unfamiliar with cloud technologies.

3
1.3. Scope

 Evaluate and choose a suitable cloud provider based on factors such as


performance, reliability, scalability, security features, pricing, and
geographical presence.
 Set up the necessary infrastructure components on the chosen cloud platform,
including virtual machines, storage solutions, networking configurations, and
security measures.
 Configure domain settings to point to the cloud-hosted static website,
including DNS management, domain registration, and SSL certificate
installation for secure HTTPS connections.

1.4 Timeline

4
1.5 Organization of the Report

Chapter 1: Executive Summary


 Brief overview of the report's contents
 Key findings and recommendations
Chapter 2: Introduction
 Background information on static website deployment
 Importance of cloud hosting for static websites
 Objectives of the report
Chapter 3: Cloud Provider Evaluation
 Criteria for selecting a cloud provider
 Comparison of leading cloud providers
 Justification for choosing a specific provider
Chapter 4: Infrastructure Setup
 Overview of infrastructure components (virtual machines, storage,
networking)
 Step-by-step guide to setting up infrastructure on the chosen cloud
platform
Chapter 5: Static Website Preparation
 Guidelines for preparing static website files
 Best practices for optimizing website performance
 Integration of content delivery network (CDN)

This structured organization will help you present the deployment process of a static
website on any cloud platform in a logical and comprehensive manner, covering all
essential aspects for your audience.

5
CHAPTER 2

DESIGN FLOW/PROCESS

2.1. Evaluation & Selection of Specifications/Features

 Ability to scale resources (such as virtual machines, storage, and bandwidth)


based on traffic demands.
 Auto-scaling capabilities to handle sudden spikes in traffic without manual
intervention.

 High-speed content delivery through global data centers and edge locations.

 Integration with Content Delivery Networks (CDNs) for optimized content


distribution.

 High uptime and availability SLAs (Service Level Agreements) to ensure the
website is accessible at all times.

 Redundancy and failover mechanisms to minimize downtime during server


failures.

 Robust security features, including firewall configurations, DDoS protection,


and intrusion detection/prevention systems.

 SSL/TLS encryption support for secure data transmission (HTTPS).

 Transparent pricing models with clear breakdowns of costs for compute,


storage, bandwidth, and additional services.

 Cost-saving options such as reserved instances, spot instances, and usage-


based billing.

2.2. Design Constraints

 Cloud providers often impose limits on resources such as CPU, memory,


storage, and bandwidth. Designing the website architecture to stay within
these limits is crucial for optimal performance and cost-effectiveness.

 Budget constraints may limit the choice of cloud services and configurations.
Designing cost-effective solutions, optimizing resource usage, and leveraging
cost-saving options are essential considerations.

6
 Compliance requirements (e.g., GDPR, HIPAA, PCI DSS) may impose
constraints on data storage, encryption, access controls, and auditing.
Designing the website infrastructure to comply with relevant regulations is
paramount.

 Constraints related to maintenance windows, downtime allowances, and


update schedules may impact the deployment and management of the static
website. Designing for minimal disruption during maintenance and updates is
important.

2.3. Analysis of Features and finalization subject to constraints

 Review the design constraints such as resource limits, budget constraints,


security compliance, geographical considerations, technology stack
compatibility, scalability limits, backup and recovery constraints, third-party
integrations, maintenance requirements, and user experience constraints.

 Prioritize constraints based on their impact and criticality to the project. For
example, security compliance and scalability limits may be high-priority
constraints, while user experience constraints may have a lower priority.

 Evaluate the features offered by different cloud providers and map them to the
identified constraints. Consider how each feature addresses or aligns with the
constraints.

 Based on the analysis, finalize the features that best meet the project's
requirements while adhering to constraints. Consider factors such as
scalability, performance, security, compliance, cost-effectiveness, and ease of
management.

2.4 Design flow

 Determine the specific requirements of the static website, including content


structure, design elements, functionality, and performance expectations.

 Evaluate and choose a suitable cloud provider based on factors such as


scalability, performance, security, compliance, cost-effectiveness, and
geographical presence.

 Design the architecture of the cloud deployment, including virtual machines,


storage solutions, networking configurations, and security measures.

7
 Prepare the static website files, including HTML, CSS, JavaScript, images,
and other assets. Optimize files for performance and compatibility with the
cloud environment.

2.5. Features selection

 Choose a cloud platform that offers scalable resources such as virtual


machines, storage, and bandwidth. Look for features like auto-scaling to
handle traffic spikes and ensure optimal performance.

 Ensure the cloud provider offers high availability and reliability with SLAs
(Service Level Agreements) for uptime. Features like redundancy, failover
mechanisms, and data replication contribute to reliability.

 Look for features that optimize website performance, such as content delivery
networks (CDNs), caching mechanisms, content compression, and load
balancing.

 Prioritize security features such as firewall configurations, DDoS protection,


SSL/TLS encryption, access controls, and regular security audits. Compliance
with industry standards and regulations is also important.

 Choose a cloud platform with transparent pricing models and cost


management tools. Look for cost-saving options like reserved instances, spot
instances, and usage-based billing optimizations.

2.6. Implementation plan/methodology

 Define the scope of the project, including the specific requirements, goals, and
expected outcomes of deploying the static website on a cloud platform.

 Evaluate and select a cloud provider based on factors such as scalability,


performance, security, compliance, cost-effectiveness, and geographical
presence.

 Design the architecture of the cloud deployment, including virtual machines,


storage solutions, networking configurations, security measures, and
scalability options.

 Prepare the static website files, including HTML, CSS, JavaScript, images,
and other assets. Optimize files for performance and compatibility with the
cloud environment.

8
CHAPTER 3

RESULT ANALYSIS AND VALIDATION

3.1. Algorithm

 Identify the specific requirements of the static website, including content,


design, functionality, performance, security, and compliance.

 Evaluate and choose a cloud provider based on factors such as scalability,


reliability, performance, security, cost-effectiveness, and geographical
presence.

 Design the architecture of the cloud deployment, including virtual machines,


storage solutions, networking configurations, security measures, and
scalability options.

 Prepare the static website files, including HTML, CSS, JavaScript, images,
and other assets. Optimize files for performance and compatibility with the
cloud environment.

 Configure domain settings to point to the cloud-hosted static website. Set up


SSL certificates for secure HTTPS connections.

3.2. Screenshots of the website (any 1)

9
CHAPTER – 4

CONCLUSION AND FUTURE WORK

4.1. Conclusion

 We thoroughly analyzed and identified the specific requirements of the static


website, including content, design, functionality, performance, security, and
compliance.

 After careful evaluation, we selected a suitable cloud provider based on factors


such as scalability, reliability, performance, security, cost-effectiveness, and
geographical presence.

 We designed the architecture of the cloud deployment, including virtual


machines, storage solutions, networking configurations, security measures,
and scalability options.

 We provided training to stakeholders on managing and maintaining the cloud-


hosted static website, offering ongoing support and assistance for
troubleshooting and updates.

 We conducted thorough testing of the deployed static website to ensure


functionality, performance, security, and compatibility across devices and
browsers.

4.2. Future Work


 Explore advanced performance optimization techniques such as server-side
caching, asynchronous loading of resources, and code minification to further
improve website speed and responsiveness.

 Implement additional security measures such as Web Application Firewall


(WAF) integration, vulnerability scanning, and penetration testing to
strengthen website security and protect against emerging threats.

 Continuously monitor resource usage and analyze cost patterns to identify


opportunities for cost optimization. Explore options such as reserved
instances, spot instances, and cost-effective storage solutions to reduce hosting
expenses.

 Enhance content delivery strategies by optimizing CDN configurations,


leveraging multi-CDN setups for redundancy, and implementing edge caching
to improve content delivery worldwide and reduce latency for global user

10
REFERENCES: -

[1]https://developer.android.com/studio/releases#android_gradle_plugin_and_android
_studio_compatibility

[2] https://stackoverflow.com/questions/67782975/how-to-fix-the-module-java-base-
does-not-opens-java-io-to-unnamed-module

[3] https://issuetracker.google.com/issues/186806275?pli=1

[4] https://youtu.be/qKlN0Uraino?si=mbO6KGnPMbMAprYM

[5] https://docs.gradle.org/current/userguide/compatibility.html

[6] https://ijarsct.co.in/Paper391.pdf

[7] https://stackoverflow.com/questions/73809328/what-does-build-number-mean-
for-the-app-store

11

You might also like