Deploy via Google Cloud Marketplace
Starting from December 2023, the ReportPortal application is available in the Google Cloud Marketplace. Now, users can literally deploy our test reporting tool in just a few clicks.
Any engineer, even those not well-versed in DevOps, can go to the Google Cloud Marketplace, select the required resource size, and install a ReportPortal instance. This not only streamlines the procurement process, but also eliminates the need to wait for a contract to be finalized before beginning to work with ReportPortal.
Next, you will find a step-by-step guide on deploying ReportPortal via the Google Cloud Marketplace.
Prerequisites
A Cloud Billing account needs to be created beforehand.
Installation
Get started
- Open ReportPortal in Google Cloud Marketplace.
- Click ‘Get started’ button.
Initial setup of billing and API (optional)
These steps are executed once, provided that this is not configured.
- Select a project and accept terms and agreements.
- Enable billing and set the billing account.
You will see this screen if you have not enabled billing or set up the billing account before.
After that, accept terms and agreements again.
- Click ‘Deploy’ button.
- Enable API.
You will see this screen if you have not enabled API before.
Configure deployment
Fill necessary fields and create cluster. By default, a cluster with three nodes is created, but once the application is installed, the number of nodes reduces to 1. Subsequently, depending on the project's needs, the number of nodes can be increased to 5.
There is also an option to specify the domain name to which ReportPortal will be linked. You have the ability to enable support for an auto-generated certificate that will be linked to this domain. Subsequently, a certificate valid in all browsers will be issued.
While enabling the 'Enable GCP Managed Certificate' option, it is mandatory to specify the hostname.
Deploy
Post-installation with hostname
After the deployment is completed, you will be directed to a page with application information.
- Next, if you have specified a hostname, you will need to navigate to your domain hosting control panel and create a record
for your hostname with the provided
IP address
. For instance, here is how you can do it in AWS Route 53:
- Ensure that your auto-generated certificate has the status Active.
The process of transferring the certificate from Provisioning
to Active
status can take up to 30 minutes.
- Follow your hostname in a browser.
-
On the opened Sign In page, enter 'superadmin' as the login.
-
Enter initial password.
Let's get your ReportPortal instance up!
Post-installation without hostname
After the deployment is completed, if you did not specify a hostname, you will be directed to a page with application information.
- Click the
IP address
link.
But after clicking the IP address
link, the user receives a browser warning that the connection is not private. In reality, there is no risk because you are accessing your server, launched via an IP address.
So why does a warning pop up? During deployment, Google Marketplace creates a Self-signed temporary certificate, which is used for data encryption. However, during the deployment process, ReportPortal is not tied to any domain, and this certificate is also not tied to any domain. Therefore, when following the link, the user receives a browser warning because the browser considers this certificate invalid as it cannot verify it.
- For the Chrome browser, click on 'Advanced' -> then click on 'Proceed to XXXXX (unsafe)' link.
-
On the opened Sign In page, enter 'superadmin' as the login.
-
Enter initial password.
It may take Google Kubernetes Engine a few minutes before the application becomes accessible via the link.
Let's get your ReportPortal instance up!
Clean Up
After you have installed ReportPortal, further interactions with the application are conducted in the Google Kubernetes Engine service.
If you need to delete the application, this can be accomplished either from the Applications page.
Upon deleting the application, all associated resources, such as Workloads, Secrets & ConfigMaps, and Ingress will be deleted, except for the application‘s persistent volumes.
The deletion process can take a few minutes. Workloads, and Secrets&ConfigMaps tied to the cluster will remain.
If you wish to eliminate all costs, you will also need to delete the cluster, as certain resources reserved for our needs will continue to be billed.
Multiple applications can run within a cluster. However, if the cluster is no longer needed, it should also be deleted as illustrated in the image below.