- Print
- PDF
Superset
- Print
- PDF
Available in VPC
Superset is a data visualization BI tool based on the Apache open source web. You can use data stored in an uploaded Excel file or PostgreSQL DB that has been installed together to create a visualization dashboard.
Creating and accessing server
The method for creating and accessing the server is the same as creating a regular server on NAVER Cloud Platform. The following are detailed procedures and reference guides:
Procedure | Description |
---|---|
1. Set ACG |
|
2. Create server |
|
3. Set public IP |
|
4. Get admin password |
|
5. Access server |
|
- After you access and log in to the server, change the password of the root account to one you can remember. Enter the
passwd root
command to set a new password. - If you can't connect to the Superset Web service even if there is no problem in the public IP address and ACG, your web server process might be stopped. Run the restart command (
systemctl start httpd
) on the terminal program to restart the process.
Using Superset
When the server is created, you can access and use the service through the web browser.
Access PostgreSQL DB
If preparations are required in the DB, you can access PostgreSQL DB in the docker to run the required tasks.
If you don't need DB access, skip this process, and proceed with Getting started with Superset.
- While connected to the server, enter the
docker ps
command.- The container information of the docker is displayed.
- Check the container name of the docker where PostgreSQL is installed.
- Utilize the container name you checked, and then enter the
docker exec -it (Container name) /bin/bash
command.- <example> When the container name is superset_postgres_1,
docker exec -it superset_postgres_1 /bin/bash
- Enter the PostgreSQL docker.
- <example> When the container name is superset_postgres_1,
- Enter the
psql -U superset -d superset
command to access the DB. - Run the required DB tasks.
- If you've completed DB tasks, enter the
\q
command to end DB access. - Enter the
exit
command to end docker access.
Getting started with Superset
The following describes how to get started with Superset on the web browser.
Enter the URL on the web browser.
- VPC environment: access an externally accessible VPC server, and then enter
http://(public ip address):18088
- VPC environment: access an externally accessible VPC server, and then enter
When the login page appears, enter the admin account to log in.
- Username: admin
- Password: server name set on the NAVER Cloud Platform console
NoteChange your password to protect your security. Click the Security > List Users menus on the Superset page, in that order, and then click > Reset Password of the admin account to change the password.
Superset functions
You can use the various functions of Superset by clicking the upper menu of the Superset page.
- When you click the Dashboards menu, the same dashboard is displayed. To create and use more dashboards, see Superset webpage.
- After you add DB settings information in the Sources menu, you can use PostgreSQL DB.
- The initial password of the Superset account is ncloud123!@#!, and you can access it only on the server where Superset and PostgreSQL are installed.
- Set SQLAlchemy URI:
postgresql://superset:ncloud123!@#!@postgres:5432/Database name