euca-run-instances1
Launch instances of a machine image
Usage
euca-run-instances [-n
MIN
[-MAX]]
[-g
GROUP]
[-k
KEYPAIR]
Overview
Launch instances of a machine image
positional arguments:
- IMAGE
-
ID of the image to instantiate (required)
optional arguments:
-
-n MIN[-MAX], --instance-count MIN[-MAX] -
number of instances to launch. If this number of instances cannot be launched, no instances will launch. If specified as a range (min-max), the server will attempt to launch the maximum number, but no fewer than the minimum number.
-
-g GROUP, --group GROUP -
security group(s) in which to launch the instances
-
-k KEYPAIR, --key KEYPAIR -
name of the key pair to use
-
-d DATA, --user-data DATA -
user data to make available to instances in this reservation
-
--user-data-force DATA -
same as
-d/--user-data, but without checking if a file by that name exists first
-
-f FILE, --user-data-file FILE -
file containing user data to make available to the instances in this reservation
-
--addressing {public,private} -
[Eucalyptus only, non-VPC only] addressing scheme to launch the instance with. Use "private" to run an instance with no public address.
-
-t INSTANCETYPE, --instance-type INSTANCETYPE -
type of instance to launch
-z ZONE, --availability-zone ZONE
-
--kernel KERNEL -
ID of the kernel to launch the instance(s) with
-
--ramdisk RAMDISK -
ID of the ramdisk to launch the instance(s) with
-
-b DEVICE=MAPPED, --block-device-mapping DEVICE=MAPPED -
define a block device mapping for the instances, in the form DEVICE=MAPPED, where "MAPPED" is "none", "ephemeral(0-3)", or "[SNAPID]:[GiB]:[true|false]:[standard|VOLTYPE[:IOPS]]"
-
-m, --monitor -
enable detailed monitoring for the instance(s)
-
--disable-api-termination -
prevent API users from terminating the instance(s)
-
--instance-initiated-shutdown-behavior {stop,terminate} -
whether to "stop" (default) or terminate EBS instances when they shut down
-
--placement-group PLGROUP -
name of a placement group to launch into
-
--tenancy {default,dedicated} -
[VPC only] "dedicated" to run on single-tenant hardware
-
--client-token TOKEN -
unique identifier to ensure request idempotency
-
-s SUBNET, --subnet SUBNET -
[VPC only] subnet to create the instance's network interface in
-
--associate-public-ip-address ASSOCIATE_PUBLIC_IP_ADDRESS -
[VPC only] assign a public address to the instance's network interface
-
--private-ip-address ADDRESS -
[VPC only] assign a specific primary private IP address to an instance's interface
-
--secondary-address ADDRESS, --secondary-private-ip-address ADDRESS -
[VPC only] assign a specific secondary private IP address to an instance's network interface. Use this option multiple times to add additional addresses.
-
--secondary-count COUNT, --secondary-private-ip-address-count COUNT -
[VPC only] automatically assign a specific number of secondary private IP addresses to an instance's network interface
-
-a INTERFACE, --network-interface INTERFACE -
[VPC only] add a network interface to the new instance. If the interface already exists, supply its ID and a numeric index for it, separated by ":", in the form "eni-NNNNNNNN:INDEX". To create a new interface, supply a numeric index and subnet ID for it, along with (in order) an optional description, a primary private IP address, a list of security group IDs to associate with the interface, whether to delete the interface upon instance termination ("true" or "false"), a number of secondary private IP addresses to create automatically, and a list of secondary private IP addresses to assign to the interface, separated by ":", in the form ":INDEX:SUBNET:[DESCRIPT ION]:[PRIV_IP]:[GROUP1,GROUP2,...]:[true|false]:[SEC_I P_COUNT|:SEC_IP1,SEC_IP2,...]". You cannot specify both of the latter two. This option may be used multiple times. Each adds another network interface.
-
-p IPROFILE, --iam-profile IPROFILE -
name or ARN of the IAM instance profile to associate with the new instance(s)
-
--ebs-optimized -
optimize the new instance(s) for EBS I/O
-
--show-empty-fields -
show empty values as "(nil)"
-
-U URL, --url URL -
compute service endpoint URL
-
--region USER@REGION -
region and/or user names to search when looking up config file data
-I KEY_ID, --access-key-id KEY_ID
-S KEY, --secret-key KEY
--security-token TOKEN
-
--debug -
show debugging output
-
--debugger -
launch interactive debugger on error
-
--version -
show the program's version and exit
-
-h, --help -
show this help message and exit
Releases
5 releases since Debian 6.0 (Squeeze); the text changed 3 times.
--addressing since Debian 7 (Wheezy);
--associate-public-ip-address since Debian 9 (Stretch);
--block-device-mapping since Debian 7 (Wheezy);
--client-token since Debian 8 (Jessie);
--debug since Debian 7 (Wheezy);
--debugger since Debian 7 (Wheezy);
--disable-api-termination since Debian 8 (Jessie);
--ebs-optimized since Debian 8 (Jessie);
--group since Debian 7 (Wheezy);
--help since Debian 7 (Wheezy);
--iam-profile since Debian 8 (Jessie);
--instance-count since Debian 7 (Wheezy);
--instance-initiated-shutdown-behavior since Debian 8 (Jessie);
--instance-type since Debian 7 (Wheezy);
--kernel since Debian 7 (Wheezy);
--key since Debian 7 (Wheezy);
--monitor since Debian 7 (Wheezy);
--network-interface since Debian 8 (Jessie);
--placement-group since Debian 8 (Jessie);
--private-ip-address since Debian 8 (Jessie);
--ramdisk since Debian 7 (Wheezy);
--region since Debian 7 (Wheezy);
--secondary-address since Debian 9 (Stretch);
--secondary-count since Debian 9 (Stretch);
--secondary-private-ip-address since Debian 8 (Jessie);
--secondary-private-ip-address-count since Debian 8 (Jessie);
--show-empty-fields since Debian 8 (Jessie);
--subnet since Debian 7 (Wheezy);
--tenancy since Debian 8 (Jessie);
--url since Debian 7 (Wheezy);
--user-data since Debian 7 (Wheezy);
--user-data-file since Debian 7 (Wheezy);
--user-data-force since Debian 7 (Wheezy);
--version since Debian 7 (Wheezy);
-U since Debian 7 (Wheezy);
-a since Debian 8 (Jessie);
-b since Debian 7 (Wheezy);
-d since Debian 7 (Wheezy);
-f since Debian 7 (Wheezy);
-g since Debian 7 (Wheezy);
-h since Debian 7 (Wheezy);
-k since Debian 7 (Wheezy);
-m since Debian 8 (Jessie);
-n since Debian 7 (Wheezy);
-p since Debian 8 (Jessie);
-s since Debian 7 (Wheezy);
-t since Debian 7 (Wheezy).
--access-key until Debian 7 (Wheezy);
--availability-zone until Debian 7 (Wheezy);
--config until Debian 7 (Wheezy);
--euca-auth until Debian 7 (Wheezy);
--secret-key until Debian 7 (Wheezy);
-A until Debian 7 (Wheezy);
-S until Debian 7 (Wheezy);
-z until Debian 7 (Wheezy).