Serverless Resume Website Using Cloudformation
Live Project: Serverless Resume Website Live
Blog Post: Serverless Resume Blog Post
Developed a website to display my resume on a serverless architecture infrastructure using the power of AWS Cloudformation. The Infrastrcuture code can be used to deploy any static website. Entire infrastructure is deployed on AWS and deploys within 10 mins.
The following image displays the entire architecture developed in cloudforamtion.
The following AWS Services will be created:
- S3 Bucket
- S3 Logs Bucket
- ACM Certificate
- API
- APIDeployment
- APIStage
- APIUsagePlan
- BucketPolicy
- CloudFront
- CloudFrontOAI
- CodeCommitRepo
- CodePipeline
- CodePipeline Role
- DynamoDb Table
- Lambda Function
- Lambda Function Permission
- Lambda Execution Role
- Route 53 Config
This template can be used by anyone to provision their serverless static wesbite with only a few clicks and information.
- User must own a domain in AWS or have trasnfered their custom domain to AWS
- User must not use a Root Account
- User must hae the rights to provision and deploy all the resources
- User needs to be knowdlegeable about basic YAML, Javascript, Python, HTML, CSS
- Must have access to root user's email for AWS certification Authorization.
- Log in to AWS Console
- Go to Cloudformation
- Click on Create Stack
- Select With new resources
- Select Upload a template file
- Click on Next
- Enter a Stack Name
- Fill out the following Parameters
- S3 Configuration
- Back-End Configuration
- API Configuration
- Other Configuration
- Tags
- Click on Next
- Enter any tags if necessary
- Click on Next
- Check I acknowledge that AWS CloudFormation might create IAM resources. to allow Cloudformation to create all the necessary IAM resources
- Click on Create Stack
- After 6-7 mins, the root account will get a confirmation to verify the ACM Certificate
- Within 10 mins, the infrastucture will be loaded in.
- Click on Outputs
- Copy the CodeRepoURL to push your static website code
PLEASE GO THROUGH THE CODE. THERE ARE SOME PLACES WHERE YOU NEED TO INSERT THE API MANUALY AND UPDATE CERTAIN PARTS OF THE INFRASTRUCTURE.
The project can cost ~$1.50 per month and may vary depending on several factors. Best to refer back to AWS documents for pricings.
Feel free to email me at nsaquib96@gmail.com