MongoDB Deployment Strategies

This chapter gives an overview about possible MongoDB deployment strategies. The GxP reference system uses a MongoDB (PSS) replicaset deployment, hosted on Azure, running on Windows Server 2019 (with GUI) operating system.

Platform

The following table shows an overview about platform support when using MongoDB with AspenTech Inmation.

Platform Technically Possible Supported

Bare metal

Virtual Machine (on-premise)

Virtual Machine (Azure)

Virtual Machine (AWS)

Virtual Machine (GCS)

Docker Container (on-premise)

✔ (*)

Docker Container (NAS)

Atlas (AWS)

(**)

Atlas (Azure)

Atlas (GCS

CosmosDB (Azure)

(*) Best effort support

(**) Strategic interest

Operating Systems

The following table shows an overview about operating system support when using MongoDB with AspenTech Inmation.

Operating System Technically Possible Supported

Windows Server (GUI)

Windows Server (Core)

✔ (*)

Unix

(*) Best effort support

Strategy

The following MongoDB deployment strategies can be used with AspenTech Inmation.

Strategy Technically Possible Supported

Standalone

Replicaset (PSA)

Replicaset (PSS)

✔ (*)

Sharding

✔ (**)

(*) Recommended for High-Availability scenarios.

(**) Custom Datastores are the recommended feature in AspenTech Inmation to achieve vertical scaling. Official MongoDB sharding is technically possible, but introduces an additional level of complexity.

Scaling

Depending on the amount of data that is created by a Core over time, the available disk space on a MongoDB host will reach its limits. This problem can be mitigated in 2 different ways:

  • By vertical scaling - increasing the available harddrive space that a MongoDB server has. In a PSS replicaset deployment, this means increasing the space of all 3 replicaset members.

  • By horizontal scaling - adding a new PSS replicaset.

Horizontal scaling is more cost-effective. When increasing hard disk sizes after a certain threshold, especially on cloud deployments, the cost scales up exponentially rather than linear. The handling of backup images is also easier with smaller disks.