Creating my personal website has been an ongoing battle ever
since I started learning web development. I knew I wanted to
create my own website to demonstrate all of the things I
created. The first battle started with buying the domain and
finding somewhere to host it. I chose to buy my domain from
Google because they had nothing to upsell or keep marketing to
me, so I could just get the domain and then take care of hosting
wherever I wanted. After some research I saw that Amazon lets
you host a basic static website on AWS for free to very little.
So I decided I would try to host it on Amazon because it wasn't
going to be a heavily used site. That process turned out to be
way more complicated than they made it seem. Luckily I had some
background working with AWS and networking so I was able to
figure it out with some trial and error.
Basically to host a static website on AWS you need to upload the
static content to S3, which then becomes a bucket. Then you have
to configure the DNS using Route 53, and because my domain is
hosted on google I had to copy this information into my Google
Domain account so that it would use the correct DNS. The last
step was to use CloudFront to allow the website to be hosted
using Amazon's CDN and your domain is pointed to this URL.
In the end, after doing all of this my domain still wasn't live,
so I just stopped for the day. When I checked the next day it
was working, it just needed some time to configure everything
before it went live.