EC2 Load Balancer Listener on port 443 keeps getting deleted

0

Hello everyone,

I am not a AWS expert but am kind of in charge for managing it for my company. I have a problem with EC2 Load Balancer inbound listener. I would like to get some direction or first steps in troubleshooting and what could I do to start investigating this, but I'm not really sure how to even check the logs or anything that would be helpful.

So every now and then our webshop stops working. The first time this happened, the company that developed our middleware (the one that's running on this EC2 instance) detected the problem in their software and helped us fix it. So now we are stuck with this simple instructions on how to add back and configure the listener on Load Balancer. I think this is not a professional solution, but since we didn't take their maintenance package but rather decided to run this by ourselves they won't investigate this deeper.

I did the initial setup of this infrastructure and deployed the application, with their devops expert guidance, so I don't exactly remember all of the steps we have done. I am a tech person (a web developer) but this is my first ever experience with AWS.

BR, Dario

Salvus
asked 6 months ago474 views
2 Answers
0

Here are some steps you can take to investigate and potentially resolve the issue:

  • Check the AWS Management Console: The first step is to check the AWS Management Console to ensure that the listener is indeed being deleted. You can do this by navigating to the EC2 section, selecting 'Load Balancers', and then checking the 'Listeners' tab for your specific load balancer.
  • Review Access Logs: AWS provides access logs that capture detailed information about requests sent to your load balancer. These logs can be used to analyze traffic patterns and troubleshoot issues. If access logging is enabled for your load balancer, you can check these logs in the Amazon S3 bucket specified during the enabling of access logs. The logs contain information such as the time the request was received, the client's IP address, latencies, request paths, and server responses.
  • Check for Manual Deletion: Ensure that the listener is not being manually deleted by someone with access to your AWS account. This could be a team member or a third-party service with access to your AWS resources. Check Cloudtrail. If you suspect this might be the case, you may want to review your IAM policies and access controls.
  • Finally, you can always contact AWS Support
AWS
TonyG
answered 6 months ago
  • You might be able to find the cause by looking in CloudTrail (provided that it has been configured in your account).

    To do this navigate to the CloudTrail Service -> Event History and in Look-up attributes look for: Event name = "DeleteListener"

    If you see any event listed, this might give a clue to what/who is deleting the Load Balancer Listeners

0

Please try out these

Check AWS CloudTrail Logs Review the AWS CloudTrail logs to find events related to changes in your Load Balancer configuration, especially the deletion of the 443 listener.

Examine Load Balancer Access: Evaluate and restrict who has access to modify Load Balancer settings, using IAM roles to limit permissions.

Evaluate Load Balancer Access Logs Review access logs for the Load Balancer to identify suspicious activity that may lead to the deletion of the listener.

Enable AWS Config Enable AWS Config to track changes to your AWS resources, providing a historical record of Load Balancer changes.

Seek AWS Support: If the root cause remains elusive, consider reaching out to AWS Support for professional assistance in investigating and resolving the issue.

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