Feature #7144
openDispatchHub - Backend Deployment, Email (SES), and Worker Queue Setup
100%
Description
(In Progress): This task covers the next execution phase of DispatchHub focused on deploying the backend application to AWS and enabling core production services.
1. Backend Deployment on EC2
SSH access to the dedicated backend EC2 instance.
Install Node.js (LTS) and required system dependencies.
Deploy backend application code on the server.
Configure runtime environment variables (non-secret values only).
Run database migrations against Aurora PostgreSQL.
Start backend service using PM2 for production process management.
Verify backend health endpoint and stability.
2. AWS SES Email Setup
Configure AWS SES in us-east-1 region.
Verify sender email for sandbox usage.
Attach required SES permissions to backend IAM role.
Perform initial test email delivery.
Prepare for later transition from sandbox to production (domain, SPF/DKIM/DMARC).
3. SQS Queue and Worker Service Setup
Create SQS queue for dispatch job processing.
Configure visibility timeout and dead-letter queue.
Attach required SQS permissions to worker IAM role.
Deploy worker service to consume SQS messages.
Start worker process using PM2.
Validate end-to-end dispatch execution (UI → SQS → Worker → SES).
Outcome Expected
Backend API running reliably on EC2.
Secure connection to Aurora PostgreSQL.
Email sending functional via SES.
Background dispatch processing operational via SQS worker.
Status
In progress – backend deployment and service enablement phase.
Subtasks
Related issues