Creating an Apache Superset data service using Ametnes Cloud#
Prerequisites#
Firstly, you need to have an Ametnes Data Service location. Follow this link to set up one.
Ensure you are running the latest version of the Ametnes Cloud Agent.
Apache Superset depends on various components including;
- A postgres database to store the data service's state.
- A Redis for caching queries to various configured databases.
To deploy Apache Superset, you need to ensure you have at least 3Gb memory, 2 vCPUs and 10Gb storage space.
Deployment constraints#
If you have deployment constraints that you must follow, these include;
- Storage by way of kubernetes storage class.
- On specific compute nodes by way of kubernetes taints and tolerations.
Follow this guide on how to set up your dataservice for these constraints.
Create the service#
Sign into your Ametnes Cloud console#
Follow this link.
With an internal postgres database.#
- Using the Services left menu, navigate to the service management dashboard.
- Click New Service.
- Enter the Superset to filter from the list and select Create
- In the displayed form, enter the following info.
- Enter the Name:
Superset-Service-DSL1
and Description:Superset-Service-DSL1
. - Select a Version from the list.
- Select the Location:
Demo/DSL1
. - Enter an Admin User and Admin Password that will be used to authenticate into the Superset service.
- Click
Create
. - Wait a short while and your data service will be
ready
.
- Enter the Name:
With an external postgres database.#
- Using the Services left menu, navigate to the service management dashboard.
- Click New Service.
- Enter the Superset to filter from the list and select Create
- In the displayed form, enter the following info.
- Enter the Name:
Superset-Service-DSL1
and Description:Superset-Service-DSL1
. - Select a Version from the list.
- Select the Location:
Demo/DSL1
. - Enter an Admin User and Admin Password that will be used to authenticate into the Superset service.
- Enter the Database Host, Database Port, Database User (the user must have full write permissions to the database), Database Password and Database Name (The database should be a blank database)
- Click
Create
. - Wait a short while and your data service will be
ready
.
- Enter the Name:
Test connectivity#
- In your browser, paste the URL
https://<your.instance.host.name>/
. - You should get a prompt to login.