Disable memcached remote access.

Published: 2018-04-04

Use a security group to restrict external network connections to port 11211. If you use other ports, please modify accordingly.


1. Create a security group “deny_memcached”

image.png


2. Add a rule in the security group to deny all IPs from accessing port 11211 on the server

image.png

3. Add the specific rule

image.png

4. Deploy the server to the security group

image.pngimage.png


5. Operation complete

image.png


ps: If the original server already has security group rules, you only need to go into the rules and add the following rule

image.png