turbot/alicloud
steampipe plugin install alicloud

Table: alicloud_vpc_eip

An Elastic IP is an independent public IP resource that decouples ECS and public IP resources, allowing you to flexibly manage public IP resources.

Examples

Basic info

Explore the status and regional distribution of Elastic IP addresses in your Alibaba Cloud Virtual Private Cloud (VPC) to better manage and optimize your network resources.

select
name,
allocation_id,
arn,
description,
ip_address,
status,
region
from
alicloud_vpc_eip;
select
name,
allocation_id,
arn,
description,
ip_address,
status,
region
from
alicloud_vpc_eip;

Get the info of instance bound to eip

Discover the segments that are linked to a specific Elastic IP in order to understand its allocation, the type of instance it's attached to, and its regional location. This is useful for managing resources and bandwidth within your network infrastructure.

select
name,
allocation_id,
instance_type,
instance_id,
instance_region_id,
bandwidth
from
alicloud_vpc_eip;
select
name,
allocation_id,
instance_type,
instance_id,
instance_region_id,
bandwidth
from
alicloud_vpc_eip;

List all the available eips

Determine the areas in which Elastic IP addresses are available for use. This is useful for identifying potential resources in your Alicloud Virtual Private Cloud that are not currently being utilized.

select
name,
allocation_id,
instance_type,
status
from
alicloud_vpc_eip
where
status = 'Available';
select
name,
allocation_id,
instance_type,
status
from
alicloud_vpc_eip
where
status = 'Available';

Get the eips where hd monitoring is off

Identify instances where HD monitoring is turned off for Elastic IP addresses within your Alicloud Virtual Private Cloud. This can be crucial for optimizing your network performance and security measures.

select
name,
allocation_id,
hd_monitor_status
from
alicloud_vpc_eip
where
hd_monitor_status = 'OFF';
select
name,
allocation_id,
hd_monitor_status
from
alicloud_vpc_eip
where
hd_monitor_status = 'OFF';

Schema for alicloud_vpc_eip

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form.
account_idtext=, !=, ~~, ~~*, !~~, !~~*The Alicloud Account ID in which the resource is located.
akasjsonbArray of globally unique identifier strings (also known as) for the resource.
allocation_idtext=The unique ID of the EIP.
allocation_timetimestamp with time zoneThe time when the EIP was created.
arntextThe Alibaba Cloud Resource Name (ARN) of the EIP.
available_regionsjsonbThe ID of the region to which the EIP belongs.
bandwidthtextThe peak bandwidth of the EIP. Unit: Mbit/s.
bandwidth_package_bandwidthtextThe maximum bandwidth of the EIP in Mbit/s.
bandwidth_package_typetextThe bandwidth value of the EIP Bandwidth Plan to which the EIP is added.
charge_typetextThe billing method of the EIP
descriptiontextThe description of the EIP.
expired_timetimestamp with time zoneThe expiration time of the EIP.
has_reservation_databooleanIndicates whether renewal data is included.
hd_monitor_statustextIndicates whether fine-grained monitoring is enabled for the EIP.
instance_idtextThe ID of the instance to which the EIP is bound.
instance_region_idtextThe region ID of the bound resource.
instance_typetextThe type of the instance to which the EIP is bound.
internet_charge_typetextThe metering method of the EIP can be one of PayByBandwidth or PayByTraffic.
ip_addressinetThe IP address of the EIP.
isptextThe Internet service provider.
modetextThe type of the instance to which you want to bind the EIP.
nametextThe name of the EIP.
netmodetextThe network type of the EIP.
operation_locks_reasonjsonbThe reason why the EIP is locked. Valid values: financial security.
private_ip_addressboolean
regiontextThe Alicloud region in which the resource is located.
resource_group_idtextThe ID of the resource group.
second_limitedbooleanIndicates whether level-2 traffic throttling is configured.
segment_instance_idtextThe ID of the instance with which the contiguous EIP is associated.
service_managedbigint
sp_connection_nametext=, !=, ~~, ~~*, !~~, !~~*Steampipe connection name.
sp_ctxjsonbSteampipe context in JSON form.
statustextThe status of the EIP.
titletextTitle of the resource.

Export

This table is available as a standalone Exporter CLI. Steampipe exporters are stand-alone binaries that allow you to extract data using Steampipe plugins without a database.

You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_export_installer.sh script:

/bin/sh -c "$(curl -fsSL https://steampipe.io/install/export.sh)" -- alicloud

You can pass the configuration to the command with the --config argument:

steampipe_export_alicloud --config '<your_config>' alicloud_vpc_eip