Help Center
Choose product document...
Veeam Backup & Replication 9.5 Update 4
PowerShell Reference

Get-VBRAmazonEC2InstanceType

Short Description

Returns an array of Amazon EC2 instances.

Applies to

Platform: VMware, Hyper-V

Product Edition: Community, Standard, Enterprise, Enterprise Plus

Syntax

Get-VBRAmazonEC2InstanceType -Region <VBRAmazonEC2Region> [-Name <string>]  [<CommonParameters>]

Detailed Description

This cmdlet returns an array of Amazon EC2 instance types that are available for the specified AWS region. It also returns the information about the memory and the CPU available for each instance type.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Region

Specifies an AWS region. The cmdlet will return an array of Amazon EC2 instance types that are available for the specified AWS region.

Accepts the VBRAmazonEC2Region type.

True

Named

False

 

Name

Specifies the name of the Amazon EC2 instance type. The cmdlet will return the instance type with this name.

False

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 get an array of all instance types from the specified AWS region. The cmdlet will return all instance types from the ap-northeast-1 AWS region.

  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 AWS region and the Name parameter to specify the name of the AWS region. Save the result to the $region variable.
  3. Run Get-VBRAmazonEC2InstanceType with the $region variable.

$account = Get-VBRAmazonAccount -Name "EC2"

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

Get-VBRAmazonEC2InstanceType -Region $region

Related Commands

Get-VBRAmazonAccount

Get-VBRAmazonEC2Region

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Explorers User Guide

Backup and Restore of SQL Server Databases

Veeam Plug-ins for Enterprise Applications

PowerShell Reference

Veeam Explorers PowerShell Reference

RESTful API Reference

Required Permissions

Veeam Availability for Nutanix AHV

Veeam Backup for Microsoft Office 365 Documentation

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation