Connect intellij to tomcat server behind internal alb in private subnet

Answered
How to connect intellij to tomcat server behind internal application load balancer. This is in aws vpc.
0
3 comments

You need to open a port of your instance to public network: https://stackoverflow.com/a/21992534/8203759 and connect to it via IP:port

0

Thank you Annikov. Please read my question closely. The tomcat server is in a private subnet behind an internal application load balancer tier 3, NOT an internet facing load balancer. Internal load balancers have only private ip's and are only accessible from the web servers (port 80) in tier2 private subnet and the bastion server in tier 1 port 22. This infrastructure design is 4 tiers. Public, web tier, app tier and database tier. The web tier has an internet facing application load balancer. As you should know aws application load balancers are layer 7 and only use port 80, 443. So my issue is how do I access my tomcat server in a private subnet behind the internal application load balancer on port 80? So to sum it up. I will be using intellij to go thru the internet facing application load balancer to the web servers and then thru the internal application load balancer to my tomcat servers all on port 80. BTW I'm using iptables to redirect all port 80 traffic to port 8080 where tomcat is. Thank you

0

It is more of question of AWS infrastructure rather than IDE-related. 

A possible solution could be to use AWS Toolkit extension: https://aws.amazon.com/intellij/#

0

Please sign in to leave a comment.