Skip to main content
Pure Technical Services

How to Check Instance Availability Required for Pure Cloud Block Store Deployment

Currently viewing public documentation. Please login to access the full scope of documentation.

KP_Ext_Announcement.png

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:

clipboard_e2cae75f4a3b872e376eb0caa1289dc1f.png

Check Azure Resources

Instance and Disk Types

In Azure Console, open Cloud Shell, choose PowerShell, provide the selected region and CBS model, and execute the below one-liner script:

$region = "centralus" # change the region
$cbsModel = "v20" # 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;$diskSupport = ($cbsModel -eq "v20") ? (Get-AzComputeResourceSku | where {$_.ResourceType -eq 'disks'-and $_.LocationInfo[0].Location -eq $region  -and $_.Name -eq 'Premiumv2_LRS'}) : ($sku.LocationInfo[0].ZoneDetails);$diskZones = ($cbsModel -eq "v20") ? $diskSupport.LocationInfo[0].Zones : $diskSupport.Name;Write-Output "`n`n`n### Checking if the VM Family is available ...";if($sku.LocationInfo[0].zones){Write-host "`n### VM size $vmSize for CBS model $cbsModel is supported in '$region' region in the following availability zones:`n$skuZones " -ForegroundColor Green} Else {Write-Error "Virtual machine size $vmSize  for CBS model $cbsModel is NOT supported in '$region' region"};Write-Output "`n`n`n### Checking if the Disks Type for CBS model $cbsModel is available ...";if($diskSupport){Write-Host "### Disk type for CBS model $cbsModel is supported in '$region' region in the following availability zones:`n$($diskZones)" -ForegroundColor green;} Else {Write-Error "Disk type for CBS model $cbsModel is NOT supported within '$region' region`n"}

clipboard_e71335730f5ac6507d1d7309e6045c1cb.png