Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of creating VPC type safety group for ECS instance

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail the method of creating VPC type security groups for ECS instances. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.

Create a security group

An ECS instance must belong to at least one security group. For more information, see Security groups.

If you start creating an ECS instance without creating a security group, you can choose to use the security group we automatically created for you. For more information, see Security Group default rules.

You can also create a security group according to your business needs and move the instance to the security group. This article describes how to create a security group.

prerequisite

If you want to create a VPC type security group, you must first manage the private network.

Description

Security groups in VPC can span switches, but not VPC.

Operation steps

Log in to the ECS Management console.

In the left navigation bar, select Network and Security > Security Group.

Select the region.

Click create Security Group.

In the pop-up create Security Group dialog box, complete the following configuration:

Template: according to the services that need to be deployed on the instance in the security group, select the appropriate template to simplify the configuration of security group rules, as shown in the following table.

Security group name: set the security group name as required by the page prompt.

Description: a brief description of the security group for later management.

Network type:

If it is an VPC type security group, select the private network and select the private network that has been created.

If it is a classic network type security group, select Classic Network.

Click OK.

For the security group created by yourself, before adding any security group rules, the default rules for both private and public networks are: all access is allowed in the outbound direction and all access is denied in the inbound direction.

Subsequent operation

After you have created a security group, you must add a security group rule.

You can also join or remove security groups according to your business needs.

Related API

CreateSecurityGroup

This is the end of the method of creating VPC type security groups for ECS instances. I hope the above content can be of some help and learn more. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report