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 images, and you’d like to automatically analyze each image as soon as it’s uploaded. Once the image is uploaded to an S3 […]
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/ In part II, here what you will learn: Configuring AWS EC2 Userdata with Terraform Setting Up VSCode SSH Configuration Utilizing Terraform Provisioners Installing Docker on EC2 before deploying Replacing […]
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 Cost Optimization is all about managing and reducing your cloud expenses while ensuring your applications run smoothly. As a DevOps and […]
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 account. Set up a Free-Tier account www.aws.amazon.com/free the private key file (.pem or .ppk) associated with the instance. Project Outline Establish SSH connection to an EC2 instance from […]
Using VPC Endpoint To Control Access To Trusted S3 Buckets

Creating an endpoint policy for S3 buckets allows you to control access to those buckets. In this lab, I will provide steps by steps of Creating an endpoint policy for S3 buckets that allows you to control access to those buckets from your VPC using an interface VPC endpoint. Background A VPC endpoint for S3, […]
Using CloudWatch Dashboards To Monitor EC2 Instance

Configuring a CloudWatch Dashboard give us views of the health and performance of all AWS resources. I will provide steps by steps of creating an EC2 instance for Windows and then configuring a CloudWatch Dashboard to get aggregated views of the health and performance information for that instance. Background Amazon CloudWatch is a monitoring and […]
AWS API Gateway explained in simple words

Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale. APIs act as the “front door” for applications to access data, business logic, or functionality from your backend services. Today’s focus is Amazon Web Services (AWS) API Gateway. Think about […]
AWS EC2 Tutorial

An EC2 instance is a virtual server in the AWS Cloud.
Creating a MySQL RDS single-AZ database instance

If you have shopped online or bought something from an ecommerce website, you have used MySQL. Background MySQL is the world’s most popular open source relational database and Amazon RDS makes it easier to set up, operate, and scale MySQL deployments in the cloud. Amazon RDS is a cloud-based managed database service that simplifies the setup, administration, […]
AWS Lambda Tutorial

Let’s have fun creating a lambda function that converts Celsius in Farenheit. image credit: aws.amazon.com Background In the simple word, Lambda run code without thinking about servers or clusters. AWS Lambda is a serverless computing service provided that allows developers to run code without provisioning or managing servers. With AWS Lambda, developers can write code […]