Manual Steps To Setup ECS
RDS: Create the Database
ECS: Create the Cluster:
Install Plugins
Use a Shared Keystore Across the Cluster
Upload Mirth Connect by NextGen Healthcare Docker Image to ECR
With these steps, you can upload docker images to your local docker repository.
RDS: Create the Database
ECS: Create the Cluster:
Install Plugins
Use a Shared Keystore Across the Cluster
Recommendations
Explore
Mirth® Connect by NextGen Healthcare Amazon Web Services (AWS) Preferred Deployment
Use a Shared Keystore Across the Cluster
Upload the keystore file into S3. The file must be accessible by your ECS cluster. Note the Object URL of the file in S3. Include the following environment variables in your ECS configuration: KEYSTORE_TYPE - The type of keystore, for example, JKS. KEYSTORE_DOWNLOAD - The S3 Object URL of the Mirth® Connect keystore file. This file will be downloaded into the container and Mirth® Connect by NextGen Healthcare will use it as its keystore. ALLOW_INSECURE - Allow insecure SSL connections when downloading files during startup. This applies to keystore downloads, plugin downloads, and server library downloads. OS and CPU/Ram recommendations - depends on research item on S,M,L and XL setups Small Medium Large ECS Task vCPU=2048, 4GB RAM vCPU=2048, 8GB RAM vCPU=4096, 16GB RAM Parent topic: Manual Steps To Setup ECS
Mirth® Connect by NextGen Healthcare Amazon Web Services (AWS) Preferred Deployment
ECS: Create the Cluster:
Under Get Started - Create custom Container(configure). Edit Container: Provide container name Provide image, this refers to the image pushed to your ECR repository, and it has the following format: <aws_account_id>.dkr.ecr.<region>.amazonaws.com/<repository>:<tag>. Add Port Mappings 8080 and 8443 under Private repository authentication. Health Check: Provide command: curl -f http://localhost:8080/ || exit 1 Interval: 300 Timeout: 60 Start Period: 300 Retries: 3 Environment: CPU units: 1024/2048 GPUs: 1 Entry point: /entrypoint.sh Command: ./mcserver Working directory: /opt/connect Environment Variables: DATABASE=postgres KEYSTORE_STOREPASS=docker_storepass KEYSTORE_KEYPASS=docker_keypass DATABASE_URL=jdbc:postgresql://serverip:5432/mirthdb DATABASE_USERNAME= database_username DATABASE_PASSWORD= database_password STORAGE AND LOGGING Mount points: /opt/connect/appdata Log configuration: Check - "Auto-configure CloudWatch Logs" Provide Task definition details: Task definition name Networ
Mirth® Connect by NextGen Healthcare Amazon Web Services (AWS) Preferred Deployment
Install Plugins
See ECS File Storage Parent topic: Manual Steps To Setup ECS
Mirth® Connect by NextGen Healthcare Amazon Web Services (AWS) Preferred Deployment
RDS: Create the Database
From IAM Console, search RDS and create a PostgresSQL database. For the Version select PostgresSQL 12.5-R1 or above. Provide the required details for template, Settings, DB instance, Storage, Availability & durability. Under Connectivity, select VPC and the VPC security group you have created. Provide the Additional Configuration, Initial database name, Backup and Maintenance details. Once you have provided all the details click Create database button. This creates the PostgresSQL database. Parent topic: Manual Steps To Setup ECS
Mirth® Connect by NextGen Healthcare Amazon Web Services (AWS) Preferred Deployment
Upload Mirth® Connect by NextGen Healthcare Docker Image to ECR
With these steps, you can upload docker images to your local docker repository. Obtain the latest Mirth® Connect by NextGen Healthcare docker image and load it into your local docker repository. Refer to the section Using Docker Images in the User Guide for Mirth® Connect by NextGen Healthcare on the Success Community for detailed instructions. Push the image to your AWS ECR repository. Refer to the AWS documentation. Parent topic: Manual Steps To Setup ECS
Mirth® Connect by NextGen Healthcare Amazon Web Services (AWS) Preferred Deployment
Elastic Container Service (ECS)
Manual Steps To Setup ECS Upgrading Manual Steps To Setup ECS Upgrading Cloudwatch Logs ECS Diagram