Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Disclaimer

While Joget does not officially support running on ECS, this guide act as a proof of concept to deploy Joget on ECS. Please visit AWS official documentation website for support and information.

Prerequisites

  • An AWS Account
  • Installed AWS CLI

...

  1. On the sidebar, click Task Definition.


  2. Click New Create Task Definition.


  3. Enter the Task Definition name.
  4. On Infrastructure Requirements, choose the launch type and specify the specs required.


  5. Under Task Role, choose the role created in Create ECS Task Execution Role.
  6. Under Task Execution Role, choose the role created in Create ECS Task Execution Role.
  7. Under container, enter the container name.
  8. Use jogetworkflow/joget-dx8-tomcat9 for the image.
  9. Enter 8080 and 9080 for Container Port.


  10. Add the following Environment Variable:
    1. Key: JAVA_OPTS
    2. Value: ${JAVA_OPTS_MEMORY} -Dwflow.home=${WFLOW_HOME} -Dwflow.systemkey=domain -javaagent:${LIB_HOME}/wflow-cluster.jar -javaagent:${LIB_HOME}/aspectjweaver-${ASPECTJ_VERSION}.jar -javaagent:${LIB_HOME}/glowroot/glowroot.jar "


  11. Under Storage, click Add Volume.


  12. Enter the volume name, and choose EFS as Volume Type.
  13. Choose the EFS on File System ID.
  14. Enter / as the root directory.
    Image Added

  15. Under Container Mount Points, lick Add Mount Point
  16. Select Container and Source Volume
  17. Enter Container Path  as /opt/joget/wflowas the root directory.
    Image RemovedImage Added
  18. Click Click Create.

Create ECS Service(HTTP)

...