NanoMDM is a minimalist Apple MDM server heavily inspired by MicroMDM.
Getting started & Documentation
A quick guide to get NanoMDM up and running using ngrok.
A brief overview of the various command-line switches and HTTP endpoints and APIs available to NanoMDM.
- Horizontal scaling: zero/minimal local state. Persistence in storage layers. MySQL backend provided in the box.
- Multiple APNs topics: potentially multi-tenant.
- Multi-command targeting: send the same command (or pushes) to multiple enrollments without individually queuing commands.
- Migration endpoint: allow migrating MDM enrollments between storage backends or (supported) MDM servers
- Otherwise we share many features between MicroMDM and NanoMDM, such as:
- A MicroMDM-emulating HTTP webhook/callback.
- Enrollment-certificate authorization
- API-driven interaction (queuing of commands, APNs pushes, etc.)
$x not included
NanoMDM is but one component for a functioning MDM server. At a minimum you need a SCEP server and TLS termination, for example. If you've used MicroMDM before you might be interested to know what NanoMDM does not include, by way of comparison.
- Spin up your own scep server. Or bring your own.
- You'll need to provide your own reverse proxy/load balancer that terminates TLS.
- ADE (DEP) API access.
- While ADE/DEP enrollments are supported there is no DEP API access.
- Enrollment (Profiles).
- You'll need to create and serve your own enrollment profiles to devices.
- No 'automatic' command sending upon enrollment. Entirely driven my webhook or other integrations.
- JSON command API.
- Enrollment (device) APIs.
- No ability, yet, to inspect enrollment details or state.
- This is partly mitigated by the fact that both the
mysqlstorage backends are "easy" to inspect and query.
NanoMDM, at its core, is a thin composable layer between HTTP handlers and a set of storage abstractions.
- The "front-end" is a set of standard Golang HTTP handlers that handle MDM and API requests. The core MDM handlers adapt the requests to the service layer. These handlers exist in the
- The service layer is a composable interface for processing and handling MDM requests. The main NanoMDM service dispatches to the storage layer. These services exist under the
- The storage layer is a set of interfaces and implementations that store & retrieve MDM enrollment and command data. These exist under the
You can read more about the architecture in the blog post Introducing NanoMDM.