1 Answers
0
I'm assuming that you're not asking about HTTP traffic - because you can do a redirect to another IP/DNS address quite easily.
Therefore, you do need to set up something (like Nginx or some other packet rewrite engine) which forwards the traffic for you. AWS doesn't offer a service that allows you to forward/rewrite IP traffic to another external destination.
You can use a load balancer to send traffic elsewhere but it only supports sending traffic to addresses within AWS or those connected to your VPC via VPN or Direct Connect.
Relevant questions
Public ip address connectivity in AWS
asked 6 months agoHow to secure static IP address of instance from bot attacks?
asked a month agoPrivate IP address change, effect(s)?
asked 2 years agoReserve a pool of Public IP address from AWS for an account
Accepted Answerasked 2 years agoIP Address for different region
asked 3 years agoAbout dynamic change of IP address
asked 3 months agoStatic IP address for EC2 Instance
asked 3 years agoForwarding traffic from an AWS IP address to another IP address
asked 14 days agoconvert Dynamic IP address to Static IP
asked 2 years agoLambda static outbound IP address without NAT gateway
asked 2 years ago