IBM::EC2::Server

This resource type represents a server on Amazon Elastic Compute Cloud. It extends the type OS::Nova::Server.
Table 1. Properties
Name Type Required Description
admin_pass String False The administrator password for the server.
admin_user String False Name of the administrative user to use on the server. This property will be removed from Juno in favor of the default cloud-init user that is set up for each image (for example, "ubuntu" for Ubuntu 12.04+, "fedora" for Fedora 19+ and "cloud-user" for CentOS/Red Hat Enterprise Linux 6.5).
availability_zone String False Name of the availability zone for server placement.
block_device_mapping List False Block device mappings for this server. See Table 3.
config_drive String False value for config drive either boolean, or volume-id.
diskConfig String False Control how the disk is partitioned when the server is created. Valid values are AUTO and MANUAL.
flavor String True The ID or name of the flavor to boot onto.
flavor_update_policy String False Policy on how to apply a flavor update; either by requesting a server resize or by replacing the entire server. Valid values are RESIZE and REPLACE.
image String False The ID or name of the image to boot with.
image_update_policy String False Policy on how to apply an image-id update; either by requesting a server rebuild or by replacing the entire server. Valid values are
  • REPLACE (the default)
  • REBUILD
  • REBUILD_PRESERVE_EPHEMERAL
key_name String False Name of key pair to inject into the server.
metadata Map False Arbitrary key/value metadata to store for this server. Both keys and values must be 255 characters or less. Non-string values are serialized to JSON (and the serialized string must be 255 characters or less).
name String False Server name.
networks List False An ordered list of NICs to be added to this server, with information about connected networks, fixed IP addresses, and ports. See Table 4.
personality Map False A map of files to create/overwrite on the server at boot time. Keys are file names and values are the file contents.
reservation_id String False A UUID for the set of servers requested.
scheduler_hints String False Arbitrary key-value pairs that are specified by the client to help boot a server.
security_groups List False List of security group names or IDs. Cannot be used if neutron ports are associated with this server; assign security groups to the ports instead.
software_config_transport String False Specifies how the server receives the metadata that is required for software configuration. POLL_SERVER_CFN allows calls to the Cloud Formation API action DescribeStackResource authenticated with the provided key pair. POLL_SERVER_HEAT allows calls to the Heat API action resource-show by using the provided keystone credentials.
user_data String False User data script to be run by cloud-init.
user_data_format String False How the user_data is formatted for the server. For HEAT_CFNTOOLS, the user_data is bundled as part of the heat-cfntools cloud-init boot configuration data. For RAW the user_data is passed to Nova unmodified. For SOFTWARE_CONFIG the user_data is bundled as part of the software configuration data, and metadata is derived from any associated SoftwareDeployment resources.
Table 2. Custom properties
Name Type Required Description
subnet_id String False The subnet to launch the instance in.
disable_source_dest_check Boolean False Set to True to disable Source/Destination Check on instance. Use for NAT instances.
nat_routetable String False Route table in which to create a route for all traffic for this instance. Use for NAT instances.
The block_device_mapping parameter requires a list of storage volume mappings for the server. The following table shows the properties in each list item.
Table 3. block_device_mapping list properties
Property Type Required Description
delete_on_termination Boolean False Indicates whether the volume is deleted when the server is stopped.
device_name String True A device name where the volume is attached in the system at /dev/device_name. This value is typically vda.
snapshot_id String False The ID of the snapshot to create a volume from.
volume_id String False The ID of the volume to boot from. Provide either the volume_id property or the snapshot_id property but not both.
volume_size Integer False The size of the volume, in GB. You can leave this property blank and have the Compute service infer the size.
The networks parameter requires a list of NICs for the server. The following table shows the properties in each list item.
Table 4. networks list properties
Property Type Required Description
fixed_ip String False Fixed IP address to specify for the port that is created on the requested network
network String False Name or ID of network to create a port on.
port String False ID of an existing port to associate with this server.
uuid String False ID of network to create a port on.
Table 5. Attributes
Name Description
accessIPv4 The manually assigned alternative public IPv4 address of the server.
accessIPv6 The manually assigned alternative public IPv6 address of the server.
addresses A dict of all network addresses with corresponding port_id values.
first_address A convenience attribute to fetch the first assigned network address, or an empty string if nothing is assigned. Result might not be predictable if the server has addresses from more than one network.
id The ID of the instance.
instance_name An AWS compatible instance name.
name The name of the server.
networks A dict of assigned network addresses of the form: {\"public\": [ip1, ip2...], \"private\": [ip3, ip4]}.
private_dns_name The private DNS name of the instance.
public_dns_name The public DNS name of the instance.
public_ip_address A convenience attribute to fetch the public IP address or an empty string if nothing is assigned.
show A dict of all server details as returned by the API.

Feedback