Most sections of the INI file are identical to the standard INI settings for Unified Access Gateway as supported for vSphere, Hyper-V and Azure deployments.

Refer to https://communities.vmware.com/docs/DOC-30835.
Set-AWSCredential-AccessKey AKIAIOSFODNN7EXAMPLE ` 
-SecretKey wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY ` 
-StoreAs awsCredentialProfile
For AWS EC2 deployments, the following settings in the General section are not used.
  • diskMode
  • ds
  • folder
  • netInternet
  • netManagementNetwork
  • netmask0
  • netmask1
  • netmask2
  • netBackendNetwork
  • source
  • target
  • All of the IPv4 settings
  • All of the IPv6 settings

For AWS EC2 there is a new group called AmazonEC2 that contains all of the settings specific to AWS EC2.

Table 1. Settings specific to AWS EC2
Group Value Example Description
AmazonEC2 amiId
amiId=ami-1986bb7c
The ID of the registered Amazon Machine Image (AMI). This represents the Unified Access Gateway appliance image uploaded to Amazon S3.
Note: This is a mandatory setting.
credentialProfileName
credentialProfileName=MyUAGProfile

The name of the credential profile containing the Access Key ID and Secret Access Key. This must be setup first. See https://docs.aws.amazon.com/powershell/latest/userguide/specifying-your-aws-credentials.html. If this is not set, the deployment will attempt to use the default credential profile.

instanceType
instanceType=c4.large

AWS EC2 instance type. Default is c4.large.

ipv6AddressCount0

ipv6AddressCount1

ipv6AddressCount2

ipv6AddressCount0=1
Count of IPv6 addresses used by EC2 DHCP for eth0, eth1, or eth2.

This is an optional field. If IPv6 is required for any NIC, the value of this field can be set to 1.

If no value is specified, then the default is 0 for each NIC.

region
region=us-east-2
The AWS EC2 region name.
Note: This is a mandatory setting.

privateIPAddress0

privateIPAddress1

privateIPAddress2

privateIPAddress1= 172.31.7.222

Optional fixed IP address used by EC2 DHCP for eth0, eth1, or eth2. Normally this is not required but can be used to set a static private IP address instead of a dynamic one.

publicIPId0

publicIPId1

publicIPId2

publicIPId0=eipalloc-027afa45f34984c87
ipv6AddressCount0=1

AWS EC2 Elastic Public IP address ID associated with eth0, eth1 or eth2. This setting is optional for each NIC.

securityGroupId0

securityGroupId1

securityGroupId2

securityGroupId0=sg-00877c33656609407
AWS EC2 Security Group ID associated with eth0, eth1, or eth2. The same Security Group can be used by multiple Unified Access Gateway instances.
Note: This setting is optional.
If this setting is not specified, the default EC2 Security Group will be used.

subnetId0

subnetId1

subnetId2

subnetId1=subnet-5c980935

AWS EC2 Subnet ID associated with eth0, eth1 or eth2.

  • For one NIC subnetId0 is mandatory.
  • For two NIC subnetId0 and subnetId1 are mandatory.
  • For three NIC subnetId0, subnetId1, and subnetId2 are mandatory.

INI File Definition Example

[General]
name=UAG12
deploymentOption=twonic

[AmazonEC2]

# authentication

credentialProfileName=awsCredentialProfile

# type, region and image

instanceType=c4.large
region=us-east-2
amiId=ami-1986bb7c

# eth0 settings
subnetId0=subnet-5c980935
securityGroupId0=sg-00877c33656609407
publicIPId0=eipalloc-027afa45f34984c87

# eth1 settings
subnetId1=subnet-1f2743c2