Release Elastic IP on Terminate
A 3-step recipe with Amazon EC2. We can help you get access.
Recipe · 3 steps
Release Elastic IP on Terminate
with Amazon EC2 · IT Infrastructure Management
Terminate an instance and release its Elastic IP once it is gone.
- Terminate the target instance.
- Describe the instance and branch on its state, looping while shutting-down and proceeding to release once it reports terminated.
- Release the Elastic IP allocation back to the pool.
What you'll need to have ready
- instanceId: The ID of the instance to terminate.
- allocationId: The allocation ID of the Elastic IP to release.
For your developer
Arazzo workflow amazon-ec2:release-eip-on-terminate, 3 operations: TerminateInstances → DescribeInstances → ReleaseAddress. Specs on APIs.io.