ESP RainMaker Customer Docs

ESP RainMaker Customer Docs

  • Get Started
  • Releases
  • Help

›RainMaker Cloud

Introduction

  • Introduction

RainMaker Cloud

  • RainMaker Cloud
  • Prerequisites
  • Pre-Deployment Setup
  • Setup
  • Backend
  • Node Registration Module
  • Frontend
  • Post-Deployment Setup
  • Verification
  • Licensing
  • Deployment settings
  • Add-on services
  • Push Notifications
  • Upgrades
  • Configurations
  • Uninstall

Phone Apps

  • Android Configuration
  • iOS Configuration
  • Notification payloads

CLIs

  • CLI

Firmware

  • Firmware

3rd Party Logins

  • Sign-in with Google
  • Sign-in with Apple

Integrations

  • Voice Assistant Integrations
  • Alexa
  • Google Assistant
  • Voice Assistant Integrations AddOns repo
  • Alexa Account Linking
  • Publishing Alexa skill
  • Publishing GVA action
  • Upgrades

Features

  • Features

Monitoring

  • RainMaker Monitoring Dashboard

References

  • References

Upgrades

[中文版本]

There will be newer versions of Rainmaker backend and frontends, which will be made available, periodically.

The Backend, Frontend, Node registration module, Add-on services and Voice assistant skills will need to be upgraded separately.

Upgrading the Rainmaker Backend

Backup Cognito Settings

Note: 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.

  • Login to RainMaker Dashboard with SuperAdmin credentials.

  • Navigate to the Deployment Settings and click on Backup & Restore. If you've taken backups before, you'll see a Cognito Configuration Backup otherwise, you'll see a message saying "No backup found."

    backup_restore_1

  • Click on "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."

    backup_restore_2

Backend upgrade

Before proceeding, please backup the cognito settings as described above.

You can check if the newer version of the Rainmaker backend service is available, from the Serverless Application Repository (SAR).

You can only upgrade below repositories -
  • serverlessrepo-ESP-RainMaker-Base
  • serverlessrepo-ESP-RainMaker-Core

Note - You should never upgrade the below repository
ESP-RainMaker-Base-API

The process of upgrading will be similar to deploying the Rainmaker backend for the first time, except you will need to choose the latest version of the SAR repository.

Login to AWS console, and search for the SAR service.

upgrade1

  • Click on Available applications and select Private applications. Click the checkbox - Show apps that create custom IAM roles or resource policies.
  • From the SAR repository menu, search for the "ESP-Rainmaker-" repository.
  • Click on "ESP-RainMaker-Base", the latest version of the repository will be displayed.

upgrade2

  • If your existing version for "ESP-RainMaker-Base" is older than the latest version, you should upgrade this repository to the latest version.
  • The process of upgrading will be similar to deploying the "ESP-RainMaker-Base" repository.
  • Scroll down and click on the checkbox - " I acknowledge that this app deploys nested applications "
  • Click on the deploy button.

upgrade3

  • The deployment will start. This SAR repository will be deployed in around 10-15 minutes.
  • You can check the status of the deployment of this SAR repository, from CloudFormation.
  • Go to AWS Console -> Services -> CloudFormation. The list of stacks deployed will be shown.
  • You will see an entry for the "serverlessrepo-ESP-RainMaker-Base" stack. "CREATE_COMPLETE" status indicates that, this repository is successfully deployed, as shown below:

upgrade4

After the "ESP-RainMaker-Base" repository is upgraded, you will need to upgrade the "ESP-RainMaker-Core" repository.

  • From the SAR repository menu, search for the "ESP-Rainmaker-" repository.
  • Click on "ESP-RainMaker-Core", the latest version of the repository will be displayed.

upgrade5

  • If your existing version for "ESP-RainMaker-Core" is older than the latest version, you should upgrade this repository to the latest version.

  • The process of upgrading will be similar to deploying the "ESP-RainMaker-Core" repository.

  • Scroll down and enter the values for the parameters.

upgrade6

  • Email - Email Address for sending user notifications. When a new user signs-up, he will receive the verification code from this E-mail address. Please note that this email address should be verified by AWS Simple Email Service, as mentioned in the Section - Configuring the Email Sending Service

  • Username - Email address to create the super admin user. User with this email will automatically get created after deployment is successful. The login credentials and deployment details will be sent to this email after successful deployment.

  • Note - This user, which will be created during the deployment will have Super Admin privileges. Only this user will have access to services like Bulk Node Registration CLI.

  • Click the checkbox - I acknowledge that this app creates custom IAM roles, resource policies and deploys nested applications.

  • Click on the Deploy button and the deployment for the Rainmaker backend start will start.

upgrade7

  • The deployment of this repository will be completed in approximately 20-30 minutes.
  • You can check the status of the deployment of this SAR repository, from CloudFormation.
  • Go to AWS Console -> Services -> CloudFormation. The list of stacks deployed will be shown.
  • You will see an entry for the "serverlessrepo-ESP-RainMaker-Core" stack. "CREATE_COMPLETE" status indicates that, this repository is successfully deployed, as shown below:

