Table Of Contents


User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . ec2 ]



Describes your Elastic IP addresses that are being moved to the EC2-VPC platform, or that are being restored to the EC2-Classic platform. This request does not return information about any other Elastic IP addresses in your account.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.


[--filters <value>]
[--dry-run | --no-dry-run]
[--max-results <value>]
[--next-token <value>]
[--public-ips <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]


--filters (list)

One or more filters.

  • moving-status - The status of the Elastic IP address (MovingToVpc | RestoringToClassic ).

Shorthand Syntax:

Name=string,Values=string,string ...

JSON Syntax:

    "Name": "string",
    "Values": ["string", ...]

--dry-run | --no-dry-run (boolean)

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation . Otherwise, it is UnauthorizedOperation .

--max-results (integer)

The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1000; if MaxResults is given a value outside of this range, an error is returned.

Default: If no value is provided, the default is 1000.

--next-token (string)

The token for the next page of results.

--public-ips (list)

One or more Elastic IP addresses.


"string" "string" ...

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.


To describe your moving addresses

This example describes all of your moving Elastic IP addresses.


aws ec2 describe-moving-addresses


  "MovingAddressStatuses": [
      "PublicIp": "",
      "MoveStatus": "MovingToVpc"

This example describes all addresses that are moving to the EC2-VPC platform.


aws ec2 describe-moving-addresses --filters Name=moving-status,Values=MovingToVpc


MovingAddressStatuses -> (list)

The status for each Elastic IP address.


Describes the status of a moving Elastic IP address.

MoveStatus -> (string)

The status of the Elastic IP address that's being moved to the EC2-VPC platform, or restored to the EC2-Classic platform.

PublicIp -> (string)

The Elastic IP address.

NextToken -> (string)

The token to use to retrieve the next page of results. This value is null when there are no more results to return.