OpenLDAP, the standards based slapd directory server, ready on first boot as a private LDAP and LDAPS identity source for your own services.
OpenLDAP is the widely deployed, open source implementation of the Lightweight Directory Access Protocol. Its standalone daemon, slapd, stores users, groups and organisational data in a hierarchical directory and answers standard LDAP queries, so applications, operating systems and network services can share one authoritative identity source instead of a separate account store for each. It speaks plain LDAP with StartTLS as well as LDAP over TLS, uses the fast memory mapped mdb backend, and is configured dynamically through its own cn=config directory, making it the reference directory service for centralised authentication and address book lookups.
It suits any team that wants a private, self owned directory to authenticate and authorise their own applications rather than depending on a hosted identity provider.
cloudimg delivers OpenLDAP hardened, fully patched and preconfigured so slapd is answering LDAP and LDAPS queries the moment it boots. The directory is seeded with a ready made People and Groups layout and a sample account, so an authenticated search returns data straight away, and the mdb directory database lives on its own dedicated data volume, separate from the operating system disk and independently resizable. No default logins ship: the directory administrator password is generated uniquely on first boot, the self signed TLS certificate is regenerated per instance, and both are written to a root only file. Every deployment is paired with a step by step deploy guide and backed by 24/7 support. cloudimg is not affiliated with the OpenLDAP Foundation.
This is a repackaged open source software product wherein additional charges apply for cloudimg support services.
## A Standards-Based LDAP Directory, Ready on First Boot
OpenLDAP is the widely deployed open source implementation of the Lightweight Directory Access Protocol. Its standalone daemon, slapd, stores users, groups and organisational data in a hierarchical directory and answers standard LDAP queries, so your applications, operating systems and network services can share one authoritative identity source instead of a separate account store for each. This image delivers OpenLDAP 2.6 fully installed from the distribution package repository, with the fast memory-mapped mdb backend, LDAPS enabled, a seeded demonstration directory and a systemd service that starts on boot, so you can run your first LDAP query within minutes of launch rather than working through a manual install and TLS configuration.
## Why This Image Instead of the Alternatives
Unlike AWS Managed Microsoft AD or a hosted identity provider, you get full schema flexibility, VPC-local latency and no per-user fees, with the directory entirely inside your own infrastructure. Unlike a bare open source install, the TLS configuration, credential bootstrapping and storage layout are already done. And unlike Marketplace images that ship a shared default password, every instance generates its own administrator credential and TLS certificate.
## Who This Is For
Platform and identity teams who need a self-hosted, standards-based LDAP directory inside their own VPC to back application authentication, without depending on a hosted identity provider. Application developers who need a real LDAP endpoint to develop and test directory integrations against, instead of mocking one. Infrastructure teams consolidating service-account and group data into one queryable directory.
## What Is Installed
## Secure By Default
The image ships with no usable directory administrator credential:
## Network Model
slapd listens on port 389 (LDAP with StartTLS) and port 636 (LDAPS). These ports are opened in the security group so downstream services can bind out of the box, but an LDAP endpoint reachable from the internet is a serious exposure. Restrict the 389 and 636 rules to your own VPC CIDR rather than 0.0.0.0/0, prefer LDAPS on 636 for any bind that carries credentials, and never expose a plaintext bind over an untrusted network.
## Storage Layout
The directory database (the mdb data files under /var/lib/ldap) lives on a dedicated 20 GiB EBS volume, separate from the OS disk, independently resizable, and preserved on every instance launched from this image.
## Getting Started
1. Launch on an m5.large or larger, with port 22 open to your management network and 389/636 restricted to your VPC
2. Connect over SSH as the default login user for your variant, then read the generated password with sudo cat /root/openldap-credentials.txt
3. Bind as cn=admin,dc=example,dc=com and search dc=example,dc=com to see the seeded entries, and confirm an LDAPS bind on port 636 succeeds
4. Replace the demonstration entries with your own organisational units and import your directory data
## 24/7 cloudimg Support
Every deployment is backed by cloudimg engineers available around the clock by email and live chat, covering deployment, schema and DIT design, LDIF import, TLS and access control configuration, replication, backup and restore, and OpenLDAP upgrades. Critical issues receive a one-hour average response time. This image uses standard AWS pay-as-you-go infrastructure billing; launch an instance to evaluate against your own schema and terminate at any time.
OpenLDAP is a registered trademark of the OpenLDAP Foundation. All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.