Simple Code to create a Serverless Website for Contact Me!
Following is the architecture flow with detailed guidance.
In the above diagram, the customer is submitting their inquiry through a “contact us” form, which is hosted in an Amazon S3 bucket as a static website. Information will flow in three simple steps:
- Your “contact us” form will collect all user information and post to Amazon API Gateway restful service.
- Amazon API Gateway will pass collected user information to an AWS lambda function.
- AWS Lambda function will auto generate an e-mail and forward it to your mail server using Amazon SES.