Upgrade On Demand

What is upgrade on demand?
Upgrade On Demand is a feature that allows you to upgrade by yourself your Keycloak deployment to a newer version directly from Cloud-IAM console.
This gives you more control over your environment, allowing you to access new Keycloak features and security patches directly, on the next maintenance window, or at a date of your choice.
Cloud-IAM's upgrade on demand process
To ensure upgrades are safe and reliable, Cloud-IAM follows a strict process to minimize any risk or downtime:
- Automatic Backup - Before the upgrade begins, a full backup of your Keycloak deployment is created. This ensures our technical team can safely roll back if needed.
- Rolling Upgrade - When downtime is not required, the upgrade is performed on one instance at a time. Once validated, it proceeds to the next instance, minimizing risk and preventing system-wide corruption. More information on Rolling upgrade process.
These safeguards ensure your upgrade experience is stable, secure, and fully reversible if needed.
How to use upgrade on demand?
Follow these steps to upgrade on demand your Keycloak:
⚠️ Keycloak deployments with custom extensions
Upgrading without proper validation may cause incident with customized functionality. If your deployment includes custom extensions, we recommend the following before performing an upgrade:
-> Verify compatibility with the target Keycloak version
If you're unsure or need changes, contact Cloud-IAM Support our team can help validate, or manage your extensions as needed.
Step 1 - Access feature and configure the upgrade
- Open Cloud-IAM console
- Select the Keycloak deployment you want to upgrade.
- Click on
Pilot - Select
Upgrade - From the dropdown list select the target version to upgrade
- Select the schedule of your upgrade
- As Soon As Possible - For immediately upgrade
- Next maintenance window - For scheduling upgrade with maintenance window feature
- At a date of my choice - For starting the upgrade at a precise date and time, for instance outside the business hours of your users
- Pick the day in the calendar and enter the time,
22:00by default - The date and time are those of your browser's time zone, displayed under the fields
- A date in the past is refused
- Pick the day in the calendar and enter the time,
- Then click
Review & confirm

Step 2 - Confirmation upgrade
- Review the selected Keycloak version and scheduled upgrade time
- Confirm that the upgrade may cause temporary service interruption
- Confirm that any custom extensions on your Keycloak may require updates
- Then click
Start upgradeto proceed
The upgrade starts right away, in your next maintenance window, or at the date you chose. The upgrade process typically takes 15–20 minutes. Once complete, your deployment will run on the selected Keycloak version.

Step 3 - Follow or cancel a planned upgrade
While an upgrade waits to start, the Upgrade page shows it instead of the upgrade form:
- At a date - the upgrade is planned for the date you chose
- Next maintenance window - the upgrade waits for your maintenance window
Click Cancel this upgrade to cancel it. The page then shows the upgrade form again, and you can plan a new upgrade.
Planned upgrades are also listed under Upcoming maintenances on the Maintenances page, with their date and a Cancel button, see Maintenance window.

Change a planned upgrade
A planned upgrade cannot be edited. To change its date or its target version, cancel it and plan a new one.
Once started, an upgrade cannot be cancelled
Cancellation is possible until the upgrade starts. Once it is in progress, the button is no longer displayed.
How to upgrade with the Cloud-IAM API
The upgrade can also be triggered programmatically, for instance from a CI/CD pipeline. All the calls below use a Service Account access token, see Cloud-IAM REST API to obtain one.
Step 1 - List the Keycloak versions
The available Keycloak versions are returned by the marketplace endpoint, with the organization id of your account:
curl -s -X GET "https://api.cloud-iam.com/marketplace/organizations/{organizationId}/keycloak-versions" \
-H "Authorization: Bearer $TOKEN"{
"keycloakVersions": [
{ "id": "26.5-quarkus", "name": "Keycloak 26.5" }
]
}Step 2 - Trigger the upgrade
curl -s -X PUT "https://api.cloud-iam.com/deployments/{deploymentId}/upgrade?when=MAINTENANCE_NOW&version=26.5-quarkus" \
-H "Authorization: Bearer $TOKEN"| Parameter | Value |
|---|---|
version | The target Keycloak version, given either as its id (26.5-quarkus) or as its name (Keycloak 26.5) |
when | MAINTENANCE_NOW for an immediate upgrade, MAINTENANCE_NEXT_WINDOW to wait for your maintenance window |
notBefore | Optional. An ISO 8601 date-time in the future, such as 2026-12-01T22:00:00+01:00. With MAINTENANCE_NOW, the upgrade starts at that date. With MAINTENANCE_NEXT_WINDOW, it starts in the first maintenance window that opens after that date |
To plan an upgrade at a date, add notBefore to the call, URL-encoded:
curl -s -X PUT "https://api.cloud-iam.com/deployments/{deploymentId}/upgrade?when=MAINTENANCE_NOW&version=26.5-quarkus¬Before=2026-12-01T21%3A00%3A00Z" \
-H "Authorization: Bearer $TOKEN"The deployment is upgraded to the latest image of the target version, so no patch level has to be provided.
Possible responses:
202 Acceptedwith the target image, the upgrade is scheduled200 OKwith{"message": "UPDATE_NOT_REQUIRED"}, the deployment already runs that image400 Bad Request, the version is unknown (the message lists the accepted values), an installed extension is not compatible with it, ornotBeforeis not in the future409 Conflict, an upgrade is already scheduled or in progress for this deployment, cancel it first to plan another one
Step 3 - Follow the upgrade
curl -s -X GET "https://api.cloud-iam.com/deployments/{deploymentId}/maintenance-upgrade" \
-H "Authorization: Bearer $TOKEN"The response is the status of the upgrade maintenance, and an empty body once no upgrade is pending anymore.
Which versions can I upgrade to?
The versions endpoint lists every Keycloak version known to Cloud-IAM, including the one you already run. Version jumping rules still apply, see Keycloak version jumping.
Upgrade on demand impacts
We aim for the upgrade process to be as seamless as possible. However, certain Keycloak upgrades may require special attention from you before proceed:
- Downtime - Refer to the Expected service interruptions during upgrade to identify table to identify target versions that may involve downtime.
- Custom extension compatibility - Ensure your extensions are compatible with the chosen target Keycloak version.
- Version jumping - Please refer to the section Keycloak version jumping
- Keycloak backward compatibility - Review the Keycloak backward section.
- Migration report per version - Verify the Possible impact of migration section for more information.
What to do if the upgrade is blocked due to an extension
If the upgrade is blocked due to an incompatible extension:
- Go to My Extensions
- Depending on the situation, either:
- Extend the Keycloak compatibility range of an existing release to include the target version
- Create a new release with updated JAR files compatible with the target Keycloak version
- Wait for the automated validation to complete with a Validated status
- Return to Upgrade on demand and proceed with the upgrade
Prevent upgrade blockers proactively
Enable automatic compatibility checks so Cloud-IAM tests your extensions against new Keycloak versions automatically within 24 hours of release.
You need assistance for upgrade?
The Cloud-IAM support team is ready to assist you at every stage, from planning to execution. If you’d like us to manage your upgrade or assist you at any step, don't hesitate to contact us: we're always here to help!
Simply contact us, and we’ll make sure your upgrade by your side.