Let's start with the High Level Design.
The diagram below provides a visual representation of the services used in this tutorial and how they are connected. This application uses AWS Amplify, Amazon API Gateway, AWS Lambda, Amazon DynamoDB, and AWS Identity and Access Management (IAM).
As we go through the tutorial, we will discuss the services in detail and point to resources that will help you get up to speed with them.

What Do We Need?
-
AWS Amplify : A way to create/host a webpage
-
AWS API Gateway : A way to invoke the math functionality
-
AWS Lambda : A way to do some math
-
AWS DynamoDB : Somewhere to store/return the math result
-
AWS IAM : A way to handle permissions.
https://adilshaikh165.hashnode.dev/aws-serverless-application
We have successfully created a serverless APP using Amplify, API Gateway, Lambda, IAM and DynamoDB!
Let's clean up the resources we have created for this lab.
To delete the table, from DynamoDB console, select the table "PowerOfMathDynamoDb", and click "Delete table"
To delete the Lambda, from the Lambda console, select lambda "PowerOfMathFunction", click "Actions", then click Delete
To delete the API we created, in API gateway console, under APIs, select " PowerOfMathAPI" API, click "Actions", then "Delete"
Select the app "PowerOfMath", and click "Actions", then "Delete App".



