
create-instance
***************


DESCRIPTION
===========

Creates an instance in a specified stack.


SYNOPSIS
========

   aws opsworks create-instance
     [--stack-id <value>]
     [--layer-ids <value>]
     [--ssh-key-name <value>]
     [--hostname <value>]
     [--availability-zone <value>]
     [--auto-scaling-type <value>]
     [--os <value>]
     [--instance-type <value>]


REQUIRED PARAMETERS
===================

None


OPTIONAL PARAMETERS
===================

"--stack-id"  (string)
   The stack ID.

"--layer-ids"  (list of string)
   An array that contains the instance layer IDs.

   *Parameter Syntax*

      ["string", ...]

"--ssh-key-name"  (string)
   The instance SSH key name.

"--hostname"  (string)
   The instance host name.

"--availability-zone"  (string)
   The instance Availability Zone. For more information, see Regions
   and Endpoints .

"--auto-scaling-type"  (string)
   The instance auto scaling type, which has three possible values:

   * **AlwaysRunning** : A 24x7 instance, which is not affected by
     auto scaling.

   * **TimeBasedAutoScaling** : A time-based auto scaling instance,
     which is started and stopped based on a specified schedule. To
     specify the schedule, call  set-time-based-auto-scaling .

   * **LoadBasedAutoScaling** : A load-based auto scaling instance,
     which is started and stopped based on load metrics. To use load-
     based auto scaling, you must enable it for the instance layer and
     configure the thresholds by calling  set-load-based-auto-scaling
     .

"--os"  (string)
   The instance operating system.

"--instance-type"  (string)
   The instance type, which can be one of the following:

   * m1.small

   * m1.medium

   * m1.large

   * m1.xlarge

   * c1.medium

   * c1.xlarge

   * m2.xlarge

   * m2.2xlarge

   * m2.4xlarge
