forked from docs/doc-exports
Reviewed-by: Hajba, László Antal <laszlo-antal.hajba@t-systems.com> Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com> Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
4.3 KiB
4.3 KiB
Cloning a Security Group
Scenarios
You can clone a security group from one region to another to quickly apply the security group rules to ECSs in another region.
You can clone a security group in the following scenarios:
- For example, you have security group sg-A in region A. If ECSs in region B require the same security group rules as those configured for security group sg-A, you can clone security group sg-A to region B, freeing you from creating a new security group in region B.
- If you need new security group rules, you can clone the original security group as a backup.
Notes and Constraints
If you clone security group across regions, the system will clone only rules whose source and destination are CIDR blocks or are in the current security group.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project.
- Click
in the upper left corner and choose Network > Virtual Private Cloud.
- In the navigation pane on the left, choose Access Control > Security Groups.
- On the Security Groups page, locate the row that contains the target security group and choose More > Clone in the Operation column.
- Set required parameters as prompted.
- Click OK. You can then switch to the required region to view the cloned security group in the security group list.
Parent topic: Security Group