DEV Community

Cover image for How to expose a private React App running on ECS Fargate via AWS API Gateway
amlan
amlan

Posted on

How to expose a private React App running on ECS Fargate via AWS API Gateway

Modern cloud architectures often require keeping application workloads private while still making them accessible to end users over the internet. AWS provides a powerful combination of services to achieve this — running containers privately on ECS Fargate, fronting them with an internal Application Load Balancer, and exposing them securely through API Gateway using a VPC Link.

In this blog, we will walk through deploying a Next.js React application as a private ECS Fargate task and exposing it to the internet via an AWS API Gateway HTTP API. All infrastructure is provisioned using Terraform, making it repeatable and easy to adapt to your own projects.

For more details: https://amlana21.medium.com/how-to-expose-a-private-react-app-running-on-ecs-fargate-via-aws-api-gateway-970d12bf3c15

Top comments (0)