upgrade8

Please remember to restore the backed up cognito settings as described below.

Restore Cognito Settings

Note: 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.
    backup_restore_3

  • Simply clicking on "Restore" will bring back the Cognito configurations to your preferred settings & you'll receive a success message in the upper right corner stating, "Successfully restored Cognito app client settings. backup_restore_4

Upgrading the Rainmaker Frontend

The Rainmaker frontend needs to be upgraded separately.

There are two steps for upgrading the Dashboard.

Step 1 - Upgrading from the Serverless Application Repository console.

This step is similar to the way the Rainmaker backend components are upgraded or the Rainmaker front end component is deployed for the first time.

  • To trigger the upgrade of the Rainmaker front-end deployments, go to the SAR repository service dashboard and select espdashboard.

ui1

  • Scroll down and click the checkbox, I acknowledge that this app creates custom IAM roles and resource policies.

ui2

  • The upgrade of the dashboard will start and the status will be shown in the AWS console.

ui3

  • After all the modules of the dashboard are upgraded, the status for all the modules will be shown as "CREATE_COMPLETE" and a message will be shown as below:

ui4

Step 2 - Upgrading from the Rainmaker dashboard

From the dashboard the admin user needs to check if any newer version of the dashboard is available. If any newer version is available, the Admin user can upgrade it.

Here are the steps to Upgrade the Rainmaker Frontend

Login to the Rainmaker Dashboard.

At the bottom of the left-hand side menu, the current version will be displayed.

upgrade9

Click on the "Check Updates Button" to see if any newer version is available. If there are no new versions are available, the below pop-up will be displayed:

upgrade10

If there are newer versions available for the dashboard, the below pop-up will be displayed:

upgrade11

To upgrade to this newer version, click on the "Update Dashboard" button. The process to upgrade the dashboard will be started.

The upgrade generally takes around five minutes. After the upgrade is successful, you will need to refresh the screen or need to logout and login again.

upgrade12

Upgrading the Rainmaker Node Registration module

The rainmaker-node-registration service is used for generating the bulk certificates for the nodes. Refer the below table for the corresponding node registration module version.

Node registration module to corresponding RM version supported

Rainmaker VersionNode registration module version
2.8.0v23
2.7.1v22
2.7.0v21
2.6.0v20
2.5.1v19
2.5.0v19
2.2.0 to 2.4.0v18
2.0.2 to 2.1.2v17
2.0.0 to 2.0.1v16
1.1.30 to 1.2.1v14
1.1.28 to 1.1.29v13
1.1.27v12
1.1.22 to 1.1.26v11
1.1.17 to 1.1.25v10
1.1.12 to 1.1.16v9
  • Check your Rainmaker Node Registration module version via AWS Console:

    Cloudformation > Stacks > rainmaker-node-registration > Tags > Version

node_registration_version

Note: If the above version is lower than the one mentioned in the table, rainmaker-node-registration must be upgraded.


Following are the steps for upgrading the Node Registration module.

Step 1 - From the AWS console, go to the Services, search for CloudFormation and click on CloudFormation, as shown below:

node_registration_1


Step 2 - Select on stack rainmaker-node-registration

node_registration_2


Step 3 - Click on Update and Click on Replace current template.

Enter Amazon S3 Url as below:

https://esp-bulknode-batchjob.s3.amazonaws.com/<module_version>/espnoderegistration.yml

For ex. For v16, enter https://esp-bulknode-batchjob.s3.amazonaws.com/v16/espnoderegistration.yml

node_registration_3

Click on Next.


Step 4 - Keep all the parameters to the default values and click on Next.

node_registration_4


Step 5 - Enter the version (For ex. 14) and click on Next.

node_registration_5


Step 6 - Keep default configurations and Select below options

  • I acknowledge that AWS CloudFormation might create IAM resources.
  • I acknowledge that AWS CloudFormation might create IAM resources with custom names.
  • I acknowledge that AWS CloudFormation might require the following capability: CAPABILITY_AUTO_EXPAND

And click on update Stack, as shown below:

node_registration_6


The rainmaker-node-registration stack will be upgraded as shown below:


node_registration_7

Upgrading the Add-on services

Carry out the same steps as that of fresh deployment: RainMaker Add-on Services

Note: Make sure you are at the latest version

Upgrading the Rainmaker voice assistant skills

Detailed steps can be accessed here: Upgrading Voice Assistant Integration Repositories

← Push NotificationsConfigurations →
  • Upgrading the Rainmaker Backend
    • Backup Cognito Settings
    • Backend upgrade
    • Restore Cognito Settings
  • Upgrading the Rainmaker Frontend
  • Upgrading the Rainmaker Node Registration module
    • Node registration module to corresponding RM version supported
  • Upgrading the Add-on services
  • Upgrading the Rainmaker voice assistant skills
Copyright © 2025 Espressif Systems