Skip to main content

Preparing your Google Cloud platform to install Qlik Sense Enterprise on Windows

This section describes how to set up and configure a single Google Compute Engine instance before installing Qlik Sense Enterprise on Windows as a single node site. A Compute Engine instance is a virtual machine that is hosted on Google Cloud infrastructure. To deploy Qlik Sense Enterprise on Windows in a production-ready, multi-node environment, you need to deploy your Qlik Sense Enterprise on Windows across several virtual machines.

Before you begin

Considerations for a multi-node deployment

Your business requirements determine the best way to deploy Qlik Sense Enterprise on Windows on Google Cloud. These instructions describe the basic configuration for a single Google Compute Engine instance. For larger multi-node sites, you should determine the architecture requirements of your multi-node deployment before you begin. Here are some important things to consider when planning a multi-node deployment:

  • Ensure your Google Cloud region is geographically close to your on-premises network and data sources when possible. This reduces network latency.

  • Deploy your Google Cloud cluster across zones. This helps you build a highly available solution. For more information, see, Overview of the high availability configuration.
  • Take advantage of the native Google Cloud Platform components, such as Google Cloud SQL Databases, for your Qlik Sense Enterprise on Windows deployment. For more information see, Cloud SQL features.

    Note: Storage layer resiliency is a requirement for any multi-node environment, and it is requirement to use central node failover with Qlik Sense Enterprise on Windows. See Storage layer resiliency to understand the requirement.

Create a project

A Google Cloud project is a container for organizing the Google Cloud resources that you create for your Qlik Sense Enterprise on Windows deployment. For more information about Google Cloud projects, see Projects.

  1. From the Google Cloud Platform console dashboard, click the scope picker.

    Google Cloud console scope picker
  2. From the scope picker window, Click New Project.

  3. Provide a unique name for the project.

  4. Select the appropriate billing account.

  5. Select the organization this project will belong to.

  6. Select the project location. The location refers to the folder.

  7. Click Create.

When finished, the project is displayed on your dashboard on the Project info card, and the scope picker shows the newly created project.

Google cloud dashboard new project card

Create a virtual private cloud network

A Google Virtual Private Cloud (VPC) network is an isolated virtual network that is hosted on the Google Cloud network. For more information about Google VPC networks, see VPC network overview.

  1. From the Services menu, in the Networking section, select VPC network > VPC networks.

    Note: If you are creating a new project, you are prompted to enable the Compute Engine API to create a VPC.
  2. Click Create VPC Network.

  3. Enter a name and description for the VPC.

  4. Under Subnets, select Automatic.

    Note: Automatic creation mode creates a range of IP address for each region. Custom creating mode requires that you create subnets manually.
  5. Leave the firewall rules unselected.

  6. Select Regional Dynamic routing mode.

  7. Leave the Maximum Transmission Unit (MTU) at 1460.

  8. Click Create.

Note: It is possible to create the firewall rules at the same time, but in this procedure you create the firewall rules separately.
When finished, the VPC networks page shows your VPC and lists the subnets, along with their IP ranges and region.
Google cloud console VPC network page with newly created VPC subnets

Create VPC firewall rules

Google Cloud VPC firewall rules control inbound and outbound connections to and from your Compute Engine instance. For more information on VPC firewall rules, see VPC firewall rules overview.

  1. Click the VPC network you created in the steps above to open the VPC network details page.

  2. Above the list of subnets, select Firewall rules.

  3. Click Add firewall rule for each new firewall rule.

  4. Create the following firewall rules:

    Type Targets Filters Protocols / ports Action Priority Logs
    Ingress Apply to all IP ranges: 10.128.0.0/9 icmp Allow 1000 off
    Ingress Apply to all IP ranges: 10.128.0.0/9 all Allow 1000 off
    Ingress Apply to all IP ranges: 0.0.0.0/0 tcp:3389 Allow 1000 off
    Ingress Apply to all IP ranges: 0.0.0.0/0 tcp:80,443 Allow 1000 off
  5. Click Create.

A summary of the firewall rules is displayed.

Google Cloud firewall rules page
Note: These rules are only for testing and for the initial setup of your Compute Engine instance. You might need to change your rules for a production environment. For example, the my-test-firewall-allow-rdp rule opens port 3389 to the internet. In a production environment, you might want to use a VPN or a private connection instead.

Create a storage disk

Google Cloud storage disks are attached to Compute Engine instance to act as the boot disk and to provide persistent storage. For more information about all of the Google Cloud storage options, see Storage options.

