New-VBRAmazonEC2ProxyAppliance
Short Description
Defines settings for Amazon EC2 helper appliances.
Platform: VMware, Hyper-V
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
New-VBRAmazonEC2ProxyAppliance -InstanceType <VBRAmazonEC2InstanceType> -Subnet <VBRAmazonEC2Subnet> -SecurityGroup <VBRAmazonEC2SecurityGroup> -RedirectorPort <Int32> [<CommonParameters>] |
Detailed Description
This cmdlet creates the VBRAmazonEC2ProxyAppliance object. This object contains settings for Amazon EC2 helper appliances.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
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 |
True |
Named |
False |
|
|
RedirectorPort |
Specifies the redirection port number. Veeam Backup & Replication will use this port to connect to the proxy appliance.
Default: |
|
True |
Named |
False |
|
SecurityGroup |
Specifies the Amazon EC2 security group.
Accepts the |
True |
Named |
False |
|
|
Subnet |
Specifies the Amazon VPC subnet.
Accepts the |
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRAmazonEC2ProxyAppliance object that contains settings of Amazon EC2 helper appliances.
Examples
Defining Settings for AmazonEC2 Help Appliance
This example shows how to define settings for the AmazonEC2 helper appliance.
|
$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 |
Perform the following steps:
- Run the
Get-VBRAmazonAccountReturns AWS credentials records. cmdlet. Specify theIdparameter value. Save the result to the$accountvariable. - Run the
Get-VBRAmazonEC2RegionReturns AWS Regions and datacenters. cmdlet. Set the$accountvariable as theAccountparameter value. Set theGlobalvalue as theRegionTypeparameter value. Specify theNameparameter value. Save the result to the$regionvariable. - Run the
Get-VBRAmazonEC2InstanceTypeReturns an array of Amazon EC2 instances. cmdlet. Set the$regionvariable as theRegionparameter value. Save the result to the$instancevariable. - Run the
Get-VBRAmazonEC2VPCReturns an Amazon VPC. cmdlet. Set the$regionvariable as theRegionparameter value. Save the result to the$vpcvariable. - Run the
Get-VBRAmazonEC2SecurityGroupReturns an array of AmazonEC2 security groups. cmdlet. Set the$vpcvariable as theVPCparameter value. Save the result to the$sgroupvariable. - Run the
Get-VBRAmazonEC2SubnetReturns an array of Amazon VPC subnets. cmdlet. Set the$vpcvariable as theVPCparameter value. Specify theAvailabilityZoneparameter value. Save the result to the$subnetvariable. - Run the
New-VBRAmazonEC2ProxyAppliancecmdlet. Specify the following settings:- Set the
$instancevariable as theInstanceTypeparameter value. - Set the
$subnetvariable as theSubnetparameter value. - Set the
$sgroupvariable as theSecurityGroupparameter value. - Specify the
RedirectorPortparameter value.
- Set the
Related Commands
Get-VBRAmazonAccountReturns AWS credentials records.Get-VBRAmazonEC2RegionReturns AWS Regions and datacenters.Get-VBRAmazonEC2InstanceTypeReturns an array of Amazon EC2 instances.Get-VBRAmazonEC2VPCReturns an Amazon VPC.Get-VBRAmazonEC2SecurityGroupReturns an array of AmazonEC2 security groups.Get-VBRAmazonEC2SubnetReturns an array of Amazon VPC subnets.