ANNOUCEMENT Announcing self-paced Karpenter Lab series - START NOW
Elastic IP (EIP) is an IP address one can reserve for their AWS account. Static IP addresses by nature are associated to a particular machine. However, to keep-up with the dynamic needs of public cloud, users generally use Elastic IP addresses. These IP addresses are called ‘Elastic’ as they can be reassigned or remapped to another instance as an organization keeps launching and terminating resources.
Although EIP is dynamic within the same AWS cloud environment, it is static on a global level i.e. EIP can be reserved by an AWS Account and cannot be used by any other AWS account. EIP is generally used to associate to front-end machines as EIP’s dynamic remapping capabilities help in masking any failures internally.
EIPs are totally free from AWS when they are attached to an instance. However, for every unassociated EIP, AWS charges an additional fee unless it is reattached to an Instance. AWS does this because, public IP address is a limited resource and not using the EIP after reserving is seen as a wasteful practice.
nOps is a smart cloud FinOps platform helping you to stay on top of your cloud cost optimization journey. nOps helps users analyse their environment and detect unused Elastic IP addresses and also understand the cost associated with it. Here is how you can do it:
1. Login into nOps platform.
2. Navigate to nOpsRules.
3. Click on Cost
4. Click on Unused AWS elastic IP (EIP) resources
5. Click on the Download button
6. Results will be
1. Login into nOps platform.
2. Navigate to Data Explorer.
3. Use below motioned query.
query MyQuery {
ec2_addresses (where: {instance_id: {_is_null: true}}) {
public_ip
instance_id
}
}
**Output**
[
{
"data": {
"ec2_addresses": [
{
"public_ip": "107.23.124.196",
"instance_id": null
},
{
"public_ip": "18.207.30.100",
"instance_id": null
},
{
"public_ip": "54.176.155.119",
"instance_id": null
},
{
"public_ip": "54.183.30.89",
"instance_id": null
}
]
}
}
]
© nOps 2024. All Rights Reserved.