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
In cross-region security group cloning, only rules whose source and destination are CIDR blocks and rules whose source and destination are the current security group will be cloned.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project. - On the console homepage, under Network, click 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 and click OK.
You can then switch to the required region to view the cloned security group in the security group list.
Last Article: Adding Instances to and Removing Them from a Security Group
Next Article: Modifying a Security Group
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.