New-VBRGoogleCloudComputeProxyAppliance

In this article

    Short Description

    Creates proxy appliances for restoring VMs to Google Cloud.

    Important

    This cmdlet is available starting from Veeam Backup & Replication 11a (build 11.0.1.1261).

    Applies to

    Platform: VMware, Hyper-V

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

    Syntax

    New-VBRGoogleCloudComputeProxyAppliance -InstanceType <VBRGoogleCloudComputeInstanceType> -Subnet <VBRGoogleCloudComputeSubnet>
    -RedirectorPort <int>  [<CommonParameters>]

    Detailed Description

    This cmdlet creates proxy appliances for restoring VMs to Google Cloud.

    Parameters

    Parameter

    Description

    Type

    Required

    Position

    Accept
    Pipeline
    Input

    InstanceType

    Specifies a Google Cloud instance type. The cmdlet will create a new proxy appliance with the settings based on this VM instance type.

    Accepts the VBRGoogleCloudComputeInstanceType object. To get this object, run the Get-VBRGoogleCloudComputeInstanceType cmdlet.

    True

    Named

    False

    Subnet

    Specifies a Google Cloud subnet. The cmdlet will create a new proxy appliance that will use the specified subnet.

    Accepts the VBRGoogleCloudComputeSubnet object. To get this object, run the Get-VBRGoogleCloudComputeSubnet cmdlet.

    True

    Named

    False

    RedirectorPort

    Specifies a port. Veeam Backup & Replication will use this port to route requests between the proxy appliance that the cmdlet will create and backup infrastructure components.

    Int

    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

    VBRGoogleCloudComputeProxyAppliance

    Example

    Creating Google Cloud Proxy Appliance

    This example shows how to create a new Google Cloud proxy appliance.

    $computeregion = Get-VBRGoogleCloudComputeRegion -Name "Europe-west1"

    $computezone = Get-VBRGoogleCloudComputeZone -Region $computeregion

    $instancetype = Get-VBRGoogleCloudComputeInstanceType -Zone $computezone

    $account = Get-VBRGoogleCloudComputeAccount -Name "GCP service account 1"

    $vpc = Get-VBRGoogleCloudComputeVPC -Account $account

    $subnet = Get-VBRGoogleCloudComputeSubnet -Region $computeregion -VPC $vpc

    New-VBRGoogleCloudComputeProxyAppliance -InstanceType $instancetype -Subnet $subnet -RedirectorPort "443"

    Perform the following steps:

    1. Run the Get-VBRGoogleCloudComputeRegion cmdlet. Specify the Name parameter value. Save the result to the $computeregion variable.
    2. Run the Get-VBRGoogleCloudComputeZone cmdlet. Set the $computeregion variable as the Region parameter. Save the result to the $computezone parameter value.
    3. Run the Get-VBRGoogleCloudComputeInstanceType cmdlet. Set the $computezone variable as the Zone parameter. Save the result to the $instancetype parameter value.
    4. Run the Get-VBRGoogleCloudComputeAccount cmdlet. Specify the Name parameter value. Save the result to the $account variable.
    5. Run the Get-VBRGoogleCloudComputeVPC cmdlet. Set the $account variable as the Account parameter. Save the result to the $vpc variable.
    6. Run the Get-VBRGoogleCloudComputeSubnet cmdlet. Set the $computeregion variable as the Region parameter. Set the $vpc variable as the VPC parameter. Save the result to the $subnet parameter value.
    7. Run the New-VBRGoogleCloudComputeProxyAppliance cmdlet. Specify the following settings:
    • Set the $instancetype variable as the InstanceType parameter.
    • Set the $subnet variable as the Subnet parameter.
    • Provide the RedirictorPort parameter value.

    Related Commands