Skip to main content

Create a security group

Security groups are an important means to implement network security isolation. They control network traffic to or from one or more Elastic Compute Service (ECS) instances.
Prerequisites
A virtual private cloud (VPC) is created. For more information, see the "Create a VPC" topic in the VPC User Guide.
Context
Security groups determine whether instances in the same VPC, region, and account can communicate with each other. By default, if the instances belong to the same security group, they can communicate with each other over the internal network. If the instances belong to different security groups, you can allow mutual access between the security groups to allow the instances to communicate with each other over the internal network.
Procedure
1. On the CRE website, log in to the ECS console.
2. On the left-side navigation pane, select the Security Groups tab.
fg-dc-ecs-3.3-1

  1. On the Security Groups page, click the Create e-Security Group button.

fg-dc-ecs-3.3-2

  1. On the Create Security Groups page, configure the parameters.
  2. On the Create Security Groups page, click the Submit button.

fg-dc-ecs-3.3-3

SectionParameterRequiredDescription
AreaOrganizationYesSelect an organization in which to create the security group. Make sure that the security group and the VPC belong to the same organization.
Resource SetYesSelect a resource set in which to create the security group. Make sure that the security group and the VPC belong to the same resource set.
RegionYesSelect a region in which to create the security group. Make sure that the security group and VPC reside within the same region.
ZoneYesSelect a zone in which to create the security group.
Basic
Configurations
Sharing ScopeYesSelect the scope for which to share the security group. Valid values: Current Resource Set, Current Organization and Subordinate Organizations, and Current Organization.
VPCYesSelect a VPC in which to create the security group.
Security
Group Name
YesEnter a name for the security group. The name must be2 to 128 characters in length and can contain letters, digits, underscores (_), hyphens (-), and colons (:). It must start with a letter and cannot start with http:// or https://.
DescriptionNoEnter a description for the security group for easy management. The description must be 2 to 255 characters in length and can contain letters, digits, underscores (_), hyphens (-), periods (.), commas (,), and colons (:). It must start with a letter and cannot start with http:// or https://.
  1. Click Submit
    After the security group is created, it is displayed on the Security Groups page.