Example Website Workload – AWS Elastic Container Service (AWS) with ALB, Route53 and Certificate

The below gives a simple example showing how you can deploy a containerised workload: a NGINX web server in this example which has two (or more) containers (tasks) running on AWS Fargate, presented behind a “Service” definition which is then presented to the Internet via an Application Load Balancer (ALB) where a certificate is obtained … Read more

Storing Terraform State on AWS S3 Bucket (including AWS DynamoDB for State Locking)

Building upon the example Simple Terraform Docker Example (Ubuntu Linux), we’ll store our Terraform State in AWS S3 Bucket, rather than just locally on the machine running Docker. Yes, I know its not a very useful example, but it simply illustrates the mechanism and how it can be used for more useful and complex deployments. Storing … Read more

Python: Date Time Reformatter

A simple function that takes a DateTime in the format: 2023-11-29T06:41:20-08:00 and outputs it in a much more pretty: 29/11/2023 06:41:20 -0800. As you can see its switching to the DDMMYY date format, followed by the time and finally the timezone.

VMware Ansible – Getting Started Examples

Infrastructure as Code (IaC) is managing infrastructure using a DevOps type methodology. Where the current configuration of your infrastructure is represented in code, any additions, changes or deletions are also made through this code. There are various methods to codify your infrastructure, some proprietary like AWS Cloudformation, others are generic like Ansible or Terraform. The … Read more

Docker Basics

Containerisation is an increasingly popular method to deploy and run applications on both your computer but also for enterprise applications. Containerisation essentially bundles an application’s code with all the files and libraries it needs to run. Having a layer of abstraction like this means that as long as you are running the same Operating System, … Read more