How can I DELETE my Public IPv4 before February 2024 =(

0

Hi,

I have a big problem.

I cant delete my public IPv4 and I am going around in circles.

Support told me to disassociate my Elastic IP address and Delete my VPC endpoints.

Unfortunately, I cant do both.

I am getting an error when I tried to do both.

Attached is a screenshot of the error messages I am getting

Elastic IP error

VPC Endpoint Error

I hope you guys and gals can help me.

Thank you very much in advance.

Sincerely, Vic Miranda

Vic
asked 6 months ago1822 views
4 Answers
0

hello

This is a permission issue,please check you iam user have DisassociateAddressand DisassociateAddress action is allowed. Enter image description here

for more details:

profile pictureAWS
answered 6 months ago
0

Hi Vic,

Your user needs to have IAM authorizations ec2:DisassociateAddress and ec2:ReleaseAddress: to be able to dissociate and release your IP v4 address

See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-policies-ec2-console.html#ex-eip to get all details about those auths.

Your account admin will be able to grant you those rights (or dissociate / release for you)

Best,

Didier

profile pictureAWS
EXPERT
answered 6 months ago
0

Fristly, It doesnt look like a permissions issue to me, just that the resources are in use. I can reproduce the same error with being a Full Admin.

Secondly, public IPs do not get assigned to Private Endpoints. You should not need to delete endpoints as these are internal (PRIVATE RFC1918) IPs only. You cant delete a "Requester VPC Endpoint" until you have removed the service thats using it such as Aurora. This is still likely to be a private Endpoint and not public.

https://repost.aws/knowledge-center/vpc-delete-requester-managed-endpoint

Thridly, an easy way to see where your public IP is being used is in the EC2 console. Goto Network Interfaces, and search for the public IP Address. Here you can see the description and private IP of what interface the public IP address is assigned too.

Based on the errors your seeing.

It looks to me that your Public IP May be assigned to a Internet Network Load Balancer.

profile picture
EXPERT
answered 6 months ago
0

Hi ThinkTik, Didier and Gary,

Thank you very much for your response. I was told by support that they think the endpoint was created by Redshift. Unfortunately, I already deleted my redshift instance a long time ago.

Is this as easy as re-creating my Redshift Instance and disassociate the endpoint there or am i just going to dig myself into a deeper hole doing this?

Thank you very much, Vic Miranda

Vic
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions