You are on page 1of 15

A PROJECT REPORT

ON

“Hosting a Static Gym Website


Using AWS S3 Service”
SUBMITTED IN PARTIAL FULFILMENT OF THE REQUIREMENT
OF THE DEGREE OF BACHELOR OF ENGINEERING
BY

Anish Bhopi (BE-C 04)


Ketan Patil (BE-C 39)
Siddhesh Ghosalkar (BE-C 14)

GUIDE:-
Prof. SWAPNIL WAGHMARE

COMPUTER DEPARTMENT
PILLAI HOC COLLEGE OF ENGINEERING AND TECHNOLOGY
MUMBAI UNIVERSITY
ACADEMIC YEAR
2020-21
CERTIFICATE

This is to certify that the project work entitled" Hosting a Static Gym Website using AWS
S3 Service" is the bonafide work of "Anish Bhopi", "Ketan Patil","Siddhesh Ghosalkar
" submitted to the university of Mumbai in partial fulfillment of the requirement for the
award of the degree of "BACHELOR OF ENGINEERING" in "COMPUTER".

Prof. Swapnil Waghmare


(Guide)

Dr. Ashok Kanthe Dr. Mathew Joseph


(Head of Department) (Principal)
DECLARATION

I declare that this written submission represents my ideas in my own words and where others'
ideas or words have been included, I have adequately cited and referenced the original
sources. I also declare that I have adhered to all principles of academic honesty and integrity
and have not misrepresented or fabricated or falsified any idea/data/fact/source in my
submission. I understand that any violation of the above will be cause for disciplinary action
by the Institute and can also evoke penal action from the sources which have thus not been
properly cited or from whom proper permission has not been taken when needed.

Anish Bhopi

Ketan Patil

Siddhesh Ghosalkar

Date :-
ABSTRACT

We are hosting a static website using Amazon S3 service. Amazon Web Services offers
a broad set of global cloud-based products including compute, storage, databases,
analytics, networking, mobile, developer tools, management tools, IOT, security, and
enterprise applications: on-demand, available in seconds, with pay-as-you-go pricing.
From data warehousing to deployment tools, directories to content delivery, over 175
AWS services are available. New services can be provisioned quickly, without the upfront
capital expense. This allows enterprises, start-ups, small and medium-sized businesses,
and customers in the public sector to access the building blocks they need to respond
quickly to changing business requirements.

This whitepaper will overview the benefits of the AWS Cloud and how static websites are
hosted with simpler and more cost-efficient approach using Amazon Simple Storage
Service (Amazon S3).

Keywords: Amazon Web Services(AWS),Amazon Simple Storage Service(S3),S3 bucket.


TABLE OF CONTENTS

SR.N TOPIC PAGE


O. NO.

1. INTRODUCTION 1

2. CLOUD COMPUTING TOOL 2

3. METHODOLOGY 3

4. IMPLEMENTATION 4

5. RESULTS 8

6. CONCLUSION 9

7. REFERENCES 10
INTRODUCTION

In 2006, Amazon Web Services (AWS) began offering IT infrastructure services to


businesses as web services—now commonly known as cloud computing. As
enterprises become more digital operations, their websites span a wide spectrum,
from mission-critical e-commerce sites to departmental apps, and from business-
tobusiness (B2B) portals to marketing sites. Factors such as business value, mission
criticality, service level agreements (SLAs), quality of service, and information
security drive the choice of architecture and technology stack.
The simplest form of website architecture is the static website, where users are
served static content (HTML, images, video, JavaScript, style sheets, and so on).
Static websites are straightforward in one sense, but they can still have demanding
requirements in terms of scalability, availability, and service-level guarantees. For
example, a marketing site for a consumer brand may need to be prepared for an
unpredictable onslaught of visitors when a new product is launched.
A static website delivers content in the same format in which it is stored. No server-
side code execution is required. Static websites can be delivered to web browsers on
desktops, tablets, or mobile devices. They usually consist of a mix of HTML
documents, images, videos, CSS style sheets, and JavaScript files.
Some examples of static sites include:
• Marketing websites
• Product landing pages
• Microsites that display the same content to all users
• Team homepages
CLOUD COMPUTING TOOLS
.

Amazon S3

