CmdID

CmdID / aws / aws ec2

aws ec2 release-address

Releases the specified Elastic IP address. AWS CLI reference

2 examples 4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

Example 1: To release an Elastic IP address for EC2-Classic

The following release-address example releases an Elastic IP address for use with instances in EC2-Classic.

aws ec2 release-address --public-ip 198.51.100.0Identify
--public-ipDeprecated.

This command produces no output.

For more information, see Release an Elastic IP address in the Amazon EC2 User Guide.

Example 2: To release an Elastic IP address for EC2-VPC

The following release-address example releases an Elastic IP address for use with instances in a VPC.

aws ec2 release-address --allocation-id eipalloc-64d5890aIdentify
--allocation-idThe allocation ID.

This command produces no output.

For more information, see Release an Elastic IP address in the Amazon EC2 User Guide.

Options

4 in the AWS CLI reference
--allocation-idThe allocation ID.
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.
--network-border-groupThe set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
--public-ipDeprecated.