CCL Mini Project

Download as pdf or txt
Download as pdf or txt
You are on page 1of 14

Mini Project Report on

“Web Hosting”

Submitted in partial fulfillment of the requirements of the degree


BACHELOR OF ENGINEERING IN COMPUTER ENGINEERING

By

Aditya Mangesh Shinde 51


Akash Sunil Shinde 52
Rhugved Arunoday Shinde 53
Sahil Ravindra Shinde 54

Supervisor:
Prof. R. B. Pawar

DEPARTMENT OF COMPUTER
ENGINEERING Gharda Institute of
Technology
A/P: Lavel, Tal: Khed, Dist: Ratnagiri, 415708
Mumbai University
[2023-24]

MINI PROJECT [Computer Engineering Gharda Institute Of Technology 1


CERTIFICATE
This is to certify that the Mini Project entitled

“Web Hosting”

is a bonafide work of

Group Members Roll No.

Aditya Mangesh Shinde 51

Akash Sunil Shinde 52

Rhugved Arunoday Shinde 53

Sahil Ravindra Shinde 54

submitted to the University of Mumbai in partial fulfillment of the

requirement for the award of the degree of “Bachelor of Engineering” in

“Computer Engineering”.

(Prof. R.B.Pawar)
Supervisor

MINI PROJECT [Computer Engineering Gharda Institute Of Technology 2


INDEX

Sr.No Content Page No.

1 Acknowledgment 4

2 Abstract 5

3 Introduction 6

4 Software required 7

5 Procedure 8

6 Output 9

7 Conclusion 12

8 Future Scope 13

9 References 14

MINI PROJECT [Computer Engineering Gharda Institute Of Technology 3


ACKNOWLEDGMENT

It is a matter of great pleasure for us to get this opportunity to expressing

our sincere sense of gratitude of following. This project is all about “Web

Hosting Using EC2,S3” and our guide Prof. R. B. Pawar help us to know and

make this project successfully. We understand the designing, structure and

development of our project under their guidance.

MINI PROJECT [Computer Engineering Gharda Institute Of Technology 4


ABSTRACT
Web hosting using EC2,S3 service of AWS is a highly scalable and flexible solution for
hosting websites and web applications. This report provides an overview of the
hardware and software options available on EC2, as well as the benefits and best
practices for web hosting using EC2.

EC2 instances can be customized with a wide range of hardware and software
options, including multiple instance types, operating systems, and software packages.
EC2 instances can be launched and managed using the AWS Management Console,
the AWS CLI, or the EC2 API, and can be integrated with other AWS services for a
complete, secure solution for computing, query processing, and cloud storage across
a wide range of applications.

Web hosting using EC2 provides several benefits, including high availability,
scalability, and security. EC2 instances support auto-scaling, which allows users to
automatically adjust the number of instances based on traffic demand, ensuring high
availability and scalability. Security is a top priority for AWS, and EC2 instances
provide several security features such as IAM roles, security groups, and network
ACLs to help protect web applications and websites from unauthorized access.
Best practices for web hosting using EC2 include optimizing instance types and sizes
for specific workloads and applications, using load balancing and auto-scaling to
ensure high availability and scalability, and implementing security features such as
IAM roles, security groups, and network ACLs.

MINI PROJECT [Computer Engineering Gharda Institute Of Technology 5


INTRODUCTION

Web hosting is an essential aspect of any online presence, as it allows individuals


and businesses to make their websites accessible to users around the world.
However, managing a web server can be a complex and time-consuming task,
requiring expertise in areas such as network security, server maintenance, and
software updates.

To address these challenges, many organizations turn to cloud-based web hosting


solutions, which offer scalability, reliability, and ease of use. Among the various
cloud hosting providers, Amazon Web Services (AWS) is a popular choice, thanks
to its robust infrastructure and wide range of services.
In particular, AWS's Elastic Compute Cloud (EC2) service has become a go-to
solution for web hosting, offering a flexible and scalable platform for running web
applications and websites. With EC2, users can quickly launch and manage virtual
servers, known as instances, and take advantage of features such as automatic
scaling, load balancing, and security management.
This report will provide an overview of web hosting using EC2 service of AWS,
including its key features, benefits, and best practices. We will also explore some
real-world use cases and case studies to illustrate the potential of EC2 for web
hosting.

Whether you are a small business owner looking to launch a new website, a
developer seeking a reliable platform for hosting your web applications, or an IT
professional responsible for managing your organization's web infrastructure, EC2
offers a powerful and versatile solution for web hosting on the cloud.

MINI PROJECT [Computer Engineering Gharda Institute Of Technology 6


Software required
● AWS Free Tier Account
● AWS S3
● AWS EC2
● Apache(HTTPD)

MINI PROJECT [Computer Engineering Gharda Institute Of Technology 7


PROCEDURE
1. Create your Free Tier AWS account.
2. First all create a zip folder of all the files of your website.
3. Go to AWS $3 service
4. Create a bucket with a unique name of your project and upload the zip folder you
created,
5. Now change the permission of the bucket to make it publicly accessible.
6. Create an EC2 instance with your preferred name of the project.
7. Add new security rules to allow access through all IP addresses
8. Once the Extension). EC2 instance is running, launch it in Secure Shell (Google
9. Configure your instances using this command sudo su

sudo yum update


10. Now for hosting the website we will need Apache to host it. So we will install Apache
asing the following command.

sudo yum install httpd


11. To start the Apache service type the command: systemctl start httpd
12. To enable the service type: systemctl enable httpd
13. Now check the status of the service using: systemctl status httpd
14 Now to actually host the website we need to upload the file to a specific directory of
apache service Le. /var/www/html/ changing the directory to get the object from the
S3 bucket type the
15. After command: wget <url of the S3 object? 16. After the object is install into the
EC2 instance, unzip the file using the command: unzip folder_name.zip
17. After the file is unzipped move the unzipped file using: mv folder/*. 18. Then start
the Apache Service using: systemctl start httpd
19. Enter the IP address of the EC2 in your browser and the website will open.

MINI PROJECT [Computer Engineering Gharda Institute Of Technology 8


OUTPUT

MINI PROJECT [Computer Engineering Gharda Institute Of Technology 9


MINI PROJECT [Computer Engineering Gharda Institute Of Technology 10
MINI PROJECT [Computer Engineering Gharda Institute Of Technology 11
CONCLUSION

In conclusion, web hosting using EC2 service of AWS provides a highly


scalable and flexible solution for hosting websites and web applications. With
a wide range of hardware and software options, EC2 instances can be
customized to meet the specific needs of each use case, providing optimal
performance and cost-effectiveness.
EC2 instances can be launched and managed using the AWS Management
Console, the AWS CLI, or the EC2 API, and can be integrated with other AWS
services for a complete, secure solution for computing, query processing, and
cloud storage across a wide range of applications.

Security is a top priority for AWS, and EC2 instances provide several security
features such as IAM roles, security groups, and network ACLs to help protect
web applications and websites from unauthorized access.

EC2 instances also support auto-scaling, which allows users to automatically


adjust the number of instances based on traffic demand, ensuring high
availability and scalability. Overall, EC2 provides a powerful and flexible
platform for web hosting, with a wide range of hardware and software options,
integration with other AWS services, and features such as auto-scaling and
load balancing. By using EC2 for web hosting, users can benefit from high
availability, scalability, and security, while also enjoying the flexibility and
cost-effectiveness of cloud computing.

MINI PROJECT [Computer Engineering Gharda Institute Of Technology 12


FUTURE SCOPE

1. The project has scope of improvement using Elestic IP allocation. An Elastic IP


address is a static, public IPv4 address designed for dynamic cloud computing. You can
associate an Elastic IP address with any instance or network interface in any VPC in
your account.

2. This project can be further totally enhanced by using Amazon Elastic Beanstalk.
Amazon Elastic Beanstalk is a fully managed cloud platform that makes it easy to
deploy and run applications on popular programming languages such as Java, NET,
PHP, Node.js, Python, Ruby, and Go. Elastic Beanstalk simplifies the process of
deploying and scaling web applications by automatically handling the deployment
details, such as capacity provisioning, load balancing, and automatic scaling.

3. Allocating your own domain name instead of an IP address to your website. The
service of giving a domain name is available in AWS. This will provide with the benefit of
easily remembering the url of the website, provide professionalism to the brand, and
flexibility.

MINI PROJECT [Computer Engineering Gharda Institute Of Technology 13


REFERENCES

1.https://docs.aws.amazon.com/ype/latest/userguide/vpc-cips.html
2. https://docs.aws.amazon.com/ec2/2jcmpid_docs_homepage_compuls
3. https://www.youtube.com/watch?v=qIHek9RF_10
4. https://d1.awsstatic.com/whitepapers/aws-web-hosting-best practices.pdf
5. https://aws.amazon.com/websites/

MINI PROJECT [Computer Engineering Gharda Institute Of Technology 14

You might also like