Any Citrix Core Managed Instances users or experts...
# aws-workspaces
l
Any Citrix Core Managed Instances users or experts in here? Trying to create a host connection with proxy config via posh and the documentation isnt working. The new-item doesnt appear to support the -connectiontype item
$connection = New-Item -Path $connectionPath
Copy code
-ConnectionType "Custom" -PluginId "AmazonWorkSpacesCoreMachineManagerFactory"
-HypervisorAddress "https://workspaces-instances.$($cloudRegion).api.aws"
Copy code
-CustomProperties> $customProperties
-Persist -Scope @()` -UserName $apiKey -SecurePassword $securePassword ` -ZoneUid $zoneUid New-BrokerHypervisorConnection -HypHypervisorConnectionUid $connection.HypervisorConnectionUid
Think it might be I need the full sdk and not just be on the cloud connector 🙂
b
You need the full sdk. If you need additional help, just let me know 😉
l
I tried the code in the documentation that sets the proxy and builds a host connection, but now it fails on the ZoneUID supplied was invalid. I grabbed that as the ID of the Resource location - is that not it?
s
Try this to get it, assuming you already did the custom properties for the proxy: $ZoneName = "YouZoneName" #Adapt to your preference $ConfigZone = Get-ConfigZone | Where-Object {$_.Name -eq $ZoneName} $connectionName = "YourNewConnectionName" #Adapt to your preference $path =@("XDHyp:\Connections\$connectionname") New-Item -ConnectionType "Custom" -CustomProperties $CustomProperties -HypervisorAddress @("https://workspaces-instances.us-east-1.api.aws") -Path $Path -Persist -PluginId "AmazonWorkSpacesCoreMachineManagerFactory" -Scope @() -securePassword $securePassword -UserName $apikey -ZoneUid $ConfigZone.Uid Edit the hypervisor address to match the target region
worked for me like 7 times 😄
l
Looks like the connectivity list on the cloud connector doesn't include the *.amazonaws.com or *.api.aws, so we need to allow those. Surprised we have to whitelist the full domain and can't reduce it.
or is it possible to keep the amazon traffic internal to amazon and not have to go back thru our firewall out the internet
s
We hit the same challenge and whitelisted the wildcards 😞