Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Learn Amazon Web Services

My journey following this Reddit post's walkthrough on how to become a Cloud Engineer

I deployed a "Fortune of The Day" web app using AWS and Terraform, architected in three different ways: traditional, microserviced and serverless.

During my journey, I used AWS Free Tier, so most of the costs (not all) of running these labs were on the house. I highly recommend you leverage Free Tier or keep close track of the costs of running this.

Table of Contents


The architectures

In all architectures, the web app design looks like this:

All architectures...


The traditional model serves both the static assets and the fortunes, on the same servers.

This model requires the administration of every piece of the app, from the OS to the application.


The microserviced approach splits the static assets and the content in two, serving the static files from S3 and the content from our servers.

This model still requires server administration, but offloads our servers a great deal and keeps our application simpler. Instead of a full-blown web server we only have to write a RESTful API.


This is the most interesting of all. Serverless splits static assets and content too, but now the content is served from AWS Lambda, which then talks to DynamoDB.

Serverless design removes all administration tasks and leaves it to the guys at Amazon Web Services.


  1. Add your domain to Route 53 (howto)
  2. Change to the desired architecture's directory (eg. cd serverless)
  3. Run terraform init
  4. Run terraform apply

Go to (replace architecture with traditional, microservices or serverless) and with your domain (eg.

Note: (Serverless only), AWS Lambda files must be world-readable, run chmod 644 src/api/*.py if Lambda throws Permission denied errors.


  1. Run terraform destroy (inside the architecture's directory)

Once finished with the labs, I highly suggest you remove your domain name from Route 53 or else you will be charged every month (see Pricing) for a hosted zone.

Note: if destroying CloudFront distributions fails, run terraform destroy again, this is an issue with Terraform and/or CloudFront.

Further reading


☁️ My journey learning Amazon Web Services





No releases published


No packages published
You can’t perform that action at this time.