Uploading to AWS (CHT ver 4.x)

Hi,

We are planning to upgrade from 3.x to 4.x and already successful to install on my unit for localhost (as developer).

I am now wondering how can I upload this to AWS, so that this will be online to everyone.
Is there a documentation on how to do it?

Thanks for response.

Hi @Marcelo_De_Guzman

I’m not sure I understand the question, so I’m just guessing here.
Where/how is your instance hosted now? Is your question only about uploading your data to your EBS volume?

I suppose there is a mix-and-match kind of information across multiple sections of our documentation about AWS hosting, with some AWS specific guidelines: AWS Hosting in CHT 3.x | Community Health Toolkit , except this details about hosting 3.x.
There is also some information about hosting self hosting in k3s: Self Hosting in CHT 4.x - Multiple CouchDB Nodes on k3s on VMWare | Community Health Toolkit

Can you give us more details about how you’re planning to run your 4.x instance? Are you planning on deploying clustered CouchDb for increased performance or single node?

Hi @diana

As of now, it was hosted on my laptop as localhost, but I want it to host it on AWS so that it can access in online, and also offline. We are not gonna do a Data Migration from CHT 3.x to 4.x but create new.
is EBS or RDS should be advisable?

And I checked the documentation, I think Single Node will be okay on my team due to we have only less than 4000 users.

We are planning to deploy it on AWS for the Couchdb.

What do you mean by clustered couchdb? is that faster than 3.0 Couchdb?

@Marcelo_De_Guzman

I want it to host it on AWS so that it can access in online

I suggest checking our production hosting docs and pick the environment that best suits your skill set and familiarity with AWS offerings.

is EBS or RDS should be advisable?

A database like RDS would only be used if you’re setting up CHT Sync to do dashboards or analytics off of telemetry. We’ve had some minor issues implement RDS and recommend using standard Postgres as seen in CHT Sync docs.

What do you mean by clustered couchdb?

With CHT 4.x you can run CouchDB in a single node or a multi-node deployment. You can read more about this in our docs.

is that faster than 3.0 Couchdb?

CouchDB 3.x was introduced in CHT Core 4.4 and is for sure much faster than CouchDB 2.x. We recommend you run the latest CHT Core version possible which will take advantage of all speed improvements, which includes CouchDB 3.x

Separately, you can run multi-node at any CHT Core 4.x version you want, independent of which version of CouchDB you’re runninig.

1 Like