Skip to main content
ECS Fargate is the recommended way to deploy Hyperterse on AWS. It runs containers without managing servers, provides auto-scaling, and integrates natively with Secrets Manager, CloudWatch, and Application Load Balancers.

Prerequisites

You need the AWS CLI configured with credentials that have permissions for ECR, ECS, and Secrets Manager. You also need Docker installed for building images.

Deploy to ECS Fargate

1

Build the artifact

2

Create a container image

Use the Docker deployment patterns to create your Dockerfile. Then build and tag the image:
3

Push to ECR

Create a repository and push the image:
4

Store credentials in Secrets Manager

5

Create the task definition

Register it:
6

Create the ECS service

RDS integration

Connect to Amazon RDS for managed PostgreSQL or MySQL. Create the instance in the same VPC as your ECS tasks, and ensure the ECS security group allows inbound traffic to the database port. Update your Secrets Manager secret with the RDS endpoint:

Load balancer

For HTTPS and better traffic distribution, create an Application Load Balancer with a target group pointing to your ECS service on port 8080. Use the /heartbeat endpoint for health checks.

EKS alternative

For Kubernetes-based deployments on AWS, create an EKS cluster and follow the Kubernetes deployment guide. Push your image to ECR and reference it in your Kubernetes manifests.