# Upgrades & Maintenance

The CMS is delivered as containerized services. Maintenance focuses on applying updates, securing the environment, and ensuring continuous availability.

#### Upgrades

- **Container Images**: Pull updated images from the registry.
- **Rolling Updates**: Apply updates one container at a time to avoid downtime.
- **Schema Migrations**: Apply database migrations as part of the upgrade process.

#### Maintenance Tasks

- **Database Maintenance**: Regularly optimize and purge old usage records as per retention policy.
- **Certificate Renewal**: Update TLS certificates before expiry.
- **License Management**: Validate CMS license validity and renew as required.

#### Recommendations

- Maintain separate test/staging environments for validating upgrades.
- Schedule maintenance windows for major version changes.
- Monitor system health post-upgrade to confirm normal operations.