Voting Application Using AWS Services
To Build a Serverless Voting APP using AWS Cloud Services.
Services used are AWS - Lambda, Dynamo DB, API Gateway, and S3.
Learning how to put together a serverless Lambda web app using API Gateway, DynamoDB, and S3.
Serverless computing is a method of providing backend services on an as-used basis. A serverless provider allows users to write and deploy code without the hassle of worrying about the underlying infrastructure. A company that gets backend services from a serverless vendor is charged based on their computation and does not have to reserve and pay for a fixed amount of bandwidth or number of servers, as the service is auto-scaling. Note that despite the name serverless, physical servers are still used but developers do not need to be aware of them.
In the early days of the web, anyone who wanted to build a web application had to own the physical hardware required to run a server, which is a cumbersome and expensive undertaking.
Lambda: AWS Lambda is a serverless compute service that runs your code in response to events and automatically manages the underlying compute resources for you. These events may include changes in state or an update, such as a user placing an item in a shopping cart on an e-commerce website.
DynamoDB: Amazon DynamoDB is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability. You can use Amazon DynamoDB to create a database table that can store and retrieve any amount of data, and serve any level of request traffic.
Simple Storage Service(S3): Amazon Simple Storage Service (Amazon S3) is an object storage service offering industry-leading scalability, data availability, security, and performance.
API Gateway: API is the acronym for Application Programming Interface, which is a software intermediary that allows two applications to talk to each other.
Step 1: Create a Table in AWS Dynamo DB. set up DynamoDB
Step 2: Create Lambda Function. Set up a Lambda function
Step 3: IAM
Step 4: API Gateway. Configure API gateway
Recommended by LinkedIn
Step 5: Create an s3 bucket. Set up s3 bucket
Step 6: Trigger DynamoDb to Lambda
Finally the serverless Voting Application
and here is the link for my serverless application
http://votingdemoappsports.s3-website-us-east-1.amazonaws.com/
It might not open now, because I have deleted all the instances.
Conclusion:
The sports Voting Application Architecture that Displays the Results on AWS Cloud using DynamoDB, Lambda Function S3 Bucket.
Thank you!!!
Great Vyshnavi Chalichama
Good Work
Excellent