You can create the disk independently from the Compute Engine instance or at the same time as you create the instance. These instructions separate the two tasks to keep the procedures distinct.

  1. From the Services menu, in the Compute section, select Compute Engine > Disks.

  2. Click Create Disk.

  3. Enter a name for the disk.

  4. Provide an optional description.

  5. For the remaining details, use the following values:

    Field Value
    Type

    Standard persistent disk

    It is not required to select Replicate this disk within region for this example. To learn about Regional persistent disks, see Regional persistent disks.

    Region Select an appropriate region.
    Zone Select a zone within your region.
    Snapshot schedule No schedule
    Source type Image
    Source image

    windows-2019-dc-v20201208

    Size (GB) 50
    Encryption Google-managed key
  6. Click Create.

Your disk takes a moment to be created. When ready, it is listed on the Disks overview page.

Google Cloud Platform disk overview page
Note: The source image and the size of the disk depend on your requirements. The values above are sufficient for a single-node test site. Before creating your disk, understand your requirements.

Create a Compute Engine instance

A Google Cloud Compute Engine instance is a virtual machine (VM) that is hosted on Google Cloud infrastructure. You can group instances into cluster to take advantage of Google Cloud autoscaling and load balancing. For more information about VMs, see Virtual machine instances.

Note: In this procedure, you only need to create a single instance for a single-node site. In a multi-node site, follow the same instruction to create your rim nodes.
  1. From the Services menu, in the Compute section, select Compute Engine > VM instances.

  2. Click Create.

  3. Enter a name for the Compute Engine instance.

  4. Select the same Region and Zone as you did previously when creating the disk.

  5. For Machine Configuration, on the General-purpose tab, select the E2 series and e2-medium (2vCPU, 4 GB memory) machine type.

    Note: These settings are sufficient for a non-production single-node deployment. For specific deployments, choose the machine configuration that meets your requirements.
  6. Clear Confidential VM service.

  7. Clear Container.

  8. On the Boot disk card, click Change.

  9. On the Existing disks tab, select the disk you created previously.

  10. Click Select.

  11. For Identity and API access, select Compute Engine default service account as the Service account.

  12. For Access scopes, select Allow default access.

  13. For Firewall, leave the options unchecked.

    Note: HTTP and HTTPS traffic is allowed through the firewall rules you created earlier.
  14. Expand the Management, security, disks, networking, sole tenancy section.

  15. On the Networking tab, select your VPC network. Use the default values for the remaining options.

  16. Click Done.

  17. Click Create.

When finished, the Compute Engine instance is available from the VM instances overview page.

Google cloud platform compute engine instance created

Connect to the Compute Engine instance through a Remote Desktop Protocol (RDP)

  1. From the Services menu, in the Compute section, select Compute Engine > VM instances.

    The Compute Engine instance you created is listed on the overview page.

  2. From the Connect column, click the down arrow beside RDP.
  3. Select Set Windows password.
  4. Optionally change the default username, then click Set.
  5. Copy the automatically generated password.
  6. Open the Windows RDP client.
  7. Enter the External IP in the RDP.
  8. Log into the instance using the username and password you saved from above.

    Note: When you connect, you must accept the certificates to continue.

Create Windows user accounts

On your virtual machine, you must set up an administrator service account to install and run Qlik Sense. You can also create additional local user accounts to access Qlik Sense Enterprise on Windows after installation.

  1. From the Windows virtual machine you created, open the Computer Management application.
  2. Under Local Users and Groups, right-click on Users, then select New User.
  3. Enter a user name and a password. Optionally add a full name and description.
  4. Clear User must change password at next logon.
  5. Select Password never expires.

    Windows Computer Management windows to create a new user
  6. Click Create.
  7. Right-click the user your created, then select Properties.
  8. Click Member Of.
  9. Click Add.
  10. Type Administrators, then click Check Names. The field will populate with the Administrators group.
  11. Windows Computer management console add user to memeber of group
  12. Click OK.

  13. Under Member of, Click Users.

  14. Click Remove.

  15. Click OK.

Note: To create the local users that can log into Qlik Sense, follow the steps from above for each new user. Do not assign them to the Administrators group.
Tip: As the administrator, it is good practice to record and save the user details that you create, like user role descriptions and account settings.

Install Qlik Sense Enterprise on Windows on the Google Compute Engine instance

After the instance is configured, and the user accounts are created, you can install Qlik Sense Enterprise on Windows on your Compute Engine instance.

Note:

When installing Qlik Sense Enterprise on Windows, you are prompted to enter the server name or address. The correct server name should appear in the field automatically. Do not use a fully qualified domain name.