Learn how to provision databases in instances running in Aiven
Aiven provides modern, fully-managed open source data infrastructure which is immediately deployable in public clouds, including Amazon Web Services, Google Cloud Platform, and Microsoft Azure. Aiven is a particularly good provider for teams with multi-cloud needs: for example running development environments on AWS and production systems on Azure.
Aiven supports the
- 1.Click on the Accounts tab.
- 2.Select Aiven.
- 3.You will be asked to provide an Account Name (a memorable name that will be displayed for this account).
- 5.Click on Authorize.
Steps 1 & 2 of adding your Aiven account
Steps 3-5 of adding your Aiven account
You can easily connect Humanitec to an Aiven managed database instance. The following paragraph explains how.
- 2.Select Show all resources.
- 3.Below Data storages click on the type of database you want to create. This will open a dialog.
- 4.Choose an ID that you will use to identify the resource definition in Humanitec later.
- 5.Select a Driver, here - postgres. Based on your resource driver, a form will be shown with the required driver parameters which will be passed to the driver on every resource creation.
- 8.Click on Create.
Steps 1 - 2 of creating a resource definition for an Aiven managed instance
Steps 3 - 7 of creating a resource definition for an Aiven managed instance
Next, you can configure matching criteria for your database. This enables you to define specific environments or applications to be deployed to this resource.
By clicking on your database in the list of resources, the Matching row will expand and allow you to add or remove matching criteria. Each database resource can be matched to specific Environment Types, App IDs, Environment IDs or Resource IDs. Empty fields are automatically resolved to match all values of the given category.
Based on this Resource Definition, during the deployment on any of the matching environments, an Active Resource will be provisioned if required.