r/AWSCertifications • CSAA • Mar 30 '25

This should be your first cloud project (tutorial included!)

Post image

I've recently posted about the 6 cloud projects I built after passing my AWS exam and few people asked me for tutorials for these projects. So here is a quick post about a project that I think should be the first cloud project for everyone.

Cloud Resume

Host your resume as a website on AWS with a serverless backend, built using Infrastructure as Code and automatically deploying frontend updates.

How to build this project?

StepsWhat will you do here?Tips
Frontend CodeWrite your webpage using HTML and CSS using a code editor.Create a new repo for your project and upload your frontend code to this repo using git.
Buy a domainBuy and register a domain name for your websiteYou can buy a domain from registrars like Route53, Cloudflare, BigRock. You need to spend USD 0.5 for a hosted zone in Route53 beyond the cost of your domain.
Frontend InfrastructureDeploy an S3 bucket with Terraform and upload your frontend code to this bucket. Use S3 bucket to host your static website.Hosting a static website using Amazon S3
CloudFront & Route53Now you need to setup CloudFront and Route53 with Terraform. This makes your webpage accessible with your domain. DO NOT forget to regularly push your code to your GitHub repo!Terraform docs
Backend InfrastructureDeploy a DynamoDB table with Terraform. This table is used to store the total number of visitors to your website. Note: You better have a separate GitHub repo for your backend code.Cheat sheet for DynamoDB
Python code to access DynamoDB tableYou need to write code in Python to store, access and update total visitors count in your DynamoDB table. Test your code from your local machine.Programming Amazon DynamoDB with Python and Boto3
LambdaDeploy a Lambda Function with Terraform and use your python code for this function. Work on giving the required permissions to Lambda function to access the DynamoDB table.Test your Lambda function from the AWS console.
API GatewayDeploy an http API Gateway with Terraform. This helps your website to access the data from your database. Test your API from local machine.What is an API?
Add a visitor counter to your webpageNow display total visitor count in your webpage. Use Javascript to fetch the data from your API.CORS in 100 seconds
Github ActionsNow setup a workflow in Github Actions to automatically upload your frontend code to your S3 bucket whenever you change the code and push it to your remote repo.AWS CLI command reference

Pre-requisites

ToolPurposeWhere to learn?
TerraformYou will be building this project with Terraform and not by clicking through AWS Console.[Why You NEED To Learn Terraform
GitYou save the project's codebase in GitHub and manage it through Git.CS50W - Lecture 1 - Git
Github ActionsYou automate the process of updating your website whenever you make changes to the code.GitHub Actions Tutorial - Basic Concepts and CI/CD Pipeline
Python BasicsYou need to write some Python code for handling API requests.CS50x 2024 - Lecture 6 - Python
HTML, CSS & JavascriptRequired to construct, design and build an interactive website.CS50x 2024 - Lecture 8 - HTML, CSS, JavaScript
ChatGPTThis post is only a guide and you might need more help during the project. So use your favourite LLM for help. Note: Do not blindly believe or copy paste from LLM. Write your own code and only use LLM as a guide.How to use LLMs?
AWS AccountCreate a new AWS account to enjoy free tier benefits.DO NOT forget to create a budget alert and MFA for your root and IAM users.

Congratulation on deploying your website on AWS! If you need further guidance and want to make this project more comprehensive, you may need to check the official website of this project. Please come back and comment your Cloud Resume website link once you finish this project.

Check my cloud resume here

Check my cloud resume repo here

Check my latest cloud project here

Connect with me on LinkedIn

597 Upvotes

Duplicates

• • Mar 31 '25

Các project cần làm

1 Upvotes