Creation of a Dynamic website using AWS S3, API gateway and lambda functions
To host this Todo app, follow the below steps:
-
Clone following GitHub repository: https://github.com/Reyano132/AwsDynamicWebsite
-
Create an S3 bucket in your account and upload DyanamicSiteCreation.json, index.html, error.html, script.js, and crudOnDB.zip.
-
In cloud formation UI, create a stack and pass the location of the site creation cloudformation template(DyanamicSiteCreation.json).
-
In input parameters, pass the name of you bucket in which you stored all the above files as SourceS3Bucket, and in DestinationS3Bucket, pass the name of the bucket in which you want to host your site.

-
As we are creating new IAM roles for resources, check the checkbox that comes in before the submission.
-
After the creation of this stack, you'll get the website URL in the output tab.


