# AlloyDB V1ALPHA API - Module Google::Cloud::AlloyDB::V1alpha::Instance::InstanceType (v0.22.0)

0.22.0 (latest) 0.21.0 0.20.0 0.19.0 0.18.0 0.17.1 0.16.0 0.15.0 0.14.1 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.2 0.6.0 0.5.2 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the AlloyDB V1ALPHA API module Google::Cloud::AlloyDB::V1alpha::Instance::InstanceType.

Type of an Instance

## Constants

### INSTANCE_TYPE_UNSPECIFIED

**value:** 0  
The type of the instance is unknown.

### PRIMARY

**value:** 1  
PRIMARY instances support read and write operations.

### READ_POOL

**value:** 2  

READ POOL instances support read operations only. Each read pool instance
consists of one or more homogeneous nodes.

<br />

- Read pool of size 1 can only have zonal availability.
- Read pools with node count of 2 or more can have regional availability (nodes are present in 2 or more zones in a region).

### SECONDARY

**value:** 3  
SECONDARY instances support read operations only. SECONDARY instance
is a cross-region read replica