SYN 406 Architecting Citrix for Google Compute Cloud

  • Slides: 69
Download presentation
SYN 406, Architecting Citrix for Google Compute Cloud May 2015 Peter Bats Sr. Solutions

SYN 406, Architecting Citrix for Google Compute Cloud May 2015 Peter Bats Sr. Solutions Architect v 2 March © 2015 Citrix | Confidential

Tweet about this session with hashtag #SYN 406 and #citrixsynergy Follow me @Peter_Bats ©

Tweet about this session with hashtag #SYN 406 and #citrixsynergy Follow me @Peter_Bats © 2015 Citrix

 • Proudly Dutch • Lives in Italy – Turin / Alpes • VMS

• Proudly Dutch • Lives in Italy – Turin / Alpes • VMS Ambassador, Windows NT Wizard, Xen. Guru 3 © 2015 Citrix

© 2015 Citrix

© 2015 Citrix

Session Objectives And Takeaways • Session Objective(s): – Understand architectural considerations when building out

Session Objectives And Takeaways • Session Objective(s): – Understand architectural considerations when building out a Citrix infrastructure in GCE – Highlight some deployment essentials to make it work for you – Discuss scale and economics • You can build a fully functional Xen. App / Xen. Desktop 7. 6 in GCE today • Applications, Sessions and Server VDI are all available © 2015 Citrix

 • Demo • Whirlwind Tour of Google Cloud Platform Agenda • Google Compute

• Demo • Whirlwind Tour of Google Cloud Platform Agenda • Google Compute Engine • Using Xen. Desktop and Compute Engine (demo) • What is Next? © 2015 Citrix

Demo Does it work © 2015 Citrix | Confidential

Demo Does it work © 2015 Citrix | Confidential

Overview Google Cloud Platform

Overview Google Cloud Platform

Google Cloud Platform

Google Cloud Platform

What is Google Cloud Platform • The best way how Google share their •

What is Google Cloud Platform • The best way how Google share their • Cloud Infrastructure • Cloud Knowledge • Cloud Engineers • Your own data center, with minimum cost as possible as it could be

You will be using Google’s Infrastructure Virtual Machines Networking Storage And be placed in

You will be using Google’s Infrastructure Virtual Machines Networking Storage And be placed in a safe place Google’s Data Center And Google will do those for you Scaling Migrating Maintenance Take over anything you don’t wanna do

