Here is my full write-up solution to the Cloud Resume Challenge (AWS version).
Check out my website and give me a feedback!
Here are a few things you need to have before starting this challenge,
- An AWS account. If you don't have one, sign up for a free-tier account today.
- 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.
- A few dollars in case AWS charges you for no reason...
You can skip this step, you can complete this challenge without an AWS certificate, just like me :)
You will need to build your Resume using HTML. I just copied what I have from my LinkedIn Resume written in Word.
Make it colorful! You can check out my Resume at /website/index.html. I built it using CSS, JS, and Bootstrap.
- Go to AWS S3
- Hit
Create bucket
- Under General configuration, choose a bucket name, eg. diidduong-crc. Name it simple but unique because the name is global.
- Under Object ownership, choose ACLs enabled -> Bucket owner preferred.
You can leave the rest default, hit Create bucket
. Your bucket should be created!
- Open your bucket
- Hit
Upload
- Hit
Add files
- Select all your Resume files
- Hit
Upload
- Open your bucket
- Go to
Properties
tab and scroll down to the bottom - 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
- 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.
- Go to Amazon CloudFront
- Hit
Create distribution
- 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
- 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.