Projects

Installing NGINX, MySQL, PHP and WordPress on Ubuntu

In this project I will install WordPress on Ubuntu 20.04. To complete that I will first install NGINX, then PHP, MySQL, and finally WordPress.   Background NGINX is the fastest growing and most...

Writing Terraform Tests

Terraform tests allow you to verify your module configurations without impacting your existing state or resources. Testing in Terraform is separate from the regular plan or apply workflows. Instead...

Creating EKS Cluster using Terraform Modules

In this short lab, I will show you how to create an EKS Cluster properly using Terraform. Usually, I’d create a `main.tf` file and put all the resources needed to set up your EKS cluster in one place...

Using Boto3 to Manage AWS IAM with Python Scripts

In this tutorial, I will show you how Boto3 can be used to directly interact with AWS resources from Python scripts. If you’re looking to master AWS with Python, Boto3 will be your go-to library. It’s...

Cost Management for AWS CI/CD Infrastructure using Python and Lambda

In this tutorial, I will show you how to streamline CI/CD Cost Management with Python Scripts and AWS Lambda. Scenario Consider your DevOps team using a development lab for application testing, where...

Automating Image Analysis in a photo-sharing application with AWS Lambda, S3, Rekognition, and DynamoDB using CDK and Python

This short tutorial is the perfect example of how to use CDK with Python to automate a workflow. Read below for more details. Scenario You have a photo-sharing application where users can upload...

Deploying a dynamic E-commerce Website on AWS Using Terraform

In this short tutorial, I will show you how to deploy an ecommerce website on AWS, how Terraform helps you quickly build and maintain a strong, reliable platform that can grow with your business...

Troubleshooting Terraform: Use Terraform Modules To Address Common Issues

In this short tutorial, I will show you how to use Terraform modules to troubleshoot common issues when building AWS infrastructure. Specifically, we’ll address leap and bounds issues to ensure a...

Building a DEV environment on AWS using Terraform — Part II

In this second part, I will install Docker on AWS EC2 before deploying. If you have not read PART I yet, please check it out: https://cloudwithdj.com/building-a-dev-environment-on-aws-using-terraform/...

Building a DEV environment on AWS using Terraform – Part I

In this short tutorial, I will create a secure and isolated AWS environment for developers, accessible through Remote SSH for streamlined workflow and enhanced security. Scenario My manager asked me...

Implementing AWS Cost Optimization

In this short tutorial, I’ll set up a Lambda function to help you save on storage costs by finding and deleting EBS snapshots that aren’t connected to any active EC2 instances. Background AWS Cloud...

How to troubleshoot connecting to AWS EC2 instance

This brief tutorial demonstrates how to establish SSH connections to an EC2 instance using MobaXterm, particularly useful for troubleshooting purposes. Pre-requisite For this project, you need: an AWS...