0% found this document useful (0 votes)
9 views6 pages

CC Report

This project report details the deployment of a serverless web application using AWS Lambda and API Gateway, highlighting the benefits of serverless architecture such as scalability and cost-efficiency. The report outlines the implementation steps, features, advantages, challenges faced, and future enhancements for the application. Overall, it demonstrates how serverless computing allows developers to focus on functionality without managing traditional servers.

Uploaded by

Rohit Kumar
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)
9 views6 pages

CC Report

This project report details the deployment of a serverless web application using AWS Lambda and API Gateway, highlighting the benefits of serverless architecture such as scalability and cost-efficiency. The report outlines the implementation steps, features, advantages, challenges faced, and future enhancements for the application. Overall, it demonstrates how serverless computing allows developers to focus on functionality without managing traditional servers.

Uploaded by

Rohit Kumar
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/ 6

VISVESVARAYA TECHNOLOGICAL UNIVERSITY

JNANA SANGAMA, BELGAVI-590018

A PROJECT REPORT ON

“Deploying a Serverless Web Application using AWS Lambda and


API Gateway”
Submitted in partial fulfillment of the requirements for the degree of

BACHELOR OF ENGINEERING
In
COMPUTER SCIENCE & ENGINEERING
Submitted by

ROHIT KUMAR [1DB22CS130]


S PREETHAM [1DB22CS133]
SANJAY NAIK [1DB22CS142]
SHIVAM KUMAR SINGH [1DB22CS148]

Under the Guidance of:


Mrs. Geetanjali S
Assistant Professor

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

DON BOSCO INSTITUTE OF TECHNOLOGY


Kumbalgodu, Mysore Road, Bangalore - 560074
2024 -2025
SL.NO TITLE PAGE NO.
1 Abstract 1
2 Introduction 1

3 Objectives 1

4 Tools and Technologies 1

5 System Architecture 2

6 Implementation Steps 2

7 Features Implemented 3

8 Advantages of Using Serverless 3

9 Challenges Faced 3

10 Future Enhancements 3

11 Conclusion 4

12 References 4
Abstract
This project presents the deployment of a serverless web application using AWS Lambda and
API Gateway, demonstrating how serverless architecture eliminates the need to manage
traditional servers. By integrating Lambda with services like S3 (for static hosting),
DynamoDB (for database), and Cognito (for auth), the application benefits from scalability,
fault tolerance, and cost-efficiency. This report emphasizes how Serverless computing
represents a powerful cloud-native development model.

Introduction
Serverless computing, a cloud-native model, abstracts infrastructure management completely.
Developers can deploy functions directly without provisioning servers. This project uses
AWS Lambda to handle backend logic, API Gateway to route HTTP requests, and S3 for
static frontend hosting. It showcases the power of function-as-a-service (FaaS) for modern
cloud applications.

Objectives

• Understand the principles of Serverless computing

• Deploy backend using AWS Lambda and API Gateway

• Host frontend on S3 with static site support

• Integrate backend with DynamoDB for persistent storage

Tools and Technologies

• Frontend Framework: HTML/CSS/JavaScript

• Cloud Platform: AWS

• Backend (Serverless): AWS Lambda

• API Routing: AWS API Gateway

• Storage: Amazon S3

• Database: DynamoDB
• Authentication: AWS Cognito (optional)

• Version Control: GitHub

System Architecture

The architecture of the deployed application is as follows:

1. Frontend: Static site hosted on S3

2. API Gateway: Routes user requests to Lambda

3. Lambda Functions: Execute business logic

4. DynamoDB: Store application data

5. Auth (optional): Cognito for user sign-in

Implementation Steps

The deployment process involves the following steps:

1. Set up S3: Upload static frontend files and enable static site hosting

2. Create Lambda Functions: Write and deploy logic using Node.js/Python

3. Set up API Gateway: Define REST endpoints that invoke Lambda

4. CORS Configuration: Allow S3-hosted frontend to call APIs

5. Testing: Deploy and test end-to-end flow

6. Monitoring: Enable CloudWatch for logs and metrics


Features Implemented

• Stateless API using Lambda and API Gateway

• Frontend integration with backend logic

• Secure and scalable data handling with DynamoDB

• Minimal cost with pay-per-use compute model

Advantages of Using Serverless

• No Server Management: Infrastructure abstracted away

• Scalability: Functions scale automatically

• Cost-Efficiency: Pay only for execution time

• Fast Deployment: Functions can be updated independently

Challenges Faced

• Debugging Lambda locally is limited

• Initial CORS setup between S3 and API Gateway

• Managing IAM permissions for Lambda and other services

• Cold start latency during first function execution

Future Enhancements

• Add CI/CD using AWS CodePipeline

• Use Cognito for user login/signup flows

• Migrate frontend to a framework like React/Vue

• Add more granular error handling and retry mechanisms


Conclusion

Deploying a serverless web app using AWS Lambda and API Gateway showcases how
modern cloud computing can remove operational burdens. Serverless models empower
developers to focus purely on functionality, making cloud-native development faster,
scalable, and highly efficient. This project validates the viability of building full-stack
applications without provisioning a single server.

References

1. AWS Lambda Documentation: https://docs.aws.amazon.com/lambda/

2. AWS API Gateway Docs: https://docs.aws.amazon.com/apigateway/

3. AWS Serverless Application Model (SAM): https://aws.amazon.com/serverless/sam/

4. AWS S3 Hosting Guide:


https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteHosting.html

5. GitHub Sample Projects: https://github.com/aws-samples/

You might also like