EBS Get Unused Volumes
Amazon Web Services (AWS)’s Elastic Compute Cloud (EC2) is a commercial web service that allows users to rent virtual computers. Using AWS EC2’s cloud infrastructure, you can build powerful servers in the cloud. This service completely eliminates the need to set up and invest in hardware, enabling you to deploy your apps quickly. With AWS EC2, you can set up servers, configure networking and security, and manage storage.
An instance is nothing but a virtual machine. AWS offers a variety of instance types, which are various combinations of CPU, storage, memory, networking capacity, and so on.
Amazon Elastic Block Store (EBS) provides block level storage volumes that you can use with your EC2 instances. You can attach an EBS volume to any running EC2 instance and can use it as primary storage for databases, file systems, or any app that requires frequent updates and quick access to the data.
Using this action, you can get the list of all the EBS volumes that are not attached to any EC2 instances. To do this, you first need to configure the action, and select the required AWS connection. You can get the list of unused volumes in a particular region by selecting that region in this action.
If you want to check whether a particular volume is attached to an EBS volume or not, you can do so by specifying the volume ID. Furthermore, it the action allows you to set certain filters.You can also perform a dry run. This will check if you have the required permission to get the list of unused EBS volumes.
Once you have entered all the details, click on ‘Done’ and run the workflow. This will return all the volumes that are not attached to any instances. If you have specified the volume ID, it will return whether the volume is attached to any instance or not.
Output:
-
EBS Get Unused Volumes
-
unusedVolumes array
VolumeId string
Size number
AvailabilityZone string
State string
VolumeType string
-