NextGen Knowledge Center

Set up the Single EC2 Instance

Before you begin

To run Mirth® Connect by NextGen Healthcare in a single EC2 instance, you will need the following prerequisites:

  • Set up a virtual private cloud (VPC) with at least two private subnets
  • An RDS database.
  1. Select EC2 from the Main Menu of the AWS console.
  2. Click Launch Instance, then select Launch Instance.
  3. Select Amazon Linux 2 AMI (HVM), SSD Volume Type for the AMI.
  4. For this single node setup, selectt3.medium (2 CPU, 4 GB RAM).
  5. Click Next: Configure Instance Details.
  6. Network: Select the VPC that you created in the Networking section of this document.
  7. Subnet: Select one of the subnets created in the Networking section of this document.
  8. Auto-assign Public IP: Select Disable (you are in a private subnet and will be behind an elastic load balancer).
  9. Keep the rest of the defaults on this page and select Next: Add Storage.
  10. Keep the default size for the root EBS volume (8GB) and select Next: Add Tags.
  11. Select Next: Configure Security Group.
  12. Next to Assign a security group, select Create a new security group.
  13. Create a security group name and description.
  14. Click Add Rule then create a TCP ingress rule for port 8080 from 0.0.0.0/0.
  15. Click Add Rule then create a TCP ingress rule for port 8443 from 0.0.0.0/0.
  16. Click Review and Launch.
  17. Review the details for this instance then click Launch to launch the EC2 instance.
  18. Create or use an existing key pair.