This is an archive version of the document. To get the most up-to-date information, see the current version.

New-VBRAmazonEC2ProxyAppliance

Short Description

Defines settings for Amazon EC2 proxy appliances.

Applies to

Platform: VMware, Hyper-V

Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

New-VBRAmazonEC2ProxyAppliance -InstanceType <VBRAmazonEC2InstanceType> -Subnet <VBRAmazonEC2Subnet> -SecurityGroup <VBRAmazonEC2SecurityGroup> -RedirectorPort <int>  [<CommonParameters>]

Detailed Description

This cmdlet creates the VBRAmazonEC2ProxyAppliance object. This object contains settings for Amazon EC2 proxy appliances.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

InstanceType

Specifies a Amazon EC2 instance type. The cmdlet will set the CPU and memory settings for a Amazon EC2 instance according to this instance type.

Accepts the VBRAmazonEC2InstanceType type.

True

Named

False

 

Subnet

Specifies the Amazon VPC subnet.

Accepts the VBRAmazonEC2Subnet type.

True

Named

False

 

SecurityGroup

Specifies the Amazon EC2 security group.

Accepts the VBRAmazonEC2SecurityGroup type.

True

Named

False

 

RedirectorPort

Specifies the redirection port number. Veeam Backup & Replication will use this port to connect to the proxy appliance.

Default: 443

True

Named

False

 

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Return Type

The cmdlet returns the VBRAmazonEC2ProxyAppliance object that contains settings of Amazon EC2 proxy appliances.

Example

This example shows how to define settings for the AmazonEC2 proxy appliance.

  1. Run Get-VBRAmazonAccount to get Amazon EC2 credentials records. Save the result to the $account variable.
  2. Run Get-VBRAmazonEC2Region with the $account variable. Use the RegionType parameter to specify the region type. Save the result to the $region variable.
  3. Run Get-VBRAmazonEC2InstanceType with the $region variable. Save the result to the $instance variable.
  4. Run Get-VBRAmazonEC2VPC with the $region variable. Save the result to the $vpc variable.
  5. Run Get-VBRAmazonEC2SecurityGroup with the $vcp variable. Save the result to the $sgroup variable.
  6. Run Get-VBRAmazonEC2Subnet with the $vpc variable. Use the AvailabilityZone parameter to specify the the Availability Zone. Save the result to the $subnet variable.
  7. Run New-VBRAmazonEC2ProxyAppliance with the $instance, $subnet and $sgroup variables. Use the RedirectorPort parameter to specify the port number.

$account = Get-VBRAmazonAccount -Id "936edf7c-7cf3-4dbd-9895-c7485ef4bb2c"

$region = Get-VBRAmazonEC2Region -Account $account -RegionType Global -Name "ap-northeast-1"

$instance = Get-VBRAmazonEC2InstanceType -Region $region

$vpc = Get-VBRAmazonEC2VPC -Region $region

$sgroup = Get-VBRAmazonEC2SecurityGroup -VPC $vpc

$subnet = Get-VBRAmazonEC2Subnet -VPC $vpc -AvailabilityZone "eu-west-1a"

New-VBRAmazonEC2ProxyAppliance -InstanceType $instance -Subnet $subnet -SecurityGroup $sgroup -RedirectorPort 443

Related Commands