Openmrs core, Rest and fhir2 module deployment on EC2 instance

Hi Team,

I want to deploy three major backend service core, Rest and fhir2 module on EC2 instance , So how we can do?

Hi @sanjay.d,

You might want to consider using the existing OpenMRS SDK’s build-distro command locally (or set up the SDK directly on the instance) with a command like:

mvn openmrs-sdk:build-distro -Ddistro=/path/to/openmrs-distro.properties -Ddir=/path/to/output-directory

If building locally, you can archive the output-directory and upload it to the instance where you’ll be running the Docker Compose setup.

openmrs-distro.properties would look something like:

name=OpenMRS server
version=1.0
war.openmrs=2.7.0
omod.fhir2=2.5.0
omod.webservices.rest=2.40.0

Building on what @ruhanga recommends, we have two deployment options: SDK and Docker. Both come with pre-installed openMRS core modules, including FHIR and REST, as well as others. GitHub - openmrs/openmrs-distro-referenceapplication: The reference distribution of the OpenMRS EMR application (v3). Here is the quick Docker setup.

Regards

@sanjay.d Here is some other information that could be useful while deploying https://openmrs.atlassian.net/wiki/spaces/docs/pages/94535688/Cloud+Hosting+and+Cluster+Deployment

1 Like

But i have made some changes in core , rest and fhir2 , I want to deploy my locals repos only for my python project.

how i can do that on tomcat9.