NextGen Knowledge Center

Install Mirth® Connect on the EC2 Instance

  1. SSH into your newly created EC2 instance using your key pair.
  2. Edit the mirth.properties file to point to the RDS database that you created in a previous step.
  3. In the terminal, enter the following:
    EC2 Terminal Window
    $ wget http://downloads.mirthcorp.com/connect/3.11.0.b2609/mirthconnect-3.11.0.b2609-unix.tar.gz
    $ sudo yum update
    $ sudo yum install -y java-11-amazon-corretto-devel
    $ tar -xzf mirthconnect-3.11.0.b2609-unix.tar.gz
    $ cd "Mirth® Connect"
    $ cat docs/mcservice-java9+.vmoptions >> mcserver.vmoptions
    $ echo "server.id.ephemeral = true" >> conf/mirth.properties
    $ .
    /mcserver &