Amazon Simple Storage Service (Amazon S3) is storage for the Internet. It is
designed to make web-scale computing easier for developers. Amazon S3 has a
simple web services interface that we can use to store and retrieve any amount of
data, at any time, from anywhere on the web. It gives any developer access to the
same highly scalable, reliable, fast, inexpensive data storage infrastructure that
Amazon uses to run its own global network of web sites.

S3 is Secure because AWS provides:

 Encryption to the data that you store. It can happen in two ways:
o Client Side Encryption
o Server Side Encryption
 Multiple copies are maintained to enable regeneration of data in case of data
corruption
 Versioning, wherein each edit is archived for a potential retrieval.

S3 is Durable because:

 It regularly verifies the integrity of data stored using checksums e.g. if S3


detects there is any corruption in data, it is immediately repaired with the help
of replicated data.
 Even while storing or retrieving data, it checks incoming network traffic for
any corrupted data packets.

S3 is Highly Scalable:
 since it automatically scales your storage according to your
requirement and you only pay for the storage you use.
METHODOLOGY

Create an Amazon S3 Bucket

 Sign in to the AWS Management Console .


 Under Storage & Content Delivery, choose S3 to open the Amazon S3 console....
 From the Amazon S3 console dashboard, choose Create Bucket.
 Naming bucket .
 Choose Region.
 Choose Create.

Hosting Static website with AWS S3

 Create Bucket in S3


 Give the public permissions to the S3 Bucket
 Enable Static website hosting and uploading the website to S3
 Access the webpage hosted in S3

Setting the public permissions to the S3 Bucket

 Edit S3 Block Public Access settings


 Open the Amazon S3 console.
 Choose the name of the bucket that you have configured as a static website.
 Choose Permissions.
 Under Block public access (bucket settings), choose Edit.
 Clear Block all public access, and choose Save changes.

Add a Bucket policy.

Enable Static website hosting.

Upload the website to S3.

Access the webpage hosted in S3.


IMPLEMENTATION

Creating bucket:-

Amazon S3 Service
To create a bucket

1. Sign into the AWS Management Console and open the Amazon S3 console

2. Choose Create bucket.

The Create bucket page opens.

3. In Bucket name, enter a DNS-compliant name for our bucket.

The bucket name must:

1. Be unique across all of Amazon S3.

2. Be between 3 and 63 characters long.

3. Not contain uppercase characters.

4. Start with a lowercase letter or number.

4. In Region, choose the AWS Region where we want the bucket to reside.
5. In Bucket settings for Block Public Access, keep the values set to the defaults.

6. Choose Create bucket.

7. Go to your created Bucket and upload all your website files as shown in Fig 4.1.3.

8. In Bucket Properties, To enable the Static Website Hosting Click on Edit option in
Static Website Hosting properties and make it Enable.
In the Index document write your html page name which is also your first page of the
Fig. Create Bucket

Fig. Upload all the files.


Fig. Properties

9. In Bucket Object Go to Actions and select the option of Make Public to Access the
website by other peoples.

10. Just Copy the link from index.html and you can visit your website from that link.
Fig. Static Web Hosting

Link to the Website: - http://gymjam.s3-website.ap-south-1.amazonaws.com/


RESULT

We have attached snapshots of website, one opened from machine andthe same from the
generated link.

Fig. Homepage

Fig. Membership button


CONCLUSION

Cloud storage services offer a fast and convenient way to archive and share objects of
different nature. The high-level management interface however, while guaranteeing ease of
use, hides system implementation details and performance figures. In this work we have
performed an experimental study about the performance of the cloud-to-user network for
the Amazon S3 cloud-storage service, as it is perceived by a set of home users distributed
all over the globe.
The AWS architecture is highly available and scalable, secure, and provides for a responsive
user experience at very low cost. By enabling and analyzing the available logs, you can you
understand your visitors and how well the website is performing. Fewer moving parts means
less maintenance is required.And thus We Successfully Hosted Our Website On AWS
Cloud.
REFERENCE

http://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html
https://www.researchgate.net/publication/311530769_On_the_Network_Perform
ance_of_Amazon_S3_Cloud-Storage_Service
https://docs.aws.amazon.com/AmazonS3/latest/userguide/Welcome.html
https://aws.amazon.com/blogs/aws/ten-years-in-the-aws-cloud-how-time-flies/

You might also like