I want to create a security group for AWS Elasticache (Redis).
As far as i see, i have 2 options:
Either open a Custom TCP connection on port 6379, and define the IP addresses what can reach Redis as a source.
Or, what currently works: I Open the 6379 port to anywhere (so that my EC2 instance can connect to it), and secure the components before the EC2.
What is the best approach here?