Date: Thu, 28 Mar 2024 16:44:01 +0000 (UTC) Message-ID: <151180636.27.1711644241515@ea7f95d34528> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_26_1017028067.1711644241514" ------=_Part_26_1017028067.1711644241514 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
You can install Bahmni on the Cloud, as long as you meet the System Requirements (64-bit Ubuntu v22.x along with Docker). =
One easy way of doing this is on Digital Ocean. Sign up using
Legal Implications of Cloud Deployments
Many countries have legal restrictions on storing medical data on the cl= oud. If you are unsure of your local laws & regulations, then ple= ase do NOT put real data on the cloud. Use the steps mentioned in th= is document only to "evaluate" or "play" with Bahmni on the Cloud.
The advantage with deploying on the Cloud is that you can snapshot your = machines, restore them quickly, and don't need to worry about Hardware. Als= o, if you have slow internet, then you can use a Cloud server, since the cl= oud machines have high speed internet access for downloads and uploads, whi= le you use a slow ssh connection to talk to the computer. Downloading every= thing on your own machine can require higher internet speeds, and you may n= ot want to do that if you have poor internet.
This page is currently limited to Digital Ocean. But, if you are familia= r with AWS, Linode or any other IaaS cloud providers, then you can install = and try Bahmni there. All you need is a 64-bit Ubuntu version (or any Linux= OS that supports Docker) machine with the hardware configuration described= in the System Req= uirements.
For instance please read this post on how a community member setup Bahmn= i on AWS (old way of Installing on CentOS with rpm): https://talk.openmrs.org/t/how-to-instal= l-bahmni-on-aws/10445. Recommended way now is with Docker (and not rpm)= .
Bahmni can also be now deployed on AWS (and Kubernetes), using Terraform= . The code is opensource and you can read more about this here: Install Bahmni on AWS Kubernetes Or, you ca= n install on a standalone EC2 instance, in which case the same steps as Dig= ital Ocean mentioned below are valid.
Step 1: Create an account on Digital Ocean. Sign u= p using this referral link to get 200$ credited to your accoun= t.
Step 2: Create a Droplet with the following settings at= minimum (Read steps here):
Step 3: You should be able to login into your mach= ine using the command "ssh root@<ip-of-your-droplet>= "
Step 4: Setup swap space on your machine using the= se steps (for reference read this document). We want to setup 4 GB&n= bsp; of swap space.
# Infor= ms you of how much swap space is allocated. if nothing is returned, then it= s not setup. swapon -s =20 # To setup 4096k (4GB swap space) do these steps:=20 sudo dd if=3D/dev/zero of=3D/swapfile bs=3D1024 count=3D4096k sudo mkswap /swapfile # Activate the swap file sudo swapon /swapfile =20 echo '/swapfile swap swap defaults 0 0' | sudo tee --append /= etc/fstab # Check if swap space is setup swapon -s
Now you have a fresh 64-bit Ubuntu Box available with 4GB swap space set= up. You can choose to snapshot this box, so that you don't need to= repeat these steps next time you need a fresh box.
NOTE: Digital Ocean servers, and other similar cloud pr= oviders can be vulnerable to attacks by malicious hackers. Please ensure yo= u safeguard your droplet, and follow these instructions after having instal= led Bahmni, to improve the security of your droplet and setup firewall:
h= ttps://www.digitalocean.com/community/tutorials/7-security-measures-to-prot= ect-your-servers (and also see Bahmni Security Guid= e)
Step 5: To Install Bahmni follow this document:&nb= sp;Running Bahmni on Docker (recom= mended)