i faced same issue i was testing out EKS RDS and other service.
I found the issue of network. it was network between EKS & RDS so taking too much time to load the whole website.
For elastic beanstalks connection with RDS is from outside and speedy so site loading time was less over there.either you can connect using the VPC peering so may possible it will be speedy.
2/2 checks passed but Spring Boot app with SQL database deployed on EC2 Ubuntu fails to load and connection times outasked a month ago
Can GraphQL be deployed to Elastic Beanstalk?Accepted Answerasked 2 years ago
EBs - nginx config in laravel app cannot login.asked 4 months ago
Using AWS PHP SDK on Elastic Beanstalkasked 3 years ago
Elastic beanstalk database migrations no longer runningasked 6 months ago
Getting a '403 Forbidden' error on deploying a Laravel application to AWS Elastic Beanstalkasked 8 days ago
Multiple applications on same environment of Elastic Beanstalkasked 3 months ago
Using RDS Proxy doubles or triples average response timesasked a year ago
Deployed One laravel app on AWS Elastic Beanstalk & EKS Same Database RDS WAccepted Answerasked 3 years ago
Elastic Beanstalk and RDS MySQL connection timeoutasked 2 years ago