Delete EBS Volume using amazon EC2 connector

 

Delete EBS Volume deletes the specified EBS volume. The volume must be in the available state (not attached to an instance). The volume can remain in the deleting state for several minutes.

Perquisites:

  • AWS Identity and Access Management (IAM) user account credentials
  • Access to EC2

Create project in Anypoint studio and configure the listener

Drag and drop delete volume operation and configure the AWS access and secret key

Delete EBS Volume

 

Configure the volumeId

To Get the volumeId login to amazon console and open EC2 instances and select the volumeId to delete the volume

Delete EBS Volume

 

Select and add delete volume palette in the mule flow as shown below. provide the volume id of the EBS volume which you want to delete

 

Deploy the project and trigger the request

EBS Volume gets deleted, now there is no volume in us-east region

Sample application: deletevolume sample application

More detail on Amazon EBS volume

MuleSoft Amazon EC2 Connector

  
Thank you for taking out time to read the above post. Hope you found it useful. In case of any questions, feel free to comment below. Also, if you are keen on knowing about a specific topic, happy to explore your recommendations as well.
 
For any latest updates or posts on our website, you can follow us on LinkedIn. Look forward to connecting with you there.


Share this:
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments