Skip to content

EC2  >  Structures  >  CapacityBlock

CapacityBlock

Structure Class

CapacityBlock dataclass

Bases: _SerdeShape

Reserve powerful GPU instances on a future date to support your short duration machine learning (ML) workloads. Instances that run inside a Capacity Block are automatically placed close together inside Amazon EC2 UltraClusters, for low-latency, petabit-scale, non-blocking networking.

You can also reserve Amazon EC2 UltraServers. UltraServers connect multiple EC2 instances using a low-latency, high-bandwidth accelerator interconnect (NeuronLink). They are built to tackle very large-scale AI/ML workloads that require significant processing power. For more information, see Amazon EC2 UltraServers.

Attributes

availability_zone class-attribute instance-attribute
availability_zone: str | None = ...

The Availability Zone of the Capacity Block.

availability_zone_id class-attribute instance-attribute
availability_zone_id: str | None = ...

The Availability Zone ID of the Capacity Block.

capacity_block_id class-attribute instance-attribute
capacity_block_id: str | None = ...

The ID of the Capacity Block.

capacity_reservation_ids class-attribute instance-attribute
capacity_reservation_ids: list[str] | None = ...

The ID of the Capacity Reservation.

create_date class-attribute instance-attribute
create_date: datetime | None = ...

The date and time at which the Capacity Block was created.

end_date class-attribute instance-attribute
end_date: datetime | None = ...

The date and time at which the Capacity Block expires. When a Capacity Block expires, all instances in the Capacity Block are terminated.

start_date class-attribute instance-attribute
start_date: datetime | None = ...

The date and time at which the Capacity Block was started.

state class-attribute instance-attribute
state: str | None = ...

The state of the Capacity Block.

tags class-attribute instance-attribute
tags: list[Tag] | None = ...

The tags assigned to the Capacity Block.

ultraserver_type class-attribute instance-attribute
ultraserver_type: str | None = ...

The EC2 UltraServer type of the Capacity Block.