Manage all API services on Google Cloud (e. g. Translation API, Prediction API, Maps

Manage all API services on Google Cloud (e. g. Translation API, Prediction API, Maps API. . . ) Compose equivalent commands for: Command-line tools (Google Cloud SDK) RESTful API Dashboard for monitoring all resources on Google Cloud Platform

Install/uninstall/upgrade all command-line tools related to Google Cloud Platform Notification for new release of

Install/uninstall/upgrade all command-line tools related to Google Cloud Platform Notification for new release of any Cloud SDK component Automatization

Storage Services in Google Cloud Platform

Storage Services in Google Cloud Platform

Cloud SQL It’s My. SQL, but managed by Google Relational Data Storage on Google

Cloud SQL It’s My. SQL, but managed by Google Relational Data Storage on Google Cloud Use Cases • LAMP Applications • Google App Engine

Cloud Datastore Non-Relational database (No. SQL) Schema-less data Use Cases • Highly Scalable application

Cloud Datastore Non-Relational database (No. SQL) Schema-less data Use Cases • Highly Scalable application

Cloud Storage Protected Your data is protected at multiple physical locations Strong, configurable security

Cloud Storage Protected Your data is protected at multiple physical locations Strong, configurable security OAuth or simple access control on your data Multiple usages + Serve static objects directly + Use with other Google Cloud products (Bridge)

Google Compute Engine Infrastructure-as-a-Service in Google Cloud Platform

Google Compute Engine Infrastructure-as-a-Service in Google Cloud Platform

Infrastucture-as-a-Service Google has resources + CPU Cores + Memory + Networking + Persistency (Disks,

Infrastucture-as-a-Service Google has resources + CPU Cores + Memory + Networking + Persistency (Disks, Snapshot, Cloud Storage. . . ) + Well-trained engineering monkeys You have business and be busy

Google Compute Engine High-performance virtual machines from micro-VM to large instance Powered by Google's

Google Compute Engine High-performance virtual machines from micro-VM to large instance Powered by Google's global network you could build a large cluster with strong and consistent bandwidth, provided by Google Load Balancing spread incoming traffic across instances Fast Bullet Reloading quick deployment of large VMs command-line interface web-based console Highly secured All data written to disk in Compute Engine will be encrypted by high-class encryption algorithm

Instances on GCE KVM-based Virtual machines Fast booting time routinely takes less than 30

Instances on GCE KVM-based Virtual machines Fast booting time routinely takes less than 30 secs Various OS support Various machine types http: //gce-demos. appspot. com

Operating Systems • Windows 2008 R 2 SP 1 • Windows 2012 R 2

Operating Systems • Windows 2008 R 2 SP 1 • Windows 2012 R 2 • Linux • • • Open. Suse SLES RHEL Cent. OS Debian Ubuntu

Google Compute Engine Units (GCEUs) • A unit of CPU capacity used to describe

Google Compute Engine Units (GCEUs) • A unit of CPU capacity used to describe the compute power of instance types • 2. 75 GCEUs = 1 minimum power of 1 logical core on Sandy Bridge platform =

Machine Types (Shared-Core) f 1 -micro Shared Core 0. 6 GB Memory g 1

Machine Types (Shared-Core) f 1 -micro Shared Core 0. 6 GB Memory g 1 -small 1 Core 1. 7 GB Memory 1. 38 GCEUs

Machine Types (Standard) n 1 -standard-n Starts from 1 Core Start from 3. 75

Machine Types (Standard) n 1 -standard-n Starts from 1 Core Start from 3. 75 GB Memory n Virtual CPUs Memory GCEUs 1 1 3. 75 GB 2. 75 2 2 7. 50 GB 5. 50 4 4 15 GB 11 8 8 30 GB 22 16 16 60 GB 44 32 Beta 32 120 GB 88

Machine Types (High Memory) n 1 -highmem-n Starts from 2 Core Start from 13

Machine Types (High Memory) n 1 -highmem-n Starts from 2 Core Start from 13 GB Memory n Virtual CPUs Memory GCEUs 2 2 13 GB 5. 50 4 4 26 GB 11 8 8 52 GB 22 16 16 104 GB 44 32 Beta 32 208 GB 88

Machine Types (High CPU) n 1 -highcpu-n Starts from 2 Core Start from 13

Machine Types (High CPU) n 1 -highcpu-n Starts from 2 Core Start from 13 GB Memory n Virtual CPUs Memory GCEUs 2 2 1. 80 GB 5. 50 4 4 3. 60 GB 11 8 8 7. 20 GB 22 16 16 14. 4 GB 44 32 Beta 32 28. 2 GB 88

Regions and Zones us-central 1 -a us-central 1 -b us-central 1 -c europe-west 1

Regions and Zones us-central 1 -a us-central 1 -b us-central 1 -c europe-west 1 -b europe-west 1 -c europe-west 1 -d asia-east-a asia-east-b Singapore?

Live Migration • Transparent Maintenance • Auto restart instances shutdown by system events •

Live Migration • Transparent Maintenance • Auto restart instances shutdown by system events • During transparent maintenance, you could set GCE to your instances in two ways: • Live Migrate Affect performance in some degree but your instances remain online (no downtime) • Terminate and reboot

Persistent Disk • Virtual SCSI device • Block Storage • Persistent until deleted •

Persistent Disk • Virtual SCSI device • Block Storage • Persistent until deleted • Hot-Plug to GCE instances (attach/detach)

Load Balancing • Target Pools • Health Checking • Forwarding Rules

Load Balancing • Target Pools • Health Checking • Forwarding Rules

Persistent IP Addresses • GCE reserved IP for instance, won’t change with the reboot

Persistent IP Addresses • GCE reserved IP for instance, won’t change with the reboot of VMs • You can promote ephemeral IP to persistent IP • No DNS changing anymor

Architecture • Basic architecture (quick jumpstart topology) • Simple GCE only • Simple Hybrid

Architecture • Basic architecture (quick jumpstart topology) • Simple GCE only • Simple Hybrid • Extended architecture • Scale • Availability © 2015 Citrix

Simple Citrix deployment on GCE Connect Via go. gcexencloud. net port 443 endpoint on

Simple Citrix deployment on GCE Connect Via go. gcexencloud. net port 443 endpoint on Secure Gateway User Access via Internet Secure Gateway Delivery Controller XA Session Host AD Controller SQL Server Web Interface License Server XD VDI Host Single Subnet Virtual Network © 2015 Citrix

Simple hybrid deployment AD Controller Secure Gateway Delivery Controller AD Controller SQL Server Web

Simple hybrid deployment AD Controller Secure Gateway Delivery Controller AD Controller SQL Server Web Interface License Server Site-to-Site VPN XA Session Host XD VDI Host Company resources and Applications Data Single Subnet Virtual Network © 2015 Citrix On-Premise Network

Single Zone Delivery Controller. SQL Server AD Controller Delivery Controller. SQL Server License Server

Single Zone Delivery Controller. SQL Server AD Controller Delivery Controller. SQL Server License Server XD VDI Host XA Session Host Delivery Controller. SQL Server AD Controller Site-to-Site VPN Delivery Controller. SQL Server License Server © 2015 Citrix XD VDI Host XA Session Host Virtual Network Single Zone

Demo Environment Walkthrough © 2015 Citrix | Confidential

Demo Environment Walkthrough © 2015 Citrix | Confidential

How do I do this? © 2015 Citrix | Confidential

How do I do this? © 2015 Citrix | Confidential

Recipe for success • Deploy your Google Cloud Engine (GCE) components • Install and

Recipe for success • Deploy your Google Cloud Engine (GCE) components • Install and configure the Citrix components • Prepare your golden image • Clone the golden image • Add newly created VMs to Machine Catalog • Setup your Delivery Group © 2015 Citrix

Deploy the GCE infrastructure Create project Assign users © 2015 Citrix

Deploy the GCE infrastructure Create project Assign users © 2015 Citrix

Deploy the GCE infra (continued) Create virtual network – global virtual network address space

Deploy the GCE infra (continued) Create virtual network – global virtual network address space Create static IP - regional addresses for Secure Gateways © 2015 Citrix

Deploy the GCE infra (continued) • Create VM instances – preferably set to static

Deploy the GCE infra (continued) • Create VM instances – preferably set to static IPs © 2015 Citrix

Recipe for success • Deploy your GCE components • Install and configure the Citrix

Recipe for success • Deploy your GCE components • Install and configure the Citrix components • Prepare your golden image • Clone the golden image • Add newly created VMs to Machine Catalog • Setup your Delivery Group © 2015 Citrix

Install software components • Domain controller : Windows 2012 R 2 • SQL server

Install software components • Domain controller : Windows 2012 R 2 • SQL server : SQL 2012 SP 1 • Desktop controller : XD 7. 6 on Windows 2012 R 2 • Xen. App workers Windows 2008 R 2 : XD 7. 6 VDA on Windows 2012 R 2 / • Server VDI Windows 2008 R 2 : XD 7. 6 VDA on Windows 2012 R 2 / • Secure gateway : SG 3. 3. 2 on Windows 2008 R 2 SP 1 • Web interface : WI 5. 4. 2. 59 on Windows 2008 R 2 SP 1 © 2015 Citrix

Prep your company's domain name • Issue a cert for your domain name (go.

Prep your company's domain name • Issue a cert for your domain name (go. gcexencloud. net) • Create a CNAME © 2015 Citrix

Configuration – Secure gateway • Generate a certificate request • Import issued certificate on

Configuration – Secure gateway • Generate a certificate request • Import issued certificate on Secure Gateway 1 • Export cert on secure gateway 1 • Import exported Cert on Secure Gateway 2 • Delayed automatic start on the service • In GCE, create a HTTPS load balancer set for port 443 and add endpoints for both servers © 2015 Citrix

Citrix Net. Scaler for GCE – Work in Progress • Too early to tell

Citrix Net. Scaler for GCE – Work in Progress • Too early to tell • Full Net. Scaler function – – L 4 -7 traffic management Citrix Mobile. Stream Net. Scaler Gateway Net. Scaler Insight o • W n i rk © 2015 Citrix r P s s e r g o

Single Zone Store. Front Secure Gateway Web Interface Delivery Controller. SQL Server AD Controller

Single Zone Store. Front Secure Gateway Web Interface Delivery Controller. SQL Server AD Controller West. Citrix. Cloud. App. net 443 Netscaler in GCE Store. Front Secure Gateway Web Interface Delivery Controller. SQL Server License Server XD VDI Host XA Session Host Single Zone 443 Store. Front Secure Gateway Web Interface Delivery Controller. SQL Server AD Controller East. Citrix. Cloud. App. net 443 © 2015 Citrix 443 Netscaler in GCE Store. Front Secure Gateway Web Interface Delivery Controller. SQL Server License Server XD VDI Host XA Session Host Virtual Network Citrix. trafficmanager. net CNAME: citrixonazure. com 443 Virtual Network 443

Configuration – Web interface • Authentication method: Explicit, at web interface • Secure access:

Configuration – Web interface • Authentication method: Explicit, at web interface • Secure access: © 2015 Citrix | Confidential

Recipe for success • Deploy your GCE components • Install and configure the Citrix

Recipe for success • Deploy your GCE components • Install and configure the Citrix components • Prepare your golden image • Clone the golden image • Add newly created VM instances to Machine Catalog • Setup your Delivery Group © 2015 Citrix

Configuration – Xen. App worker server • Create server image • Install the Citrix

Configuration – Xen. App worker server • Create server image • Install the Citrix virtual delivery agent (VDA) via the user interface –Sysprep image – Gcesysprep (don’t run the standard Microsoft Sysprep utility) – Snapshot the resultant root persistent disk –Create image in GCE © 2015 Citrix

Configuration – Server VDI • Create server image • Install Desktop Experience • Install

Configuration – Server VDI • Create server image • Install Desktop Experience • Install Citrix VDA via command line • Xen. Desktop. Vda. Setup. exe /quiet /servervdi – Create string value Listof. DDCs and point it at the appropriate DDCs under – HKEY_LOCAL_MACHINESOFTWARECitrixVirtual. Desktop. Agent – Sysprep image – Gcesysprep (don’t run the standard Microsoft Sysprep utility) – Snapshot the resultant root persistent disk – Create image in GCE © 2015 Citrix

Recipe for success • Deploy your GCE components • Install and configure the Citrix

Recipe for success • Deploy your GCE components • Install and configure the Citrix components • Prepare your golden image • Clone the golden image • Add newly created VM instances to Machine Catalog • Setup your Delivery Group © 2015 Citrix

Clone Golden Image • Use Google Cloud portal to manually create groups of VM

Clone Golden Image • Use Google Cloud portal to manually create groups of VM Instances using an Instance Template based on the sysprepped image • Alternatively use the gcloud script provided below to create multiple instances based of the golden image © 2015 Citrix

Recipe for success • Deploy your GCE components • Install and configure the Citrix

Recipe for success • Deploy your GCE components • Install and configure the Citrix components • Prepare your golden image • Clone the golden image • Add newly created VM Instances to Machine Catalog and setup your Delivery Group © 2015 Citrix

Add VM Instance to machine catalog and create delivery group Using Citrix Studio •

Add VM Instance to machine catalog and create delivery group Using Citrix Studio • Add virtual machine to a new or existing machine catalog • Windows Server OS for Xen. App Session hosts • Windows Desktop OS for Server VDI hosts • Select “Deploy using another service or technology” • Create or modify existing delivery group to use new virtual machine © 2015 Citrix

Scale and Economics © 2015 Citrix | Confidential

Scale and Economics © 2015 Citrix | Confidential

Scale testing • Assessment was based on Login. VSI • Validated n 1 -highcpu-4

Scale testing • Assessment was based on Login. VSI • Validated n 1 -highcpu-4 thru n 1 -highcpu-32 (session-based delivery) • Tested the Task-worker, Office-worker and knowledge-worker workloads (login. VSI 4. 1) • Validated n 1 -highstandard-2 thru n 1 -highstandard-32 (session-based delivery) • Tested the Task-worker, Office-worker and knowledge-worker workloads (login. VSI 4. 1) © 2015 Citrix

Machine Types (Shared-Core) f 1 -micro Shared Core 0. 6 GB Memory © 2015

Machine Types (Shared-Core) f 1 -micro Shared Core 0. 6 GB Memory © 2015 Citrix g 1 -small 1 Core 1. 7 GB Memory 1. 38 GCEUs

Machine Types (Standard) n 1 -standard-n Starts from 1 Core Start from 3. 75

Machine Types (Standard) n 1 -standard-n Starts from 1 Core Start from 3. 75 GB Memory © 2015 Citrix n Virtual CPUs Memory GCEUs 1 1 3. 75 GB 2. 75 2 2 7. 50 GB 5. 50 4 4 15 GB 11 8 8 30 GB 22 16 16 60 GB 44 32 Beta 32 120 GB 88

Machine Types (High Memory) n 1 -highmem-n Starts from 2 Core Start from 13

Machine Types (High Memory) n 1 -highmem-n Starts from 2 Core Start from 13 GB Memory © 2015 Citrix n Virtual CPUs Memory GCEUs 2 2 13 GB 5. 50 4 4 26 GB 11 8 8 52 GB 22 16 16 104 GB 44 32 Beta 32 208 GB 88

Machine Types (High CPU) n 1 -highcpu-n Starts from 2 Core Start from 13

Machine Types (High CPU) n 1 -highcpu-n Starts from 2 Core Start from 13 GB Memory © 2015 Citrix n Virtual CPUs Memory GCEUs 2 2 1. 80 GB 5. 50 4 4 3. 60 GB 11 8 8 7. 20 GB 22 16 16 14. 4 GB 44 32 Beta 32 28. 2 GB 88

Instance types – Knowledge Workers workload cost/users © 2015 Citrix

Instance types – Knowledge Workers workload cost/users © 2015 Citrix

Task Worker Workload Users per GCE Instance type Xen. App 7. 6 - Windows

Task Worker Workload Users per GCE Instance type Xen. App 7. 6 - Windows 2008 R 2 CCU per Instance $ Per User/Per Hour 140 $0. 080 131 $0. 070 120 111 $0. 055 $0. 053 100 $0. 060 $0. 052 $0. 058 $0. 053 $0. 050 80 80 $0. 040 60 $0. 030 40 40 $0. 020 20 20 $0. 010 10 © 2015 Citrix 32 16 n 1 - hi gh cp u- 8 gh cp u- n 1 - hi gh cp u- hi 4 * This price reflects the total Azure infrastructure costs (no Citrix/Microsoft licensing included) n 1 - 2 gh cp uhi n 1 - gh cp u- 2 hi n 1 - -h ig hm em -1 em n 1 hm -h ig ni -3 6 -8 hm em -4 -h ig n 1 hm em -2 -h ig n 1 hm -h ig n 1 nd ta -s em -3 ar d n 1 -s ta nd nd ta -s 2 6 -1 -8 ar d -4 ar d n 1 -s ta nd ar d nd ta -s n 1 m -s g 1 n 1 l al ro ic -m f 1 -2 $0. 000 -1 0

Knowledge Worker Workload Users per GCE Instance type Xen. App 7. 6 - Windows

Knowledge Worker Workload Users per GCE Instance type Xen. App 7. 6 - Windows 2008 R 2 CCU per Instance $ Per User/Per Hour 120 $0. 120 100 98 $0. 088 $0. 100 $0. 078 79 $0. 074 80 $0. 072 63 60 $0. 060 40 $0. 040 31 20 $0. 020 15 7 * This price reflects the total Azure infrastructure costs (no Citrix/Microsoft licensing included) © 2015 Citrix 32 gh cp u- 16 n 1 - hi 8 gh cp u- n 1 - hi gh cp uhi n 1 - gh cp u- 4 2 n 1 - hi gh cp u- 2 hi n 1 - hm em -1 ig em n 1 -h hm -h ig ni -3 6 -8 hm em -4 -h ig n 1 -h ig hm em n 1 hm -h ig n 1 em -2 2 ar d -3 6 -s ta nd ar d n 1 -s ta nd nd n 1 ta -s n 1 nd ta -s -1 -8 ar d -4 ar d -s ta nd ar d nd ta -s n 1 m -s g 1 n 1 l al ro ic -m f 1 -2 $0. 000 -1 0

Economics of GCE Excel spreadsheet Provided as a tool to estimate costs Supports two

Economics of GCE Excel spreadsheet Provided as a tool to estimate costs Supports two regions and two user profiles Accounts for computer, network, and storage © 2015 Citrix

Demo Excel Calculator © 2015 Citrix | Confidential

Demo Excel Calculator © 2015 Citrix | Confidential

Before you leave… • Check http: //blogs. citrix. com/author/peterb/ for blog articles on Xen.

Before you leave… • Check http: //blogs. citrix. com/author/peterb/ for blog articles on Xen. App and Xen. Desktop on GCE • Conference Surveys are available online at www. citrixsynergy. com starting Thursday, May 14 at 9: 00 a. m. – Those who provide feedback by 6 pm, Friday, May 15 th will receive: – $20 Amazon e-gift card – Name entered in a drawing for a free Trip to Synergy 2016 (5 chances) Download presentations starting Monday May, 18 th from the My Event Planning tool © 2015 Citrix

Work better. Live better. © 2015 Citrix

Work better. Live better. © 2015 Citrix