Home > Operation and Maintenance > Linux Operation and Maintenance > How to restore all or part of the rules in an original security group to the rules of the target security group

How to restore all or part of the rules in an original security group to the rules of the target security group

坏嘻嘻
Release: 2018-09-18 16:27:38
Original
1420 people have browsed it

The content of this article is about how to restore all or part of the rules in an original security group to the rules of the target security group. It has certain reference value. Friends in need can refer to it. I hope it will help You helped.

Restore security group rules

Restore security group rules refers to the process of restoring all or part of the rules in an original security group to the rules of the target security group. Among them:

Restore all means that when restoring, the system deletes the rules in the original security group that are not in the target security group, and adds rules in the original security group that are only in the target security group. . After the restore operation, the rules in the original security group are exactly the same as those in the target security group.

Partial restore means to add only the rules that are in the target security group to the original security group, ignoring the rules that are in the original security group but not in the target security group.

How to restore all or part of the rules in an original security group to the rules of the target security group

How to restore all or part of the rules in an original security group to the rules of the target security group

Restrictions

Currently the restore security group rules are as follows Restrictions:

The original security group and the target security group must be in the same region.

The original security group and the target security group must be of the same network type.

If there are system-level security group rules (priority 110) in the target security group, such rules cannot be created during restoration. After restoration, the rules in the original security group may be different from expected. If you need these security group rules, create similar rules manually (the priority can be set to 100).

Usage scenarios

If you need to implement new security group rules for an online business, you can first clone the original security group as a backup , and then modify the rules in the security group. If the new security group rules have an adverse impact on your online business, you can restore the security group rules in whole or in part.

Prerequisite

You should have at least one security group in the same region and the same network type.

Operation steps

Log in to the cloud server ECS management console.

In the left navigation bar, click Security Group.

Select a region.

In the security group list, find the security group whose rules need to be restored as the original security group. In the Operation column, click Restore Rules.

In the Restore Rules dialog box:

Select the target security group: The target security group must have different rules from the original security group.

Select Restore Strategy:

If you need the original security group and the target security group to have completely consistent rules, you should select Restore All.

If you only need to add rules to the original security group that are only available in the target security group, you should choose partial restore.

How to restore all or part of the rules in an original security group to the rules of the target security group

Preview the restoration results:

Shown in green are rules that only exist in the target security group. Regardless of whether it is a full restore or a partial restore, these rules will be added to the original security group.

Displayed in red are rules that are not in the target security group. If you choose to restore all, the system will delete these rules in the original security group. If you choose partial restore, this part of the rules in the original security group will still be retained.

After confirming that everything is correct, click OK.

After the creation is successful, the restore rules dialog box will automatically close. In the Security Group List, find the original security group that has just completed the restore operation. In the Operation column, click Configure Rules to enter the Security Group Rules page to view the updated security group rules.

The above is the detailed content of How to restore all or part of the rules in an original security group to the rules of the target security group. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template