Launch instance
lambda_launch_instanceLaunch one or more GPU cloud instances. COSTS MONEY: billing starts as soon as the instance boots (hourly rate per instance_type). Pick region_name + instance_type_name from lambda_list_instance_types (only regions with capacity available), and pass exactly one existing SSH key name in ssh_key_names (create keys in the Lambda dashboard). Lambda Cloud REST: POST /api/v1/instance-operations/launch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | A friendly name for the instance (max 64 chars). | |
| tags | No | Key/value tags to attach to the instance. | |
| hostname | No | Custom hostname (1-63 chars, lowercase alphanumeric and hyphens, pattern ^[a-z0-9][0-9a-z-]{0,62}$). | |
| image_id | No | Specific image id to boot (from lambda_list_images). Mutually exclusive with image_family. | |
| quantity | No | How many instances to launch (default 1). EACH one is billed separately. | |
| user_data | No | cloud-init user-data script to run on first boot (max 1MB). | |
| region_name | Yes | Region to launch in (e.g. 'us-east-1') — must have capacity for the type. | |
| image_family | No | Image family to boot (latest in family). Mutually exclusive with image_id. | |
| ssh_key_names | Yes | Names of SSH keys to install (exactly one supported). The key must already exist in your account. | |
| file_system_names | No | Names of existing persistent filesystems to attach. | |
| instance_type_name | Yes | Instance type to launch (e.g. 'gpu_1x_a100') — from lambda_list_instance_types. |