extend.md
nsc extend
Extends the duration of an instance.
extend prolongs the duration of an existing instance.
Usage
nsc extend [--duration <duration>] [--ensure_minimum <duration>]
Example
1. Create an ephemeral instance
Create an ephemeral instance and note its ID:
nsc create
Created new ephemeral environment! ID: s6h6i70uk2nqe
2. Extend the instance duration
Ensure that the instance remains available for at least eight hours:
nsc extend s6h6i70uk2nqe --ensure_minimum 8h
New deadline: 2024-08-09T19:29:09.296810204Z
Options
--duration
Extend the duration of the target instance by this duration.
--ensure_minimum
Ensure that the target instance has a minimum of the specified duration.