Skip to content


MindSphere will discontinue providing MongoDB as a Cloud Foundry Backing Service from October 31st 2020.
Effective November 1st 2020, all MongoDB Backing Services will be deleted from the MindSphere environment.
Please refer to the example description on how you could migrate your MongoDB data hosted by MindSphere to another MongoDB Service (not provided by MindSphere).

a9s MongoDB for PCF

This documentation describes the a9s MongoDB service. a9s MongoDB enables on-demand provisioning of VM-based, dedicated MongoDB servers and clusters. Developers can create instances of a MongoDB server or cluster using Apps Manager or the Cloud Foundry Command Line interface (cf CLI) and bind these instances to an application. Depending on your service plan, a service instance may be associated with a single, dedicated VM or a set of VMs consisting of multiple VMs containing a MongoDB replica set cluster.



When you run the cf CLI create-service mongodb command, BOSH creates dedicated VMs for this service instance. This allows the best possible bad neighborhood protection.

MongoDB service instance provisioning, including VM orchestration, is entirely automated. This enables service instances to be highly isolated and shielded by infrastructure virtualization mechanisms.

Due to the on-demand provisioning on VMs, only existing service instances allocate infrastructure resources. These resources are released when service instances are destroyed. Using on-demand provisioning the number of service instances is not limited by design.

Distributed across multiple infrastructure availability zones, clustered data service plans enable short failover times and are resilient against failures of individual infrastructure hosts or entire availability zones.

Current Features

The current version of a9s MongoDB includes the following key features:

Feature Benefit
On­-Demand Service Instance Provisioning a9s MongoDB deploys MongoDB instances automatically. Developers can provision a single-VM MongoDB server or a multi-VM MongoDB Replica Set using a single command.
Service Instance Isolation Each MongoDB server runs on a dedicated VM to ensure bad neighborhood protection in order to be aligned with enterprise security requirements.

a9s MongoDB uses Cloud Foundry security groups to prevent network connections being established by unauthorized applications.
High Availability a9s MongoDB ensures high-availability using MongoDB Replica Sets.

The Consul-based internal DNS system ensures that the connected application always connects to a working node.
Smoke Tests a9s MongoDB contains a post-deploy smoke tests errand that runs a series of basic test against your installation to ensure that it is configured properly.
Service Instance Capacity Upgrade Cloud Foundry Service Plan updates allow upgrades to the RAM, CPU and storage capacity for your MongoDB instances.
Logging and Monitoring Each MongoDB service instance provides log messages and MongoDB-specific metrics to one or more syslog/graphite endpoints. You can configure the syslog/graphite endpoint to receive logging and monitoring information.
Deployment Updater This errand automatically updates the stemcell and all provisioned a9s MongoDB service instances to their lastest version.
Backup Manager The Backup Manager does regular backup of your instances and offers endpoints to backup instantly and restore backups.
Service Guard The Service Guard creates Cloud Foundry security groups for your service instance VMs.

When the IP address of a service instance changes, the guard updates the security group. The Service Guard also restarts the application instances bound to the affected service instance. The instances of one application are restarted one by one to avoid downtime.

Service Plans

Specification of a9s MongoDB service plans:

Attribute mongodb-xs mongodb-m
High Availability no yes
Number of Instances 1 3
Number of vCPUs 1 2
RAM 0.5 GB 4 GB
Disk 3 GB 50 GB
Connections 65536
open files
open files

Licensing Information

MongoDB Community Edition release 3.2.21 and 3.4.17 are open source software components. Please click here to see the applicable terms and third-party license conditions, copyright information and links to the corresponding open source software source code of these components.

Any questions left?

Ask the community

Except where otherwise noted, content on this site is licensed under the MindSphere Development License Agreement.