The repository provides a packer template centos_bahmni_ami.json
and corresponding
scripts to create a bahmni QA instance that can be used in
combination with AWS CodeDeploy.
The AMI contains the following software:
- Install Packer
- Set the environment var
OPENMR_PWD
to the password of the mysql useropenmrs-user
. - Set the environment var
AWS_DEFAULT_REGION
to the desired region. UseAWS_DEFAULT_REGION=ap-south-1
if you want to build the AMI in Mumbai. - Set your (temporary) AWS credentials and assume a role that has the required permissions.
- Call
packer build centos_bahmni_ami.json
to build the AMI in AWS