我认为这样做的方法是
delete rules for port 27017
I did that
ICMP
Port (Service) Source Action
ALL sg-665f6e34 (default) Delete
TCP
Port (Service) Source Action
0 - 65535 sg-665f6e34 (default) Delete
22 (SSH) 0.0.0.0/0 Delete
80 (HTTP) 0.0.0.0/0 Delete
3306 (MYSQL) 0.0.0.0/0 Delete
5900 - 5910 0.0.0.0/0 Delete
UDP
Port (Service) Source Action
然而,我仍然可以通过 mongovue 访问我的数据库而无需密码。
这是因为这个规则:
0 - 65535 sg-665f6e34 (default) Delete
但那是什么?什么是 sg-665f6e34?