You can deploy Unified Access Gateway to Amazon AWS EC2 by using the uagdeployec2.ps1 PowerShell command.
Procedure
-
From the Omnissa Customer Connect, go to Unified Access Gateway (UAG) PowerShell Scripts file and click DOWNLOAD NOW.
A zip fileuagdeploy-xx.xx.x.x-xxxxxxxxis downloaded on your local machine. -
Extract the files from the zip file. Ensure that the following PowerShell scripts are available on your machine.
uagdeployec2.ps1anduagdeploy.psm1 -
Open PowerShell window and run the command.
uagdeployec2.ps1 <file_name>.ini.Where,
file_nameis the name of your INI file.Note: If you receive an error message
Error: Failed to deploy UAG - User data is limited to 16384 bytes, it means that the configuration data in your INI file is too large for Amazon AWS EC2 deployment. It is a known limitation which Amazon might increase in future.While this limit is in place, it might be necessary to reduce the amount of configuration data specified in your INI file. For example, you can check the SSL certificate files to see if unnecessary root or intermediate certificates can be removed. Alternately, if the SSL certficiates are not required during deployment, you can remove the certificates and upload the SSL certificates after deployment by using the Unified Access Gateway Admin UI.
What to do next
-
Stop the Unified Access Gateway instance.
-
Clear the
userDatavalue from the current instance of Unified Access Gateway by using the following command:edit-EC2InstanceAttribute -InstanceId i-12345678 -Attribute userData -Value "blank".Important: It is recommended to clear the
userDatavalue to avoid the password from being visible in cleartext on the AWS CLI.
Was this page helpful?