Lately, I’ve been dabbling in certain AWS technologies to get more familiar with them. In order to motivate me, I decide turn this into a tiny little side project: a Buddhist website hosted on AWS. The website is: http://d2v9nihdwts0ru.cloudfront.net/ I have been too lazy and cheap to buy a proper, easy to read domain name yet. 😏
Anyhow, my goal was to make a simple, static website (wanted to refresh my HTML skills a bit), and build like so:
- Upload contents to S3. They’re just images, PDFs and static HTML docs anyway.
- Host using Cloudfront so I could play around with CDNs. My website would get such low, low traffic, that hosting on a CDN wouldn’t cost me very much. Obviously it gets more experience as sites get popular.
- With this setup, every time I upload my content to the S3 bucket, the site just updates accordingly.
- Plus, using such a bland, simple setup, security is much easier to manage.
The goal was to deploy all this using CDK, Amazon’s automation kit for building resources without having to build and manage everything manually. I followed some of the Amazon CDK tutorials on AWS Training,1 and played around a bit until I got a working example as shown above.
For now, the site doesn’t do much, and I haven’t figured out what a good direction for it is, but there it is. The amazing results of my learning CDK, and some basic AWS tech. 🤷🏽♂️
1 Despite having tried it twice, I haven’t found the CDK Workshop very helpful. Using the seminars in AWS Training has been more useful to me.