Skip to content

diidduong/aws-crc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AWS Cloud Resume Challenge

Here is my full write-up solution to the Cloud Resume Challenge (AWS version).

Check out my website and give me a feedback!

Prerequisites

Here are a few things you need to have before starting this challenge,

  1. An AWS account. If you don't have one, sign up for a free-tier account today.
  2. A Domain, you can purchase from any provider but I'd recommend buying from Amazon Route 53 because it will be easier to set up. I got mine for only $13/year.
  3. A few dollars in case AWS charges you for no reason...

1. Certification

You can skip this step, you can complete this challenge without an AWS certificate, just like me :)

2. HTML

You will need to build your Resume using HTML. I just copied what I have from my LinkedIn Resume written in Word.

3. CSS

Make it colorful! You can check out my Resume at /website/index.html. I built it using CSS, JS, and Bootstrap.

4. Static Website

Create a new S3 bucket

  1. Go to AWS S3
  2. Hit Create bucket
  3. Under General configuration, choose a bucket name, eg. diidduong-crc. Name it simple but unique because the name is global.
  4. Under Object ownership, choose ACLs enabled -> Bucket owner preferred.

You can leave the rest default, hit Create bucket. Your bucket should be created!

Upload your Resume

  1. Open your bucket
  2. Hit Upload
  3. Hit Add files
  4. Select all your Resume files
  5. Hit Upload

Turn on Static Website Hosting

  1. Open your bucket
  2. Go to Properties tab and scroll down to the bottom
  3. Under Static website hosting, hit Edit
  • Static website hosting: choose Enable
  • Hosting type: choose Host a static website
  • Index document: enter your resume filename, eg. index.html
  1. Hit Save changes

You should see a S3 URL generated, but it is not accessible because the default S3 setting blocks ALL public access. We'll use CloudFront to safely direct users to our static website.

5. HTTPS

Create a CloudFront distribution

  1. Go to Amazon CloudFront
  2. Hit Create distribution
  3. Under Origin
  • Origin domain: select your S3 URL generated in the previous step, eg. diidduong-crc.s3.amazonaws.com, leave the rest as Default
  • Origin access: select Origin access control settings (recommended), CloudFront will provide a policy for you to attach to your S3 bucket to allow CloudFront to access your S3 resources
  1. Under Viewer
  • Viewer protocol policy: select HTTPS only

Leave the rest Default, hit Create distribution. Your CloudFront distribution should be created! Open it and you will see a generated Distribution domain name which is your CloudFront URL. But you will get 403 Forbidden error if you access the url because it is a secure protocol (HTTPS) that requires an SSL certificate.

About

AWS Cloud Resume Challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published