Experiment 5
Name : Komal Tarachandani, Prathamesh Paradkar
UID : 2021600065, 2021200084
Class : CSE - AIML
Batch : A
Aim:
Design and deploy web applications that use cloud service (ML) in the PAAS environment using
Google App Engine. Observe parameters using CloudWatch .
Theory:
PaaS (Platform as a Service) is a cloud computing service model that provides a
platform allowing developers to build, run, and manage applications without worrying
about the underlying infrastructure, such as servers, networks, or storage. It includes tools
and resources like development frameworks, databases, and middleware.
With PaaS, developers can focus on coding and deploying applications while the cloud
provider manages the infrastructure. Examples of PaaS include Microsoft Azure App
Services, Google App Engine, and Heroku.
Key benefits include:
● Reduced complexity: No need to manage hardware or software layers.
● Faster development: Pre-built components and tools speed up the development
process.
● Scalability: Easy scaling of applications based on demand.
What is AWS? Amazon Web Services (AWS) is a comprehensive and widely adopted cloud
computing platform offered by Amazon. It provides a broad range of cloud services that help
businesses, organizations, and individuals manage and deploy their computing resources and
applications. AWS offers a variety of services that fall into several categories, including
compute, storage, databases, networking, machine learning, and more.
Key Components and Services of AWS:
1. Compute Services:
○ Amazon EC2 (Elastic Compute Cloud): Provides scalable virtual servers
(instances) for running applications and workloads.
○ AWS Lambda: Allows you to run code in response to events without
provisioning or managing servers (serverless computing).
2. Storage Services:
○ Amazon S3 (Simple Storage Service): Offers scalable object storage for storing
and retrieving large amounts of data, such as files and backups.
○ Amazon EBS (Elastic Block Store): Provides block storage volumes for use
with Amazon EC2 instances.
3. Database Services:
○ Amazon RDS (Relational Database Service): Manages relational databases like
MySQL, PostgreSQL, MariaDB, Oracle, and SQL Server.
○ Amazon DynamoDB: A fully managed NoSQL database service for
high-performance and scalable applications.
4. Machine Learning and AI:
○ Amazon SageMaker: Provides tools to build, train, and deploy machine learning
models at scale.
○ AWS Rekognition: Offers image and video analysis capabilities for identifying
objects, people, and activities.
AWS (Amazon Web Services) is a prominent example of Infrastructure as a Service (IaaS). As
an IaaS provider, AWS offers a suite of cloud-based infrastructure services that allow businesses
and individuals to build, manage, and scale their IT resources without the need for physical
hardware.
Amazon EC2 (Elastic Compute Cloud) is a core service of AWS (Amazon Web Services) that
provides resizable compute capacity in the cloud. EC2 enables users to launch and manage
virtual servers, known as instances, in a scalable and cost-effective manner.
Amazon S3 (Simple Storage Service) is an object storage service provided by AWS (Amazon
Web Services) that offers scalable, durable, and secure storage for a wide range of data types.
Here’s a comprehensive overview of Amazon S3:
1. Scalability:
○ S3 automatically scales to accommodate your storage needs. You can store an
unlimited amount of data and access it anytime from anywhere.
2. Durability and Availability:
○ S3 is designed for 99.999999999% (11 nines) durability over a given year,
meaning your data is highly protected against loss.
○ Data is replicated across multiple geographically separated data centers within an
AWS region.
Services used in this website:
1. AWS S3
2. AWS Lambda Functions
3. AWS API Gateway
4. AWS DynamoDB
Experiment Steps and Output:
1. AWS DynamoDB
Using AWS DynamoDB for table called DriversInfo.
2. AWS API Gateway:
3. Lambda Functions
Get-Drivers:
Get-Score:
Add-driver Lambda Function:
4. Frontend Hosted using S3:
FINAL OUTPUT:
Conclusion:
In this experiment I understood the working of
- AWS S3
- AWS Lambda Functions
- AWS API Gateway
- AWS DynamoDB
Hence I learnt to integrate them to create a serverless backend and deploy frontend on a
url accessible to everyone. This web app was created using the 4 above services.