concept

EBS volume types and AZ placement

EBS provides persistent block devices. Select volume type by access pattern and attach in the same AZ. gp3 is general-purpose SSD; st1 and sc1 cannot boot EC2.

Formal Syntax & Structure

aws syntaxaws
Volume AZ = instance AZ

Working Example

Example Snippetaws
Database in AZ-A → evaluate gp3 in AZ-A.
AWS Reference