Skip to main content
Extends the duration of an instance. extend prolongs the duration of an existing instance.

Usage

Example

1

Create an ephemeral instance

Create an ephemeral instance and note its ID:
Output
2

Extend the instance duration

Ensure that the instance remains available for at least eight hours:
Output

Options

—duration <duration>

Extend the duration of the target instance by this duration.

—ensure_minimum <duration>

Ensure that the target instance has a minimum of the specified duration.
Last modified on August 20, 2026