Third party apis not accessible through beanstalk application.


I have a nodejs rest application hosted on elastic beanstalk with load balancer enabled. The application makes external apis calls but not of them are working. One example call is${accessToken} . I have enabled all inbound/outbound rules to allow traffic from 0/ on the load balancer security groups, vpc, subnets, but it still doesn't work. I have an internet gateway also attached to the vpc. The subnet has route table with internet gateway.

1 Answer


Does EC2 have a public IP address?
If a public IP address is not assigned, you will not be able to communicate with the public API even if you launch EC2 in a subnet that has a route to the Internet gateway.
If EC2 does not have a public IP address, why not try using NAT Gateway?

profile picture
answered a month 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