Deploy Static website to AWS S3, CloudFront, Route53 using CloudFormation template

Make sure you have installed python and python packages in requirements.txt
Python using for upload files to s3
Region is your region for example region='us-east-1'
-
Define your project name that in src folder, For example
project_name="financial-service-web" -
Define your bucket name, For example
bucket_name="financial-service.your-website.com" -
Define your hosted zone name, For example
hosted_zone_name="s3-financial-service-website" -
Define your stack name, For example
stack_name="s3-financial-service-website"
# chmod +x run.sh
# ./run.sh
Configuration in cloudformation template based on your own specific needs
- Go to s3-cloudformation.yaml
-
Config cloudfront and pass through assess from cloudfront to s3
-
Fix cloudfront certificate issues (Try US East (N. Virginia) us-east-1))
-
Display output from Route53 DNS to console
-
Improve sh scripts dynamically deploy project