问题
When adding a new rule to a security group, is it needed to restart the instance to the new rule take effect?
回答1:
If you forgot to assign a security group rule to the security group, but you created it (the security group) and assigned it to the instance. There is no problem to update the security group with the new rule. After it, you could use it without no need to restart the instance.
For example, you can find in port 22, without it, you cannot access your instance via ssh. You need to add the rule and then you can access the instance via ssh.
来源:https://stackoverflow.com/questions/23956121/adding-a-new-rule-into-a-security-group