Launch instances
Create new instances from a machine image, with a name, tags and a start-up script.
Command in the AWS EC2 toolkit · id ooa.aws_ec2/launch_instances · 10 inputs (2 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Session | String | No | ec2 | Name of the session opened by Connect. |
| Image ID | String | Yes | Machine image (AMI) id. | |
| Instance type | String | Yes | Instance type, e.g. t3.micro or m6i.large. | |
| Count | Number | No | 1 | How many instances to create (1-100). |
| Name | String | No | Name shown in the AWS console (the Name tag). | |
| Key pair | String | No | Name of the key pair for signing in to the instance. | |
| Subnet ID | String | No | Subnet to start the instances in. Leave empty for the default. | |
| Security group IDs | List | No | Security group ids. Leave empty for the default group. | |
| Tags | Dictionary | No | More tags, e.g. {"Team": "Finance", "CostCenter": "4711"}. | |
| User data | String | No | Start-up script or cloud-init text, run when the instance first starts. |
Outputs
| Output | Type | What it is |
|---|---|---|
| instance_ids | List | The ids of the new instances. |
| instances | Table | The new instances, with the same columns as Describe instances. |