Is there any way to track EIP allocation and releases?

0

EIP was allocated, but someone releases and application failed. now I'm looking for a way to track and leave logs. Is there any idea about it?

질문됨 2년 전2479회 조회
2개 답변
1

Any time an Elastic IP is allocated, associated, or disassociated there is a CloudTrail log created. The event names are:

  • AllocateAddress
  • AssociateAddress
  • DisassociateAddress

You can search these event names in CloudTrail and that will show you information such as the username of the person associated with the change, the time, account, etc. Once you have that information you can set up alerting to send an email, text message, or even Slack notifications whenever an EIP is allocated/associated/disassociated. Here's a quick tutorial on using EventBridge to do just that.

If you're looking for an ongoing way to track historical IP Address history Amazon VPC IP Address Manager (IPAM) was just released in December of 2021 and allows you to do just that (as well as simplify IP address management on AWS). After setting up IPAM, you can follow these instructions to search for historical data on:

  • VPCs
  • VPC Subnets
  • Elastic IP addresses
  • EC2 instances
  • EC2 network interfaces attached to instances
AWS
AWSJoe
답변함 2년 전
0

Hi - [Amazon VPC IP Address Manager (IPAM)] (https://aws.amazon.com/blogs/aws/network-address-management-and-auditing-at-scale-with-amazon-vpc-ip-address-manager/) helps you to automate IP assignment, monitor and audit your IP address space including BYOIP, EIPs and VPC IPs.

IPAM is integrated with CloudWatch as well as provide [historical insights] (https://d2908q01vomqb2.cloudfront.net/da4b9237bacccdf19c0760cab7aec4a8359010b0/2021/11/26/ipam_historical_insights.png) which could solve your ask. Please refer to the pricing listed here.

CloudTrail/EventBridge solution as suggested by Joe will be a good approach as well.

AWS
전문가
Gokul
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