Elastic IP
Elastic IPs are static public IP addresses that can be assigned to your cloud resources.
Commands
List Elastic IPs
List all Elastic IPs in your project.
acloud network elasticip list [flags]
Flags:
--project-id string- Project ID (uses context if not specified)
Example:
# List Elastic IPs using context
acloud network elasticip list
# List with explicit project ID
acloud network elasticip list --project-id 68398923fb2cb026400d4d31
Output:
NAME ID ADDRESS STATUS
prod-api-ip 68ffa0ddce76e7da20465721 209.227.232.229 InUse
staging-web-ip 69007f71ce76e7da20465a52 95.110.142.229 InUse
dev-test-ip 6908820cf974c5deb5decd6c 209.227.232.182 NotUsed
Get Elastic IP Details
Get detailed information about a specific Elastic IP.
acloud network elasticip get <elastic-ip-id> [flags]
Arguments:
elastic-ip-id- The ID of the Elastic IP (supports auto-completion)
Flags:
--project-id string- Project ID (uses context if not specified)
Example:
acloud network elasticip get 68ffa0ddce76e7da20465721
Output:
Elastic IP Details:
===================
ID: 68ffa0ddce76e7da20465721
URI: /projects/.../elasticIps/68ffa0ddce76e7da20465721
Name: prod-api-ip
Address: 209.227.232.229
Billing Period: Hour
Linked Resources: 2
Creation Date: 27-10-2025 16:42:05
Created By: aru-297647
Tags: [production api public]
Status: InUse
Create Elastic IP
Create a new Elastic IP.
acloud network elasticip create [flags]
Required Flags:
--name string- Name for the Elastic IP--region string- Region code (e.g., ITBG-Bergamo)--billing-period string- Billing period: Hour, Month, or Year
Optional Flags:
--tags strings- Tags for the Elastic IP (comma-separated)--project-id string- Project ID (uses context if not specified)
Examples:
# Create hourly-billed Elastic IP
acloud network elasticip create \
--name "my-elastic-ip" \
--region ITBG-Bergamo \
--billing-period Hour
# Create monthly-billed Elastic IP with tags
acloud network elasticip create \
--name "prod-api-ip" \
--region ITBG-Bergamo \
--billing-period Month \
--tags production,api,public
# Create yearly-billed Elastic IP
acloud network elasticip create \
--name "long-term-ip" \
--region ITBG-Bergamo \
--billing-period Year \
--tags production,critical
Output:
Elastic IP created successfully!
ID: 69485a704d0cdc87949b6ffe
Name: my-elastic-ip
Notes:
- Elastic IPs are in InCreation state initially
- The IP address is assigned automatically
- Billing starts once the IP is created
Billing Period Options:
Hour- Pay per hour (flexible, higher unit cost)Month- Monthly commitment (cost-effective for steady usage)Year- Annual commitment (most cost-effective for long-term use)
Update Elastic IP
Update an existing Elastic IP's name and/or tags.
acloud network elasticip update <elastic-ip-id> [flags]
Arguments:
elastic-ip-id- The ID of the Elastic IP (supports auto-completion)
Flags:
--name string- New name for the Elastic IP--tags strings- New tags for the Elastic IP (comma-separated)--project-id string- Project ID (uses context if not specified)
Note: At least one of --name or --tags must be provided.
Examples:
# Update Elastic IP name
acloud network elasticip update 68ffa0ddce76e7da20465721 --name "prod-api-gateway"
# Update Elastic IP tags
acloud network elasticip update 68ffa0ddce76e7da20465721 --tags production,api,critical
# Update both name and tags
acloud network elasticip update 68ffa0ddce76e7da20465721 \
--name "prod-frontend-ip" \
--tags production,frontend,load-balanced
Output:
Elastic IP updated successfully!
ID: 68ffa0ddce76e7da20465721
Name: prod-frontend-ip
Tags: [production frontend load-balanced]
Restrictions:
- Cannot update Elastic IPs in InCreation state
- Cannot change the IP address or billing period after creation
- Wait for NotUsed or InUse state before updating
Delete Elastic IP
Delete an Elastic IP.
acloud network elasticip delete <elastic-ip-id> [flags]
Arguments:
elastic-ip-id- The ID of the Elastic IP (supports auto-completion)
Flags:
--project-id string- Project ID (uses context if not specified)-y, --yes- Skip confirmation prompt
Examples:
# Delete with confirmation prompt
acloud network elasticip delete 68ffa0ddce76e7da20465721
# Delete without confirmation
acloud network elasticip delete 68ffa0ddce76e7da20465721 --yes
# Delete with explicit project ID
acloud network elasticip delete 68ffa0ddce76e7da20465721 \
--project-id 68398923fb2cb026400d4d31 \
--yes
Confirmation Prompt:
Are you sure you want to delete Elastic IP 68ffa0ddce76e7da20465721? This action cannot be undone.
Type 'yes' to confirm: yes
Elastic IP 68ffa0ddce76e7da20465721 deleted successfully!
Notes:
- Detach Elastic IP from resources before deletion
- Deletion is immediate and cannot be undone
- Billing stops after deletion
Shell Auto-completion
The Elastic IP commands support intelligent auto-completion for Elastic IP IDs:
# Enable completion (bash)
source <(acloud completion bash)
# Type command and press TAB to see available Elastic IP IDs
acloud network elasticip get <TAB>
acloud network elasticip update <TAB>
acloud network elasticip delete <TAB>
Auto-completion shows Elastic IP IDs with their names:
68ffa0ddce76e7da20465721 prod-api-ip
69007f71ce76e7da20465a52 staging-web-ip
6908820cf974c5deb5decd6c dev-test-ip
Elastic IP States
Elastic IPs can be in the following states:
| State | Description | Can Update? | Can Delete? |
|---|---|---|---|
| InCreation | IP is being created | ❌ No | ❌ No |
| NotUsed | IP created but not attached |