EnglishFrenchSpanish

Ad


OnWorks favicon

ec2rsi - Online in the Cloud

Run ec2rsi in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command ec2rsi that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


ec2-request-spot-instances - Create a spot instance request

SYNOPSIS


ec2rsi ([ec2-request-spot-instances])
ec2rsi [GENERAL OPTIONS] AMI [SPECIFIC OPTIONS]

GENERAL NOTES


Any command option/parameter may be passed a value of '-' to indicate
that values for that option should be read from stdin.

DESCRIPTION


Creates a spot instance request.

GENERAL OPTIONS


-O, --aws-access-key KEY
AWS Access Key ID. Defaults to the value of the AWS_ACCESS_KEY
environment variable (if set).

-W, --aws-secret-key KEY
AWS Secret Access Key. Defaults to the value of the AWS_SECRET_KEY
environment variable (if set).

-T, --security-token TOKEN
AWS delegation token. Defaults to the value of the AWS_DELEGATION_TOKEN
environment variable (if set).

-K, --private-key KEY
[DEPRECATED] Specify KEY as the private key to use. Defaults to the value of the
EC2_PRIVATE_KEY environment variable (if set). Overrides the default.

-C, --cert CERT
[DEPRECATED] Specify CERT as the X509 certificate to use. Defaults to the value
of the EC2_CERT environment variable (if set). Overrides the default.

-U, --url URL
Specify URL as the web service URL to use. Defaults to the value of
'https://ec2.amazonaws.com' (us-east-1) or to that of the
EC2_URL environment variable (if set). Overrides the default.

--region REGION
Specify REGION as the web service region to use.
This option will override the URL specified by the "-U URL" option
and EC2_URL environment variable.
This option defaults to the region specified by the EC2_URL environment variable
or us-east-1 if this environment variable is not set.

-D, --auth-dry-run
Check if you can perform the requested action rather than actually performing it.

-v, --verbose
Verbose output.

-?, --help
Display this help.

-H, --headers
Display column headers.

--debug
Display additional debugging information.

--show-empty-fields
Indicate empty fields.

--hide-tags
Do not display tags for tagged resources.

--connection-timeout TIMEOUT
Specify a connection timeout TIMEOUT (in seconds).

--request-timeout TIMEOUT
Specify a request timeout TIMEOUT (in seconds).

SPECIFIC OPTIONS


-b, --block-device-mapping MAPPING
Defines a block device mapping for the image, in the form
'<device>=<block-device>', where 'block-device' can be one of the
following:

- 'none': indicates that a block device that would be exposed at the
specified device should be suppressed. For example: '/dev/sdb=none'

- 'ephemeral[0-3]': indicates that the Amazon EC2 ephemeral store
(instance local storage) should be exposed at the specified device.
For example: '/dev/sdc=ephemeral0'.

-
'[<snapshot-id>][:<size>[:<delete-on-termination>][:<type>[:<iops>]][:encrypted]]':
indicates
that an Amazon EBS volume, created from the specified Amazon EBS
snapshot, should be exposed at the specified device. The following
combinations are supported:

- '<snapshot-id>': the ID of an Amazon EBS snapshot, which must
be owned by the caller. May be left out if a <size> is
specified, creating an empty Amazon EBS volume of the specified
size.

- '<size>': the size (GiBs) of the Amazon EBS volume to be
created. If a snapshot was specified, this may not be smaller
than the size of the snapshot itself.

- '<delete-on-termination>': indicates whether the Amazon EBS
volume should be deleted on instance termination. If not
specified, this will default to 'true' and the volume will be
deleted.

- '<type>': specifies the volume type. This can be either
'standard' or 'io1'. Defaults to standard.

- '<iops>': The requested number of I/O operations per
second that the volume can support.

- 'encrypted': Indicates that the volume should be encrypted.

