Skip to main content
Version: 1.1.2

ElasticIP

PropertyValue
KindElasticIP
API Group/Versionarubacloud.com/v1alpha1
CRD Nameelasticips.arubacloud.com
ScopeNamespaced
Short Nameseip, arueip

Description

An ElasticIP is a static public IP address that can be assigned to a CloudServer. Unlike the ephemeral IPs that Aruba Cloud may assign by default, an ElasticIP persists independently of any server — you can reserve it, attach it to a server, and later reassign it to a different server without losing the IP address. ElasticIPs are optional: a CloudServer can be created without one.

Spec Fields

FieldTypeRequiredDefaultValidationDescription
tenantstringNoAruba Cloud tenant identifier. Must match the owning Project's tenant.
regionstringYesITBG-BergamoAruba Cloud region where the IP is reserved
billingPeriodstringYesHourEnum: Hour, MonthBilling cycle for the reserved IP address. Month is typically cheaper for long-running workloads.
tags[]stringNoLabels propagated to the Aruba Cloud resource
projectReferenceResourceReferenceYesReference to the owning Project
note

The billingPeriod affects cost from the moment the ElasticIP is created, regardless of whether it is attached to a CloudServer. Reserve ElasticIPs only when needed.

Status Fields

FieldTypeDescription
phasestringCurrent lifecycle phase
resourceIDstringAruba Cloud ElasticIP ID, set after creation
messagestringHuman-readable status message
observedGenerationint64Last .metadata.generation processed
phaseStartTimetimestampWhen the current phase began
conditions[]ConditionStandard Kubernetes conditions
projectIDstringResolved Aruba Cloud project ID

References

Owned by: Project

Referenced by:

  • CloudServer — via spec.elasticIPReference (optional)

Lifecycle

  • Creation ordering: The Project must be Active. An ElasticIP can be created before a CloudServer and attached later.
  • Deletion behaviour: ElasticIPs have no children. Delete the CloudServer that references this ElasticIP first (or remove the reference) before deleting the ElasticIP.
  • Update behaviour: tags and billingPeriod can potentially be updated. The IP address itself is assigned by Aruba Cloud and cannot be chosen.

Example

apiVersion: arubacloud.com/v1alpha1
kind: ElasticIP
metadata:
name: web-server-ip
namespace: default
spec:
tenant: ARU-123456
region: ITBG-Bergamo
billingPeriod: Hour
projectReference:
name: my-project
namespace: default
tags:
- production
- web

kubectl Quick Reference

# List all elastic IPs
kubectl get eip -n default

# Describe an elastic IP and view its assigned address (in resourceID)
kubectl describe arueip web-server-ip -n default