How to build High available sync-gateway

Hi,
how make sync-gateway high available?
How to monitor Sync-gateway?
i m unable to access http://publicIP:4985 User interface.
what are all the options available?
Can we access Sync-gateway dashboard through UI?

Thanks

Hey @rvuppala, see below:

how make sync-gateway high available?

You can scale the sync gateway nodes horizontally and front them with a load balancer. Two features in particular don’t support high availability in Sync Gateway yet:

  • Shared Bucket / Convergence import (This allows you to perform Couchbase SDK writes directly to the same Bucket that Sync Gateway is using.)

  • SG ↔ SG replications.

How to monitor Sync-gateway?

There are some “expvars” (“exposed/exported variables”) which are partially documented here: expvars · couchbase/sync_gateway Wiki · GitHub. This includes the Go runtime memory statistics.

i m unable to access http://publicIP:4985 User interface.

By default it binds to localhost only for security reasons, since any user that reaches this endpoint has complete access to all data. You never want to expose this publicly, it would be a huge security hole.

what are all the options available?

If you mean configuration options, see Couchbase Capella for Mobile Developers

Can we access Sync-gateway dashboard through UI?

Not yet, but this is in the planning stages.

I m using this for comepletely testing purposes ,
i need this to be open .can you walk me through the steps.

Thanks