This guide explains how to deploy A2 OnPrem on Amazon Web Service (AWS).
Clusters
> Create Cluster
menu, you will see the following screen:
Cluster name
.c5.2xlarge
(8 vCPU, 16GB RAM) or higher.Task definition
> Create new task definition
menu, configure the following:
Launch type
to AWS EC2 Instances
.Linux/X86_64
for Operating system/Architecture
.Task size
blank.8000
for service.Use log collection
option in Logging
./data
. To retain the data, define appropriate storage and mount it to this path.Configuration Type
to Configure at task definition creation
and choose bind mount for the volume type./data
as the source path.security-lb
Anywhere
, but for better security, it’s recommended to specify a particular IP.Target group
in the AWS console and navigate to the page.
/api/health
as the health check path.Next
and complete the target group creation.Load Balancers
in the AWS console and navigate to the page.
Create Load Balancer
button in the top right corner, then choose Application Load Balancer
.
Internet-facing
for the scheme.IPv4
.CloudFormation
in the AWS console and navigate to the page.
Create Stack
button in the top right corner.Upload a template file
and use the following JSON format for the template file, uploading it afterward. Modify the commented sections to fit your environment (enter the values saved earlier).SecurityGroupIDs
.Next
, enter a stack name, then continue clicking Next
until you can submit the service creation request.healthy
.<Load Balancer DNS>:8000
, as shown below.