# Get all the Unallocated Elastic IPs in EC2 account

**URL:** <https://community.automationedge.com/t/get-all-the-unallocated-elastic-ips-in-ec2-account/10447>\
**Category:** Get Help & Discuss\
**Tags:** rpa, generic\
**Created:** [August 10, 2023, 7:43am UTC](https://community.automationedge.com/t/get-all-the-unallocated-elastic-ips-in-ec2-account/10447 "2023-08-10T07:43:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Omar\_Al\_Habsi](https://avatars.discourse-cdn.com/v4/letter/o/43a26b/32.png) [@Omar\_Al\_Habsi](https://community.automationedge.com/u/Omar_Al_Habsi)\
**Post date:** [August 10, 2023, 7:43am UTC](https://community.automationedge.com/t/get-all-the-unallocated-elastic-ips-in-ec2-account/10447/1 "2023-08-10T07:43:54Z")

</div>

Hi!

AutomationEdge is a leader in IT process automation. I want to use the amazon EC2 plugins to monitor my EC2 account for cost control.

How can I get the Unallocated elastic IPs for my account? What should be my approach to build a workflow for the same?

---

<div class="post-metadata">

**Author:** ![Jane](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@Jane](https://community.automationedge.com/u/Jane)\
**Post date:** [August 10, 2023, 11:32am UTC](https://community.automationedge.com/t/get-all-the-unallocated-elastic-ips-in-ec2-account/10447/3 "2023-08-10T11:32:37Z")

</div>

Hi!

You can use the Get Unallocated Elastic IPs to get your Unallocated Elastic IPs by region.

However, if you need to get all the Unallocated Elastic IPs for all the regions then you need to first get all the regions and for each region fetch the unallocated Elastic IPs. You can design this by using parent child workflows or loop steps.

In the images below I am representing the solution using parent-child workflows.

The image below shows the parent workflow to fetch all the regions.

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/automationedge/original/2X/a/a88f1690ef9ccc716f8e6883c0bd1ee3eb3351f4.png)

The image below shows the child workflow to fetch all the Unallocated elastic IPs for each region one by one.

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/automationedge/original/2X/7/730621af450f61b77bb1745d244b028a3b076380.png)
