EnglishFrenchSpanish

OnWorks favicon

as-terminate-instance-in-auto-scaling-group - Online in th

Run as-terminate-instance-in-auto-scaling-group in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command as-terminate-instance-in-auto-scaling-group 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


as-terminate-instance-in-auto-scaling-group - Terminates a given
instance.

SYNOPSIS


as-terminate-instance-in-auto-scaling-group
InstanceId
--decrement-desired-capacity/no-decrement-desired-capacity
[General Options]

DESCRIPTION


Terminates a given instance. If specified with
--decrement-desired-capacity,
the value of desired capacity will be reduced by 1 when the
instance
is terminated. If specified with --no-decrement-desired-capacity, the
value
of desired capacity will not change and Auto Scaling will
launch a
replacement instance.

ARGUMENTS


InstanceId
ID of the instance to be terminated. You can also set this value
using
"--instance". Required.

SPECIFIC OPTIONS


-d, --decrement-desired-capacity, -D, --no-decrement-desired-capacity
Specify only one of the two flags. If set, desired capacity is
decremented by 1 when we terminate this instance. Otherwise, a new
instance will be launched to compensate for the termination of this
instance. Required.

-f, --force
Forces the terminate action to go through without prompting. By
default,
the terminate command will prompt.

GENERAL OPTIONS


--aws-credential-file VALUE
Location of the file with your AWS credentials. This value can be
set by
using the environment variable 'AWS_CREDENTIAL_FILE'.

-C, --ec2-cert-file-path VALUE
Path to the file holding the X.509 certificate. This value can be
set by
using the environment variable 'EC2_CERT'.

--connection-timeout VALUE
Connection timeout (in seconds). The default value is '30'.

--delimiter VALUE
The delimiter to use when displaying delimited (long) results.

-H, --headers
For displaying tabular or delimited results, it includes the column
headers. For displaying XML results, it returns the HTTP headers
from the
service request, if applicable. This is off by default.

-I, --access-key-id VALUE
The AWS access ID to use.

-K, --ec2-private-key-file-path VALUE
Path to the file holding the X.509 private key. This value can be
set by
using the environment variable 'EC2_PRIVATE_KEY'.

--region VALUE
Amazon EC2 region to use. This value can be set by using the
environment
variable 'EC2_REGION'.

-S, --secret-key VALUE
The AWS Secret Key to use.

--show-empty-fields
Shows empty fields and rows, using a (nil) value. The default is to
not
show empty fields or columns.

--show-request
Displays the URL the tools used to call the AWS Service. The
default
value is 'false'.

--show-table, --show-long, --show-xml, --quiet
The way in which the results are displayed: tabular, delimited
(long),
XML or no output (quiet). Tabular shows a subset of the data in
fixed
column-width form, while long shows all of the returned values
delimited
by a character, XML is the raw return from the service and quiet
suppresses all standard output. The default is tabular, or
'show-table'.

-U, --url VALUE
This option will override the URL for the service call with VALUE.
This
value can be set by using the environment variable
'AWS_AUTO_SCALING_URL'.

INPUT EXAMPLES


Terminates instance 'i-1' and decrements group size.

$PROMPT> as-terminate-instance-in-auto-scaling-group i-1
--decrement-desired-capacity

Terminates instance 'i-2' but does not decrement the group size.

$PROMPT> as-terminate-instance-in-auto-scaling-group i-2
--no-decrement-desired-capacity

OUTPUT


This command returns a table that contains the following:
* ACTIVITY-ID - Id of the scaling activity.
* UPDATED-TIME - Last update time of this activity's status.
* CODE - Status code of the activity.
* CAUSE - Activity cause.
* MESSAGE - Message associated with the acitivity's latest event
(long).
This column appears only in the --show-long view.
* PROGRESS - Progress rate of the activity (long). This column appears
only
in the --show-long view.
* DESCRIPTION - Activity description (long). This column appears only
in the
--show-long view.
* START-TIME - Activity's start time (long). This column appears only
in the
--show-long view.

OUTPUT EXAMPLES


This is an example of the output of this command.

Use as-terminate-instance-in-auto-scaling-group online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 2
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 3
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 4
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 5
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • 6
    Xtreme Download Manager
    Xtreme Download Manager
    The project has a new home now:
    https://xtremedownloadmanager.com/ For
    developers:
    https://github.com/subhra74/xdm Xtreme
    Download Manager is a powerful tool t...
    Download Xtreme Download Manager
  • More »

Linux commands

Ad