prady13 / cloud-resume-challenge

It is project to put my resume in HTML on the cloud on AWS. It is a multiple-step resume project which helps build and demonstrate skills fundamental to pursuing a career in Cloud. The project was published by Forrest Brazeal.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cloud-resume-challenge

It is project to put my resume in HTML on the cloud on AWS. It is a multiple-step resume project which helps build and demonstrate skills fundamental to pursuing a career in Cloud. The project was published by Forrest Brazeal.

Step 1: To create a S3 bucket to upload all the files of the website in the bucket. Step 1

Step 2: Since we have blocked the public access on the bucket, we need to create a cloudfront distribution and a policy so that cloudfront can access the bucket files and provide a link which will be global and public. Step 2

It will be visible as this: Screenshot 2024-02-24 at 6 43 28 PM

For this challenge we also need to use a custom DNS which people can buy through either Route 53 or several other websites. (but i did not buy a custom domain)

Step 3: We have to create a DynamoDB table which will store the views count when the website has been visited. Step 3 create the table, setting the attributes.

Step 4: We will need to create an API that accepts requests from your web app and communicates with the database. I suggest using AWS’s Lambda for this. We are not using an API gateway instead we are using fURLs provided by Lambda. Step 4 *boto3 is a library used to interact with aws services

** i used js to show a view counter on the website so everytime someone loads the page the view count increases by 1. ** the lambda function is connected to the dynamodb and we are using that function to fetch the view count from the table ** I've used python to write the lambda function code(api) ** make sure the lambda function has the permission to get the item from dynamodb table

the count is shown as below: Screenshot 2024-02-24 at 9 13 26 PM

Screenshot 2024-02-24 at 9 13 41 PM

Step 6:Now for source control we need to create a git repo and have a CI/CD front end, so that everytime we commit in git it gets pushed to the S3 bucket created on our AWS console. Screenshot 2024-02-24 at 11 06 46 PM

Lastly what can be done is not to configure your API resources – the DynamoDB table, the API Gateway, the Lambda function – manually, by clicking around in the AWS console. Instead, define them in an AWS Serverless Application Model (SAM) template and deploy them using the AWS SAM CLI. This is called “infrastructure as code” or IaC. It saves you time in the long run. Either CloudFormation or terraform can be used and its all done. :)

image

About

It is project to put my resume in HTML on the cloud on AWS. It is a multiple-step resume project which helps build and demonstrate skills fundamental to pursuing a career in Cloud. The project was published by Forrest Brazeal.


Languages

Language:CSS 39.1%Language:SCSS 35.1%Language:HTML 14.5%Language:JavaScript 11.3%