euca-run-instances (1) Linux Manual Page
NAME
euca-run-instances – Launch instances of a machine image
SYNOPSIS
euca-run-instances [-n MIN[-MAX]] [-g GROUP] [-k KEYPAIR]
- [-d DATA |
–user-data-forceDATA |-fFILE] - [–addressing {public,private}] [-t INSTANCETYPE] [-z ZONE] [–kernel KERNEL] [–ramdisk RAMDISK] [-b DEVICE=MAPPED] [-m] [–disable-api-termination] [–instance-initiated-shutdown-behavior {stop,terminate}] [–placement-group PLGROUP] [–tenancy {default,dedicated}] [–client-token TOKEN] [-s SUBNET] [–associate-public-ip-address ASSOCIATE_PUBLIC_IP_ADDRESS] [–private-ip-address ADDRESS] [–secondary-address ADDRESS |
–secondary-countCOUNT] [-a INTERFACE] [-p IPROFILE] [–ebs-optimized] [–show-empty-fields] [-U URL] [–region USER [at] REGION] [-I KEY_ID] [-S KEY] [–security-token TOKEN] [–debug] [–debugger] [–version] [-h] IMAGE
DESCRIPTION
Launch instances of a machine image
positional arguments:
- IMAGE
- ID of the image to instantiate (required)
optional arguments:
-nMIN[-MAX],–instance-countMIN[-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.
-gGROUP,–groupGROUP- security group(s) in which to launch the instances
-kKEYPAIR,–keyKEYPAIR- name of the key pair to use
-dDATA,–user-dataDATA- user data to make available to instances in this reservation
–user-data-forceDATA- same as
-d/–user-data, but without checking if a file by that name exists first -fFILE,–user-data-fileFILE- 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.
-tINSTANCETYPE,–instance-typeINSTANCETYPE- type of instance to launch
-
-zZONE,–availability-zoneZONE–kernelKERNEL -
- ID of the kernel to launch the instance(s) with
–ramdiskRAMDISK- ID of the ramdisk to launch the instance(s) with
-bDEVICE=MAPPED,–block-device-mappingDEVICE=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-groupPLGROUP- name of a placement group to launch into
–tenancy{default,dedicated}- [VPC only] "dedicated" to run on single-tenant hardware
–client-tokenTOKEN- unique identifier to ensure request idempotency
-sSUBNET,–subnetSUBNET- [VPC only] subnet to create the instance’s network interface in
–associate-public-ip-addressASSOCIATE_PUBLIC_IP_ADDRESS- [VPC only] whether or not to assign a public address to the instance’s network interface
–private-ip-addressADDRESS- [VPC only] assign a specific primary private IP address to an instance’s interface
–secondary-addressADDRESS,–secondary-private-ip-addressADDRESS- [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-countCOUNT,–secondary-private-ip-address-countCOUNT- [VPC only] automatically assign a specific number of secondary private IP addresses to an instance’s network interface
-aINTERFACE,–network-interfaceINTERFACE- [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.
-pIPROFILE,–iam-profileIPROFILE- 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)"
-UURL,–urlURL- compute service endpoint URL
–regionUSER [at] REGION- region and/or user names to search when looking up config file data
-
-IKEY_ID,–access-key-idKEY_ID-SKEY,–secret-keyKEY–security-tokenTOKEN–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
