To install Grafana on Cloudways, follow these steps:
- Log in to your Cloudways account.
- Click on "Applications" from the top menu.
- Choose the server where you want to install Grafana.
- Click on "Application Add-Ons" located in the left sidebar.
- Scroll down and find "Grafana" from the list of available add-ons.
- Click on "Install".
- Enter the details for your Grafana installation, such as the application name, domain, and server settings.
- Click on "Install Grafana" to start the installation process.
- Wait for the installation to complete. This might take a few minutes.
- Once the installation is finished, you will see the Grafana installation details, such as the URL and login credentials.
- Access the Grafana URL to log in and start using Grafana.
That's it! You have now successfully installed Grafana on Cloudways.
How to schedule automated backups for Grafana on Cloudways?
To schedule automated backups for Grafana on Cloudways, you can follow these steps:
- Login to your Cloudways account.
- Navigate to the "Server" section and select the server where your Grafana instance is installed.
- Click on the "Backup & Migrations" tab.
- Click on the "Create Backup" button.
- In the backup settings, select the backup frequency (e.g., daily, weekly, monthly) from the "Backup Schedule" dropdown.
- Choose the backup time and select a preferred backup retention duration.
- Optionally, enable the "Automatically remove backups older than" option, and set the desired time period.
- Under "Backup Channels", you can choose to receive notification emails upon successful backups by enabling the "Backup Notifications" checkbox.
- Click on the "Create Backup" button to save your settings.
Cloudways will now automatically schedule backups for your Grafana instance according to your specified frequency and retention duration. You will receive email notifications for each successful backup if you have enabled the backup notifications option.
Note: It's always recommended to test the restoration process using one of the backups to ensure the backup and restore functionality works as expected.
How to import and export Grafana dashboards on Cloudways?
To import and export Grafana dashboards on Cloudways, you can follow these steps:
- First, log in to your Cloudways account and go to the "Monitoring" tab.
- Click on the "Grafana" button to access your Grafana dashboard.
- In Grafana, go to the dashboard you want to export. Click on the settings icon (gear icon) on the top-right corner of the dashboard and select "Export" from the dropdown menu.
- This will open a new tab with the JSON representation of the dashboard. Copy the entire JSON content.
- To import the dashboard, you can create a new dashboard in Grafana or overwrite an existing one. To overwrite an existing dashboard, go to the dashboard you want to replace and click on the settings icon. Then, select "Preferences" from the dropdown menu.
- In the dashboard preferences, scroll down to the "JSON Model" section. Paste the copied JSON content in the text box and click on the "Save" button.
- The dashboard will be imported or updated with the new JSON model.
Note: Make sure the JSON content is properly formatted and compatible with the version of Grafana you are using.
What is the default login information for Grafana on Cloudways?
The default login information for Grafana on Cloudways depends on how you have installed Grafana on your server. If you have installed Grafana using the Cloudways Marketplace, the default login information is as follows:
- Username: admin
- Password: The password you set during the installation process
If you have installed Grafana manually on your Cloudways server, you will need to refer to your Grafana configuration to find the default login information.
How to enable Grafana authentication with single sign-on on Cloudways?
To enable Grafana authentication with single sign-on (SSO) on Cloudways, you need to follow these steps:
- Go to your Cloudways dashboard and select the server where your Grafana instance is installed.
- Under the Application Management section, click on the "Access Details" button for your Grafana application.
- In the Access Details popup, you will see the username and password required to access your Grafana instance. Make sure to note down these credentials for later use.
- Open a new browser tab and go to the URL of your Grafana instance. It will be in the format http://:.
- Log in to Grafana using the credentials obtained in the previous step.
- Once logged in, click on the user profile icon in the top-right corner of the Grafana interface, and select "Admin" from the dropdown menu.
- In the Admin section, click on the "Auth" tab.
- Under the "Authentication" section, click on the "Edit" button next to the "Auth Proxy" option.
- In the Auth Proxy settings, enable the "Auth Proxy" toggle switch.
- Set the "Auth Proxy Header Name" to a custom header name that Cloudways provides for SSO, such as HTTP_X_FORWARDED_USER.
- Set the "Auth Proxy Header Property" to the value of the custom header name, such as $.REMOTE_USER. Refer to Cloudways documentation for the exact header name and property value.
- Scroll down and click on the "Update" button to save the changes.
- Once the changes are saved, you can log out of Grafana.
- Now, you can access Grafana through Cloudways SSO authentication. Open a new browser tab and go to your Cloudways dashboard.
- Navigate to the server where your Grafana instance is installed and click on the "Access Details" button for the Grafana application.
- In the Access Details popup, click on the "Launch" button. This will automatically log you into Grafana using single sign-on authentication.
Note: The exact steps may vary depending on the version of Grafana and Cloudways configuration. It is recommended to refer to the official documentation or contact Cloudways support for any specific instructions or guidance.