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.
During ReportPortal deployment from Google Cloud Marketplace, Google Cloud displays the billing setup screen if billing is not enabled or no billing account is linked to the project.
After that, accept terms and agreements again.
- Click ‘Deploy’ button.
- Enable API.
During the first ReportPortal deployment from Google Cloud Marketplace, you may be prompted to enable the required Google Cloud APIs.
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.
A Google-managed SSL certificate configured for a ReportPortal Marketplace deployment may remain in Provisioning status for up to 30 minutes before becoming Active.
- 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 addresslink.
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.
After ReportPortal is deployed on GKE, wait a few minutes before opening its URL because the workloads and ingress may still be starting.
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.
Deleting the ReportPortal Marketplace application can take several minutes. GKE workloads, Secrets, and ConfigMaps may remain until the cluster is deleted or cleaned up manually.
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.