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

New-VBRAmazonEC2ProxyAppliance

Short Description

Creates an Amazon EC2 proxy appliance.

Applies to

Platform: VMware, Hyper-V

Product Edition: Community, Standard, Enterprise, Enterprise Plus

Syntax

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

Detailed Description

This cmdlet creates an Amazon EC2 proxy appliance.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

InstanceType

Specifies Amazon EC2 instance type. The cmdlet will create the proxy appliance with the CPU and memory settings of 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: 433

True

Named

False

 

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Return Type

Example

This example shows how to create an 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