Skip to content

Naz513/ServerlessResumeWebsite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serverless Resume Website

Serverless Resume Website Using Cloudformation

Live Project and Blog 📚

Live Project: Serverless Resume Website Live

Blog Post: Serverless Resume Blog Post

Project Description 🎥

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.

Project Architecture 🔧

The following image displays the entire architecture developed in cloudforamtion.

Architecture

Services 🚚

The following AWS Services will be created:

  1. S3 Bucket
  2. S3 Logs Bucket
  3. ACM Certificate
  4. API
  5. APIDeployment
  6. APIStage
  7. APIUsagePlan
  8. BucketPolicy
  9. CloudFront
  10. CloudFrontOAI
  11. CodeCommitRepo
  12. CodePipeline
  13. CodePipeline Role
  14. DynamoDb Table
  15. Lambda Function
  16. Lambda Function Permission
  17. Lambda Execution Role
  18. Route 53 Config

How to Use? 📋

This template can be used by anyone to provision their serverless static wesbite with only a few clicks and information.

Prerequisites 📖

  1. User must own a domain in AWS or have trasnfered their custom domain to AWS
  2. User must not use a Root Account
  3. User must hae the rights to provision and deploy all the resources
  4. User needs to be knowdlegeable about basic YAML, Javascript, Python, HTML, CSS
  5. Must have access to root user's email for AWS certification Authorization.

Steps! 🚀

  1. Log in to AWS Console
  2. Go to Cloudformation
  3. Click on Create Stack
  4. Select With new resources
  5. Select Upload a template file
  6. Click on Next
  7. Enter a Stack Name
  8. Fill out the following Parameters
    1. S3 Configuration
    2. Back-End Configuration
    3. API Configuration
    4. Other Configuration
    5. Tags
  9. Click on Next
  10. Enter any tags if necessary
  11. Click on Next
  12. Check I acknowledge that AWS CloudFormation might create IAM resources. to allow Cloudformation to create all the necessary IAM resources
  13. Click on Create Stack
  14. After 6-7 mins, the root account will get a confirmation to verify the ACM Certificate
  15. Within 10 mins, the infrastucture will be loaded in.
  16. Click on Outputs
  17. Copy the CodeRepoURL to push your static website code

NOTE! 📝

PLEASE GO THROUGH THE CODE. THERE ARE SOME PLACES WHERE YOU NEED TO INSERT THE API MANUALY AND UPDATE CERTAIN PARTS OF THE INFRASTRUCTURE.

Cost 💰

The project can cost ~$1.50 per month and may vary depending on several factors. Best to refer back to AWS documents for pricings.

Got Questions? ❓

Feel free to email me at nsaquib96@gmail.com