deprecation
region | [RW] |
Initialize connection to EC2
Notesoptions parameter must include values for :aws_access_key_id and :aws_secret_access_key in order to create a connection Examplessdb = SimpleDB.new( :aws_access_key_id => your_aws_access_key_id, :aws_secret_access_key => your_aws_secret_access_key ) Parameters
Returns
|
Acquire an elastic IP address.
Associate an elastic IP address with an instance
Attach a network interface
Attach an Amazon EBS volume with a running instance, exposing as specified device
Add permissions to a security group
or
or
Terminate specified spot instance requests
Create a bootable EBS volume AMI
Creates an InternetGateway
(none)
Creates a network interface
Create a snapshot of an EBS volume and store it in S3
Creates a Subnet with the CIDR block you specify.
Create an EBS volume
Creates a VPC with the CIDR block you specify.
Deletes a set of DHCP options that you specify. Amazon VPC returns an error if the set of options you specify is currently associated with a VPC. You can disassociate the set of options by associating either a new set of options or the default options with the VPC.
==== Parameters * dhcp_options_id<~String> - The ID of the DHCP options set you want to delete. === Returns * response<~Excon::Response>: * body<~Hash>: * 'requestId'<~String> - Id of request * 'return'<~Boolean> - Returns true if the request succeeds. {Amazon API Reference}[http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteDhcpOptions.html]
Deletes an Internet gateway from your AWS account. The gateway must not be attached to a VPC
==== Parameters * internet_gateway_id<~String> - The ID of the InternetGateway you want to delete. === Returns * response<~Excon::Response>: * body<~Hash>: * 'requestId'<~String> - Id of request * 'return'<~Boolean> - Returns true if the request succeeds. {Amazon API Reference}[http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteInternetGateway.html]
Delete a key pair that you own
Delete a placement group that you own
Delete a snapshot of an EBS volume that you own
Delete an EBS volume
Deletes a VPC. You must detach or delete all gateways or other objects that are dependent on the VPC first. For example, you must terminate all running instances, delete all VPC security groups (except the default), delete all the route tables (except the default), etc.
deregister an image
Describe all or specified IP addresses.
Describe all or specified availability zones
Describe all or specified images.
Describe all or specified instances
Describe all or specified key pairs
Describes a network interface attribute value
Describe all or specified network interfaces
Describe all or specified placement groups
Describe all or specified regions
Describe all or specified reserved instances
Describe all or specified reserved instances offerings
Describe all or specified security groups
Describe all or specified spot instance requests
Describe all or specified subnets
Describe all or specified tags
Describe all or specified volumes.
Describe all or specified vpcs
Retrieve console output for specified instance
# * response<~Excon::Response>:
* body<~Hash>: * 'instanceId'<~String> - Id of instance * 'output'<~String> - Console output * 'requestId'<~String> - Id of request * 'timestamp'<~Time> - Timestamp of last update to output
Retrieves the encrypted administrator password for an instance running Windows.
# * response<~Excon::Response>:
* body<~Hash>: * 'instanceId'<~String> - Id of instance * 'passwordData'<~String> - The encrypted, base64-encoded password of the instance. * 'requestId'<~String> - Id of request * 'timestamp'<~Time> - Timestamp of last update to output
Import an existing public key to create a new key pair
Modify image attributes
Modify instance attributes
Modifies a network interface attribute value
description - a string groupSet - a list of group id's sourceDestCheck - a boolean value attachment - a hash with: attachmentid - the attachment to change deleteOnTermination - a boolean
Modify snapshot attributes
Modifies a volume attribute.
Monitor specified instance docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-MonitorInstances.html
Purchases a Reserved Instance for use with your account.
Reboot specified instances
# * response<~Excon::Response>:
* body<~Hash>: * 'requestId'<~String> - Id of request * 'return'<~Boolean> - success?
Release an elastic IP address.
non-VPC: requires public_ip only
VPC: requires allocation_id only
Launch specified instances
Remove permissions from a security group
or
or
Launch specified instances
Start specified instance
Stop specified instance
Terminate specified instances
# * response<~Excon::Response>:
* body<~Hash>: * 'requestId'<~String> - Id of request * 'instancesSet'<~Array>: * 'instanceId'<~String> - id of the terminated instance * 'previousState'<~Hash>: previous state of instance * 'code'<~Integer> - previous status code * 'name'<~String> - name of previous state * 'shutdownState'<~Hash>: shutdown state of instance * 'code'<~Integer> - current status code * 'name'<~String> - name of current state
UnMonitor specified instance docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-UnmonitorInstances.html