The cartridge deployment process has been illustrated in the diagram below:

The workflow of the cartridge deployment process is as follows:
- DevOps will have to define the cartridge using a cartridge.json via CLI, Web UI or REST API and send it to Stratos Manager.
- Stratos Manager will send the cartridge definition to Cloud Controller (CC) to be deployed.
- Cloud Controller will carry out a validation process based on the cartridge image ID (e.g., On EC2 an Amazon Machine Image [AMI]).
- If the cartridge already exists, Cloud Controller will undeploy the cartridge.
- If the cartridge does not exist, Cloud Controller will proceed with the cartridge deployment process.
- Cloud Controller will add the cartridge definition to its in-memory and persist it in its registry.
- Cloud Controller will update the topology with the service definition and publish the
Topology
event to message broker.