How to Check Instance Availability Required for Pure Cloud Block Store Deployment
Introduction
Cloud Block Store on AWS and on Azure is utilizing a range of services and instances. Generally, not all instances types can be available in all the regions, This might be due to the limited number of instances, or it might be available upon customer request. As CBS platform is built on the certain instance that has been designed, tested, and selected carefully to provide the capabilities and performance that can be leveraged.
We aim to keep the tables on Regions Support up to date. However, it is recommended to check the availability of the instance in the selected region before deploying.
Check AWS Resources
Instance Type
In a Terminal, Install and configure AWS CLI, then execute the command:
For v20 Model: c5n.18xlarge
For v10 Model: c5n.9xlarge
aws ec2 describe-instance-type-offerings \ --filters Name=instance-type,Values=<instance_type> \ --query "InstanceTypeOfferings[].InstanceType" \ --region <region-name>
Alternatively, use AWS CloudShell, see the example below:
Check Azure Resources
Instance Type and Ultra Disks
In Azure Console, open Cloud Shell, choose Powershell, and execute the below:
you would need to edit the script with your region and CBS Model
$region = "southeastasia" # change the region $cbsModel = "v10" # choose v10 or v20 $vmSize = ($cbsModel -eq "v20") ? "Standard_D64s_v3" : "Standard_D32s_v3" $sku = Get-AzComputeResourceSku | where {$_.Locations -contains $region -and $_.Name -eq $vmSize} $skuZones = $sku.LocationInfo[0].zones $ultra = $sku.LocationInfo[0].ZoneDetails Write-Output "### Checking if the VM Family is available ..." if($sku.LocationInfo[0].zones){Write-host "### $vmSize is supported in $region region in the following zones $skuZones "} Else {Write-host "$vmSize is NOT supported in $region region"} Write-Output "### Checking if the Ultra Managed Disks available ..." if($ultra){Write-host "### Ultra Disk are supported in $region region in the following zones $($ultra.Name) "} Else {Write-host "$vmSize is NOT supported with Ultra Disk in $region region"}