Skip to content

Latest commit

 

History

History
46 lines (38 loc) · 1.98 KB

installation-running.md

File metadata and controls

46 lines (38 loc) · 1.98 KB
title tags keywords permalink
Running Ditto
getting_started
installation
running, start, run, docker, docker-compose, k3s, helm, openshift, kubernetes
installation-running.html

Start Ditto

In order to start Ditto, you'll need:

  • a MongoDB service or container with version 4.2 as backing datastore of Ditto. (if you want to use a managed MongoDB service have a look in the section below)
  • the built Docker images of Ditto
  • some other tools like docker-compose, helm, k3s, minikube or openshift to run Ditto.

You can choose from several options to deploy Ditto. A good starting point here is Ditto Deployment. After completing the deployment of your choice Ditto should be up & running.

Now you have running:

  • a MongoDB as backing datastore of Ditto (not part of Ditto but started to get Ditto running),
  • Ditto microservices:
    • Concierge,
    • Connectivity,
    • Policies,
    • Things,
    • Thing-Search,
    • Gateway,
  • an instance of nginx acting as a reverse proxy performing a simple "basic authentication" listening on a local port
    • including some static HTTP + API documentation

The running port on which Ditto can be accessed is described in the Readme of the respective deployment section.

If you want to change the MongoDB config or Ditto config please have a look here: Operating Ditto

Managed MongoDB service

When using a managed MongoDB service the following recommendations should be taken into account:

  • at least a 3 Node dedicated cluster for high-traffic applications and large datasets
  • Cluster scaling depending on load

Other Recommendations:

  • SSL/TLS 1.2 and above
  • Data Encryption at rest
  • Daily Backups