Skip to content

Hosted a Serverless web Application and deployed to CloudFront as a content delivery network (CDN) for secure access over HTTPS

Notifications You must be signed in to change notification settings

kaviara-14/AWS-Serverless-Web-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Serverless-Web-Application

Hosted a web application using Amazon S3 buckets with static website hosting and configured API Gateway to trigger Lambda functions for handling GET and POST requests, which interact with a DynamoDB database for data operations. Additionally, I set up CloudFront as a content delivery network (CDN) to serve the S3 content securely over HTTPS, ensuring both enhanced performance and security for the application.

AWS Services : CloudFront, S3, Lambda, DynamoDB, API Gateway, IAM

Project Description

1. Setting up an S3 Bucket

We'll start by creating an Amazon S3 bucket to store and host the static files for our web application. This includes HTML, CSS, and JavaScript files that make up the frontend of our application. S3 will provide a scalable and reliable storage solution for serving these static assets.

2. Configuring API Gateway

Next, we'll set up Amazon API Gateway to create and manage API endpoints that will interface with our Lambda functions. We'll configure both GET and POST methods to interact with a DynamoDB database, enabling the frontend to perform operations such as retrieving and submitting data.

3. Creating Lambda Functions

We'll develop AWS Lambda functions in Python to handle the API requests initiated by API Gateway. These functions will be responsible for interacting with the DynamoDB database, performing operations like retrieving data and inserting new entries based on the requests received.

4. Working with DynamoDB

We’ll establish a DynamoDB table to store our application data. This involves defining the table schema (such as partition keys and attributes) and learning how to execute CRUD (Create, Read, Update, Delete) operations using the Lambda functions we’ve created. DynamoDB will serve as the backend database for storing and managing our data.

5. Implementing Secure Connections with CloudFront

To secure our web application and enhance its performance, we'll use Amazon CloudFront as a content delivery network (CDN). CloudFront will be configured to serve the content from our S3 bucket over HTTPS, ensuring encrypted connections and improving the loading speed of our website through distributed caching.

6. Final Output

About

Hosted a Serverless web Application and deployed to CloudFront as a content delivery network (CDN) for secure access over HTTPS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published