Deploying Containers on AWS

1 Login to AWS portal. In the search menu, search for ECS.

2 Select Create Cluster.

3  Create a cluster with the appropriate template. This example will use EC2 Linux + Networking.

4 Configure the cluster. For more information on recommended system settings, refer to AWS's section in the Installation Guide.

5 Once the cluster has been configured, navigate to Task Definitions.

6 Create a new Task Definition and select the appropriate launch type.

 7 Under Volumes, click Add Volume for the file storage.

8 Under Container definitions, select Add container.

9 Specify the container name and Image. The image can be found by navigation to the Docker Repo for Decisions. For the image, it is recommended to use decisionscore/platform:latest to use the latest image for the container.

10 Specify a Hard Limit for the container.

11 Under Port mappings, map port 80 of the host to port 80 of the container.

12 Under the Environment variables section, define both the required and any optional environment variables to configure the container.

13 Once the container environment variables have been configured, specify the Mount points to be the volume that was created earlier. Map the volume to the \filestorage path of the container.

14 Once finished, save and navigate back to the Cluster. Select Run new Task using the created task definition.

from: https://documentation.decisions.com/preview/v9/en/9350b268-9932-4e52-a348-e63bf45729c4/1

Sign In or Register to comment.