For example: '/dev/sdb=snap-7eb96d16'
'/dev/sdc=snap-7eb96d16:80:false'
'/dev/sdc=snap-7eb96d16:80:false:io1:100'
'/dev/sdd=:120'
'/dev/sdd=:120:encrypted'

See the latest Developer's Guide for further information.

-d, --user-data DATA
Specifies the user data to be made available to the instance(s) in
this reservation.

-f, --user-data-file DATA-FILE
Specifies the file containing user data to be made available to the
instance(s) in this reservation.

-g, --group GROUP [--group GROUP...]
Specifies the security group (or groups if specified multiple times)
within which the instance(s) should be run. Determines the ingress
firewall rules that will be applied to the launched instances.
Defaults to the user's default group if not supplied.

-k, --key KEY-PAIR
Specifies the key pair to use when launching the instance(s).

-m, --monitor
Enables monitoring of the specified instance(s).

-n, --instance-count COUNT
The maximum number of spot instances to launch.

-p, --price PRICE
Specifies the maximum hourly price for any spot instance launched to
fulfill the request.

-r, --type REQUEST
Specified the spot instance request type; either 'one-time' or
'persistent'.

-s, --subnet SUBNET
The ID of the Amazon VPC subnet in which to launch the instance(s).

-t, --instance-type TYPE
Specifies the type of instance to be launched. Refer to the latest
Developer's Guide for valid values.

-z, --availability-zone ZONE
Specifies the availability zone to launch the instance(s) in. Run the
'ec2-describe-availability-zones' command for a list of values, and
see the latest Developer's Guide for their meanings.

--addressing ADDRESSING
Specifies the addressing type to use for the instance(s). Refer to the
latest Developer's Guide for valid values.

--availability-zone-group GROUP
Specifies the spot instance availability zone group.

--placement-group GROUP_NAME
Specifies the placement group into which the instances
should be launched.

--kernel KERNEL
Specifies the ID of the kernel to launch the instance(s) with.

-a, --network-attachment NETWORKATTACHMENT
Specifies the network attachment for the instance to launch.
The format of the attachment definition is as follows:
<nic>:<dev index>[:<subnet>[:<description>[:<priv IP>[:<SGs>[:<DOT>
[:SIP count[:<SIPs>]]]]]]], where:
- SGs is a comma separated list of security group IDs.
- DOT is either true or false, denoting whether to delete the interface
on termination.
- SIP count is the count of secondary private IP addresses.
- SIPs is a list of secondary private IP addresses.
Specify only one of SIP count or SIPs.

--iam-profile ARN
Specifies the IAM profile to associate with the launched instance(s).
IAM profiles enable you to manage permissions for applications running on EC2.

--launch-group GROUP
Specifies the spot instance launch group.

--ebs-optimized
Provides dedicated throughput to Amazon EBS and a software
stack optimized for EBS I/O. Additional usage charges apply
when using this option.

--ramdisk RAMDISK
Specifies the ID of the ramdisk to launch the instance(s) with.

--valid-from VALIDFROM
The date and time after which the spot instance reuqest will be
considered for fulfillment; specified in the format
'yyyy-MM-ddTHH:mm:ss'.

--valid-until VALIDUNTIL
The date and time after which the spot instance request will expire
and no longer be considered for fulfillment; specified in the format
'yyyy-MM-ddTHH:mm:ss'.

--secondary-private-ip-address SECONDARY-PRIVATE-IP-ADDRESS
Specifies a secondary private IP address for the network interface
of the instance to be launched.

--secondary-private-ip-address-count SECONDARY-PRIVATE-ADDRESS-COUNT
Specifies a number of secondary private IP addresses to be
dynamically assigned to the instance to be launched.

--associate-public-ip-address BOOLEAN
Specify whether or not an AWS public IP address should be assigned to the eth0
of the instances to be launched. Instances launched into a default subnet are
assigned a public IP address by default.

Use ec2rsi online using onworks.net services


Ad