How to setup routing for UDP in AWS instance

amazon ec2amazon-vpcamazon-web-servicesudp

I'm new to AWS and I'm wondering if any one could provide a guild/link on how to go about setting up, what I'm guessing is VPC, so that I can send UDP packets to and from my instance via my public IP.

For example I'm trying right now on my local computer to do something like "netcat -u ec2PublicIP 13000" and then on the ec2 instance see the packets with "nc -l 13000". The only thing I've done so far is set my security group to allow all inbound/outbound traffic. I just don't know what else I need to do to get the UDP data flowing between the amazon public IP and the private IP on my instance. Thanks!

Best Answer

You need to add an ingress rule that matches your desired traffic to a Security Group and apply that SG to your instance.