Posts

Showing posts with the label AWS

DLQ Dashboard using React JS & Mulesoft

Image
This document talks about one of my most passionate projects  –  the DLQ Dashboard. In short, it's a user-friendly visualization of SQS FIFO Queues, capable of executing basic operations on queue messages. Its frontend is written in React JS, and the backend is coded in Mulesoft. I've polished it a lot and now it's open-source. Alright, that's enough for the introduction. Without further ado, let us jump right into the demo. I've included English Subtitles too; be sure to enable them if needed. Demo Video Now that you've seen the demo, I believe you have a good understanding of what this project is all about. If you want to take a look under the hood and setup these codes in your local environment, I've added repository URLs below. Repository URLs Frontend (React JS Code): LoveleshKalonia/DLQ-Dashboard-Frontend Backend (MuleSoft Code):  LoveleshKalonia/DLQ-Dashboard-Mule-Backend Don'...

Role-based AWS Setup for Mulesoft S3 Connector's On New Object Component (Including Local Run Setup)

Image
This document covers setting up AWS Services when using Mulesoft S3 Connector's On New Object component. We'll cover the minimum permissions required (Least-Privilege Access) by this component. The S3 Connector here is configured to use AWS IAM Role-based authentication which is only applicable for CloudHub 2.0 deployments targeted inside a Private Space. The role-based authentication is only supported by latest versions of this connector viz. 6.2.0+. The On New Object component is an event source which triggers Mule flow whenever a new file is uploaded in a S3 Bucket. It sends metadata of the uploaded file as payload. For this component to work, the S3 Bucket must have a notification configuration attached to it with destination set to an SQS Queue. In the end, we'll look over how to deploy and run such Mulesoft Application locally. Let’s begin... Pre-requisites Anypoint Studio (S3 Connector V6.2.0+) Mulesoft Anypoint Platform Account Private Space in Anypoint Platform AWS...

Mule App to Create Signed AWS API Request (Signature Version 4)

Image
This document covers a Mule Application code that publishes a message to AWS SNS Topic without using AWS Connectors. Instead, we will create a Signed AWS API Request (Signature Version 4) - Link in Dataweave and send it using a HTTP Request component. We will have an AWS SQS Queue subscribed to that SNS Topic to check the message delivery. This demo will be done in a local Windows environment. Let’s begin... Pre-requisites AWS Account. Region used in this demo is US East (Ohio) i.e., us-east-2 . IAM User part of a User Group having the following 2 permission policies attached - AmazonSQSFullAccess & AmazonSNSFullAccess . Also, assuming that you have the accessKey and secretKey of that user. SNS Topic ( Type - FIFO ) with Content-based message deduplication set to Enabled . SQS Queue ( Type - FIFO ) with Content-based message deduplication set to Enabled and Subscribed to the above said SNS Topic. Postman Anypoint Studio and Java (Be sure to verify that AnypointStudio.ini file’...