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.
Assigns one or more secondary private IP addresses to the specified network interface.
Associate an elastic IP address with an instance
Associates a subnet with a route table.
Links an EC2-Classic instance to a ClassicLink-enabled VPC through one or more of the VPC‘s security groups
(Amazon API Reference)
Attaches an Internet gateway to a VPC, enabling connectivity between the Internet and the VPC
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
Add permissions to a security group
or
or
Terminate specified spot instance requests
Copy an image to a different region
Copy a snapshot to a different region
Creates a set of DHCP options for your VPC
Create a bootable EBS volume AMI
Creates an InternetGateway
(none)
Create a new key pair
Creates a network ACL
Creates a Network ACL entry
Creates a network interface
Create a new placement group
Creates a route in a route table within a VPC.
Creates a route table for the specified VPC.
Create a new security group
Create a snapshot of an EBS volume and store it in S3
Create a spot datafeed subscription
Creates a Subnet with the CIDR block you specify.
Adds tags to resources
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
Deletes a network ACL.
Deletes a network ACL entry
Deletes a network interface.
Delete a placement group that you own
Deletes the specified route from the specified route table.
Deletes the specified route table.
Delete a security group that you own
Delete a snapshot of an EBS volume that you own
Delete a spot datafeed subscription
Deletes a subnet from a VPC. You must terminate all running instances in the subnet before deleting it, otherwise Amazon VPC returns an error
Remove tags from resources
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 account attributes
Describe all or specified IP addresses.
Describe all or specified availability zones
Describes one or more of your linked EC2-Classic instances. This request only returns information about EC2-Classic instances linked to a VPC through ClassicLink; you cannot use this request to return information about other instances.
to tag-key, tag-value and tag:key
(Amazon API Reference)[docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeClassicLinkInstances.html
Describe all or specified dhcp_options
Describe all or specified images.
Describes an instance attribute value
-'instanceType' -'kernel' -'ramdisk' -'userData' -'disableApiTermination' -'instanceInitiatedShutdownBehavior' -'rootDeviceName' -'blockDeviceMapping' -'productCodes' -'sourceDestCheck' -'groupSet' -'ebsOptimized' -'sriovNetSupport'
(Amazon API Reference)
Describe all or specified instances
Describe all or specified internet_gateways
Describe all or specified key pairs
Describe all or specified network ACLs
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 one or more of your route tables.
Describe all or specified security groups
Describe all or specified snapshots
Describe spot datafeed subscription
Describe all or specified spot instance requests
Describe all or specified spot price history
Describe all or specified subnets
Describe all or specified tags
Describe all or specified volumes.
Reports the current modification status of EBS volumes.
Describes a vpc attribute value
(Amazon API Reference)
Describes the ClassicLink status of one or more VPCs.
to tag-key, tag-value and tag:key
(Amazon API Reference)[docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcClassicLink.html
escribes the ClassicLink DNS support status of one or more VPCs
docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcClassicLinkDnsSupport.html
Describe all or specified vpcs
Links an EC2-Classic instance to a ClassicLink-enabled VPC through one or more of the VPC‘s security groups
(Amazon API Reference)
Detaches an Internet gateway to a VPC, enabling connectivity between the Internet and the VPC
Detaches a network interface.
Detach an Amazon EBS volume from a running instance
disavbles classic link for a vpc
(Amazon API Reference)
Disables DNS hostname resolution for ClassicLink
docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DisableVpcClassicLinkDnsSupport.html
Disassociate an elastic IP address from its instance (if any)
Disassociates a subnet from a route table.
enables classic link for a vpc
(Amazon API Reference)
Enables a VPC to support DNS hostname resolution for ClassicLink
docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EnableVpcClassicLinkDnsSupport.html
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 subnet attribute.
docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-ModifySubnetAttribute.html
Modifies a volume
Modifies a volume attribute.
Modifies the specified attribute of the specified VPC.
Monitor specified instance docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-MonitorInstances.html
Move address to VPC scope
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
Replace the network ACL for a subnet with a
Replaces a Network ACL entry with the same rule number
Replaces a route in a route table within a VPC.
Launch specified instances
Resets a network interface attribute value
Move address from VPC to Classic
Remove permissions from a security group
or
or
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