Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

GoogleCloudPlatform/citrix-on-gcp

Repository files navigation

status: inactive

This project is no longer actively developed or maintained.

Overview

This repository contains scripts and templates to simplify deployment of the resources described in Citrix's Deploying Citrix Cloud XenApp and XenDesktop Service on the Google Cloud Platform published December 2017.

Before you begin

You'll need a PowerShell environment with the Google Cloud SDK installed.

Deploying Citrix

Clone the repository and run deploy.ps1.

.\deploy.ps1

Optionally, you can set the "UseMinimalResources" parameter to True, if you prefer a "light weight" deployment.

.\deploy.ps1 -UseMinimalResources $True

This flag will reduce overall resource consumption by removing some of the formality of the original reference architecture, namely:

  • Instances will be deployed with public IPs to avoid necessity of NAT instances
  • Single instances will be deployed instead of highly-available pairs for the following instances categories:
    • Domain Controllers
    • Cloud Connectors

With "UseMinimalResources" enabled, the deployment will consume only 8 vCPUs during initial deployment, eventually shutting down the management instance to maintain steady state consumption of only 6 vCPUs. The remaining instances can be stopped and started at will to minimize resource consumption when the environment is not in use.

This smaller deployment footprint can be useful especially when utilizing the Google Cloud Platform Free Tier to experiment with Citrix on GCP.

If not otherwise provided, you will be prompted for three parameter values to allow the script to interact with Citrix Cloud APIs:

  • CTXSecureClientID: This is the client ID of a client configured at Citrix Cloud (cloud.com) > Identity and Access Management > API Access.
  • CTXSecureClientSecret: This is the secret you were provided when the client ID was created.
  • CTXCustomerID: This is the Customer ID identified on Citrix Cloud (cloud.com) > Identity and Access Management > API Access.

The script will use gcloud defaults to initialize parameters such as region and project.

The deployment takes about 30 minutes to complete.

Retrieving passwords

Use get-domain-admin-password.ps1 to retrieve the password associated with the domain administrator (ctx-[SUFFIX]\Administrator where [SUFFIX] is the randomly-assigned suffix associated with you deployment).

.\get-domain-admin-password.ps1

You can use the domain administrator credentials to Remote Desktop to the mgmt instance.

The ctx-[SUFFIX] domain will be populated with ten sample users. The usernames and passwords can be retrived with get-domain-users.ps1.

.\get-domain-users.ps1

These ten domain users are configured with access to Notepad as a sample application through your xendesktop.net Citrix Storefront.

Resizing

Add VDA instances by running resize.ps1 and specifying a larger number for the "Workers" parameter.

.\resize.ps1 -Workers 3

Cleaning up

Remove billable GCP resources with cleanup.ps1.

.\cleanup.ps1

Sample Apps

Sample apps are included to highglight how these scripts can be extended to install custom applications. Instead of Notepad, as described in the deployment guide, a variety of applications (Google Chrome, LibreOffice, Gimp, and Slicer) will be installed and configured as Virtual Apps.

To configure your own sample apps, check out the following files:

  • bootstrap/install-apps.ps1
  • bootstrap/ctx-cleanup-apps.ps1
  • bootstrap/ctx-setup-apps.ps1

Contributing

See CONTRIBUTING.

License

Copyright 2018, Google, Inc.

Licensed under the Apache License, Version 2.0

See LICENSE.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published