Posts

Showing posts with the label ALB

Building a RAG AI Workflow with n8n, AWS ECS, Aurora PGVector Store and Amazon Bedrock

Image
Table of Contents 1. Introduction 2. Architecture 3. Create EFS File System and update ECS Task definition 4. Setup of Aurora RDS as Vector Store 5. Create Document Bucket and Setup of SNS Topic 6. Setup of Loading Document Workflow in n8n 7. Setup of RAG Workflow in n8n 8. Conclusion 1. Introduction This article builds on a previous guide for setting up an n8n AI agent in Amazon ECS. We now present a complete solution for deploying a functional Retrieval-Augmented Generation (RAG) AI agent on AWS using n8n. As noted in the previous article, n8n workflow data is lost when ECS tasks or instances in the cluster restart. To solve this, we integrate Amazon EFS to provide persistent, shared storage for n8n metadata, ensuring data durability across restarts. We use Amazon Aurora Serverless PostgreSQL with th...

Guide to Deploy Multiple WordPress Sites on EC2 with Podman

Image
Deploying Multiple WordPress Sites on EC2 Using Podman: Step-by-Step Guide Table of Contents Background Possible Architecture Setup EC2 and Podman Creating Configuration Files for WordPress and MySQL Creating Podman Compose File and Environment Variables Testing and installation of Wordpress Setting Up ACM (AWS Certificate Manager) Setting Up ALB (Application Load Balancer) Setting Up Security Group for the EC2 Conclusion and Summary 1. Background Podman is a lightweight, open-source container management tool that runs containers without a background daemon. Its efficiency and security make it ideal for deploying containerized applications on AWS EC2. It is especially good for small to medium-sized enterprises (SMEs) seeking a cost-effective solution. In this guide, I’ll use Podman to deploy multiple WordPress sites on an Ubuntu EC2 instance. Reasons to Use Podman...