Prometrica - AWS Deployment (Linux VPS)

AWSNetworkintermediate
Prometrica - AWS Deployment (Linux VPS) — AWS network diagram

About This Architecture

Prometrica's AWS deployment architecture runs a React/Vite SPA frontend communicating via HTTPS/REST with a NestJS API server hosted on an EC2 or Lightsail Linux VPS in a public subnet. The Nginx reverse proxy terminates TLS and routes requests to the NestJS application, which uses Prisma ORM to query either a local PostgreSQL database on the VPS or Amazon RDS as a managed alternative. This single-VPS pattern with flexible database options suits small-to-medium workloads prioritizing simplicity and cost control over multi-AZ redundancy. Fork this diagram to customize subnet ranges, swap database backends, or add the optional S3 bucket for PDF reports and file uploads. The architecture demonstrates pragmatic AWS deployment for startups balancing operational overhead with managed service benefits.

People also ask

How do I deploy a full-stack Node.js application with React frontend on AWS EC2 or Lightsail with TLS termination and PostgreSQL?

Prometrica's architecture shows a React/Vite SPA communicating via HTTPS to an Nginx reverse proxy on an AWS EC2/Lightsail VPS in a public subnet. The Nginx proxy terminates TLS and forwards requests to a NestJS API server, which uses Prisma ORM to query PostgreSQL—either local to the VPS or managed via Amazon RDS. This pattern balances simplicity and cost for startups.

AWSEC2NestJSPostgreSQLNginxVPC
Domain:
Cloud Aws
Audience:
AWS solutions architects deploying full-stack Node.js applications on EC2/Lightsail

Generated by Diagrams.so — AI architecture diagram generator with native Draw.io output. Fork this diagram, remix it, or download as .drawio, PNG, or SVG.

Generate your own network diagram →

About This Architecture

Prometrica's AWS deployment architecture runs a React/Vite SPA frontend communicating via HTTPS/REST with a NestJS API server hosted on an EC2 or Lightsail Linux VPS in a public subnet. The Nginx reverse proxy terminates TLS and routes requests to the NestJS application, which uses Prisma ORM to query either a local PostgreSQL database on the VPS or Amazon RDS as a managed alternative. This single-VPS pattern with flexible database options suits small-to-medium workloads prioritizing simplicity and cost control over multi-AZ redundancy. Fork this diagram to customize subnet ranges, swap database backends, or add the optional S3 bucket for PDF reports and file uploads. The architecture demonstrates pragmatic AWS deployment for startups balancing operational overhead with managed service benefits.

People also ask

How do I deploy a full-stack Node.js application with React frontend on AWS EC2 or Lightsail with TLS termination and PostgreSQL?

Prometrica's architecture shows a React/Vite SPA communicating via HTTPS to an Nginx reverse proxy on an AWS EC2/Lightsail VPS in a public subnet. The Nginx proxy terminates TLS and forwards requests to a NestJS API server, which uses Prisma ORM to query PostgreSQL—either local to the VPS or managed via Amazon RDS. This pattern balances simplicity and cost for startups.

Prometrica - AWS Deployment (Linux VPS)

AWSintermediateEC2NestJSPostgreSQLNginxVPC
Domain: Cloud AwsAudience: AWS solutions architects deploying full-stack Node.js applications on EC2/Lightsail
0 views0 favoritesPublic

Created by

April 15, 2026

Updated

April 15, 2026 at 5:24 PM

Type

network

Need a custom architecture diagram?

Describe your architecture in plain English and get a production-ready Draw.io diagram in seconds. Works for AWS, Azure, GCP, Kubernetes, and more.

Generate with AI