I configue inbound rules (under Services –> EC2 –> Instances –> Security Groups
) is as follows.
# Type, Protocol, Port Range, Source
All TCP, TCP, 0-65535, 0.0.0.0/0 (anywhere)
All UDP, UDP, 443, 0.0.0.0/0 (anywhere)
All IMCP, ICMP, 0-65535, 0.0.0.0/0 (anywhere)
as shown below.
anywhere
is too risky. How do I configure the inbound rules properly to improve security?