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.
- Select EC2 from the Main Menu of the AWS console.
- Click Launch Instance, then select Launch Instance.
- Select Amazon Linux 2 AMI (HVM), SSD Volume Type for the AMI.
- For this single node setup, selectt3.medium (2 CPU, 4 GB RAM).
- Click Next: Configure Instance Details.
- Network: Select the VPC that you created in the Networking section of this document.
- Subnet: Select one of the subnets created in the Networking section of this document.
- Auto-assign Public IP: Select Disable (you are in a private subnet and will be behind an elastic load balancer).
- Keep the rest of the defaults on this page and select Next: Add Storage.
- Keep the default size for the root EBS volume (8GB) and select Next: Add Tags.
- Select Next: Configure Security Group.
- Next to Assign a security group, select Create a new security group.
- Create a security group name and description.
- Click Add Rule then create a TCP ingress rule for port 8080 from 0.0.0.0/0.
- Click Add Rule then create a TCP ingress rule for port 8443 from 0.0.0.0/0.
- Click Review and Launch.
- Review the details for this instance then click Launch to launch the EC2 instance.
- Create or use an existing key pair.