Skip to content

website backend using serverless lambda and other aws services

Notifications You must be signed in to change notification settings

memor24/website-backend

Repository files navigation

Architecture

new sitemap

Backend

Lambda Function

Since we use the serverless function, also known as FaaS-Function as a Service- this is a Python code for the Lambda serverless function that updates a counter when the page is viewd and stores it in a DynamoDB table like this:

my ddb

The JavaScript invokes the lambda funtion directly and shows the updated view count on the page.
Also the code for Lambda function is Dockerized and integrated via Jenkins, can be deployed to ECR for scalability.
An application loadbalancer (AWS-ALB) can also be added and further secured using a web application firewall (WAF).

Infrastructure as Code

The serverless application modeling (SAM) is used here. Other resources can be defined as Terraform code and deployed automatically.

About

website backend using serverless lambda and other aws services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published