Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kaviara-14/aws-serverless-web-application
Hosted a Serverless web Application and deployed to CloudFront as a content delivery network (CDN) for secure access over HTTPS
https://github.com/kaviara-14/aws-serverless-web-application
apigateway awsserverless cloudfront dynamodb lambda
Last synced: 4 days ago
JSON representation
Hosted a Serverless web Application and deployed to CloudFront as a content delivery network (CDN) for secure access over HTTPS
- Host: GitHub
- URL: https://github.com/kaviara-14/aws-serverless-web-application
- Owner: kaviara-14
- Created: 2024-08-08T01:12:48.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-10T01:41:09.000Z (3 months ago)
- Last Synced: 2024-08-10T03:36:09.478Z (3 months ago)
- Topics: apigateway, awsserverless, cloudfront, dynamodb, lambda
- Language: HTML
- Homepage:
- Size: 36.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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