Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running Eureka on AWS ECS #1570

Open
lpaulmp opened this issue Jan 30, 2025 · 0 comments
Open

Running Eureka on AWS ECS #1570

lpaulmp opened this issue Jan 30, 2025 · 0 comments

Comments

@lpaulmp
Copy link

lpaulmp commented Jan 30, 2025

I configured the Eureka in a ecs cluster but I have an error that is showing all the time about AWS EIP, but it is running on ecs and I can set an AWS EIP. My main issue is that get service unavailable on half of the requests and I see that erueka is running the evict task and this might causing 50x on my app.

I get this error:

2025-01-30T14:06:35.504Z INFO 1 --- [eureka-server] [a-EvictionTimer] c.n.e.registry.AbstractInstanceRegistry : Running the evict task with compensationTime 0ms

2025-01-30T14:05:52.264Z ERROR 1 --- [eureka-server] [ureka-EIPBinder] com.netflix.eureka.aws.EIPManager : Could not bind to EIP

java.lang.RuntimeException: Could not get any elastic ips from the EIP pool for zone :us-east-1d

at com.netflix.eureka.aws.EIPManager.getCandidateEIPs(EIPManager.java:314) ~[eureka-core-2.0.4.jar:2.0.4]at 

com.netflix.eureka.aws.EIPManager.isEIPBound(EIPManager.java:159) ~[eureka-core-2.0.4.jar:2.0.4]

at com.netflix.eureka.aws.EIPManager$EIPBindingTask.run(EIPManager.java:428) ~[eureka-core-2.0.4.jar:2.0.4]

at java.base/java.util.TimerThread.mainLoop(Timer.java:566) ~[na:na]

at java.base/java.util.TimerThread.run(Timer.java:516) ~[na:na]

Can you help me please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant