Upgrade Deployment Overview
Prerequisites
There will be newer versions of RainMaker backend and frontend, which will be made available periodically.
With the introduction of the new deployment model (SAM), we will only support SAR upgrades. This section covers the upgrade process for both SAM (Serverless Application Model) and SAR (Serverless Application Repository).
Backup Cognito Settings
This feature is not supported for OAuth-only RainMaker yet.
Before proceeding with the RainMaker upgrade, it is advisable to take a backup of Cognito configurations from RainMaker Dashboard. This precautionary measure helps prevent the reset of Cognito configurations to default values post-upgrade. Once the RainMaker backend upgrade is successfully completed, you can restore the Cognito configurations from the backup to ensure that your preferred settings are retained.
-
Log in to RainMaker Dashboard with Superadmin credentials.
-
Navigate to
Deployment Settings
and clickBackup and Restore
. If you've taken backups before, you'll see a Cognito configuration backup; otherwise, you'll see a message sayingNo backup found
. -
Click
Backup Configurations
to save a backup of Cognito configurations. Once the backup process is finished, you'll receive a success message in the upper right corner stating,Successfully captured Cognito app client settings
.
This section provides stepwise instructions for upgrading RainMaker backend components using SAM and SAR. The upgrade process for both SAM and SAR repositories are documented below. Follow the appropriate guide based on your integration setup.
Upgrading RainMaker Backend Components
To upgrade the RainMaker backend components, you first need to identify the deployment method used—either SAM or SAR. Follow the steps below to determine the correct deployment method.
Identifying the Deployment Method
-
Go to AWS Management Console
- In
Services
, search forCloudFormation
.
- In
-
View Stacks
- From the CloudFormation dashboard, select
Stacks
.
- From the CloudFormation dashboard, select
-
Identify Stack Type
In the list of stacks:- If the stack name starts with "serverless-", then the deployment method is SAR.
- If the stack name does not start with "serverless-", the deployment method is SAM.
Use this information to follow the corresponding upgrade steps for SAM or SAR.
Available Upgrade Methods
Make sure to follow the instructions carefully and ensure all necessary backups are completed before starting the upgrade process.
Restore Cognito Settings
This feature is not supported for OAuth-only RainMaker yet.
-
Upon successfully finishing all the steps of the RainMaker backend upgrade, navigate to
Deployment Settings
>Backup & Restore
section.
Here, you can see the backup you created before initiating the upgrade. -
Simply clicking
Restore
will bring back the Cognito configurations to your preferred settings. You will receive a success message in the upper right corner stating,Successfully restored Cognito app client settings
.