Articles in this section
Category / Section

Deploy Bold Reports on an ECS Fargate Cluster Using an Application Load Balancer

Published:
Updated:

This section provides instructions on deploying the Bold Reports application on an ECS Fargate cluster using an Application Load Balancer.

Prerequisites:

ECS cluster - https://docs.aws.amazon.com/AmazonECS/latest/userguide/create_cluster.html
EFS - https://docs.aws.amazon.com/efs/latest/ug/gs-step-two-create-efs-resources.html

Ensure all resources are within the same security group and VPC.

Steps to Deploy the Bold Reports application on an ECS Cluster

  1. Create the task definition for the Bold Reports application with the following details. Follow this document to learn more about ECS task definitions.

    • Requires compatibilities: FARGATE
    • Operating system family: Linux
    • Task memory (GB): 4 GB
    • Task CPU (vCPU): 2 vCPU
    • Volumes: Add EFS volume details in the Volumes section.

    add-volume.png

    • Add container - You can refer to this documentation for Bold Reports docker image details.

      • Image: syncfusion/boldreports

      • Port mappings: 80 and tcp

      • STORAGE AND LOGGING:

        • Container path: /application/app_data

        storage.png

    • Save the template.

  2. Go to the Cluster and create the service by following the below steps:
    Navigate to: Amazon Elastic Container Service –> Clusters –> Cluster name –> Services –> Create

Environment:
  • Launch type: Fargate with Latest version

    environment.png

Deployment configuration:
  1. Application type is service, and select the task definition created in Step 1.

  2. Desired tasks - 1

    deployment.png

Networking:
  • Use the same VPC, subnet, and security group as the Cluster, Load balancer, and EFS.

    networking.png

Load balancing:
  • Create a load balancer with the target group in the ECS service by following the instructions in the Load Balancer Creation
    Guide.

    load-balancing.png

  1. Now, create the service.

    service.png

  2. Once the service is up and running, access the application using the Application Load Balancer DNS.

    loader-dns.png

Next Step:

Additional Reference:
  1. Bold Reports supported environment variables and their usage?
  2. How to deploy the Bold Reports application in an on-premises environment?
  3. How to Mount a Persistent Volume for App Data in Amazon AWS ECS Service?
Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied