Provisioning a Scalingo for OpenSearch® Addon
Once you have chosen the right plan for your needs, you are ready to provision the addon. This can be done via our dashboard, our CLI tool or via our Terraform Provider.
Using the Dashboard
- From your web browser, open your dashboard
- Click on the application for which you want to add an OpenSearch® database
- Click on the Resources tab
- Locate the Addons block and click on the Add an addon button
- Select OpenSearch® in the databases block and click the Go to plan selection button
- Select the plan you want to provision
- Click the Finish button
- Give the platform a few seconds to ship your database and enjoy!
Using the Command Line
- Make sure you have correctly setup the Scalingo command line tool
- From the command line, list the plans available for
opensearch
:scalingo --app my-app addons-plans opensearch
The output should look like this:
+----------------------------+---------------+ | ID | NAME | +----------------------------+---------------+ | opensearch-starter-1024 | Starter 1G | | opensearch-starter-2048 | Starter 2G | ...
- Locate the
ID
corresponding to the plan you want to deploy (for exampleopensearch-starter-2048
) - Provision the addon:
scalingo --app my-app addons-add opensearch <plan_ID>
The output should look like this:
-----> Addon opensearch has been provisionned ID: my_app_wxyz Message from addon provider: Database is being provisioned
- Wait a few seconds for the addon to be provisioned and enjoy!
Using the Terraform Provider
- Place the following
resource
block in your Terraform file to create the addon and attach it to your app:resource "scalingo_addon" "my-db" { provider_id = "opensearch" plan = "opensearch-starter-2048" app = "${scalingo_app.my-app.id}" }
In this example, we create an OpenSearch Starter 2048 addon named
my-db
and attach it to an app namedmy-app
(which must exist). We could have done the same with another plan.
Last update: 23 Apr 2025
Suggest edits