Cov txheej txheem:

Cov lus txib twg koj siv los ntxiv cov cai rau ec2 Security Group?
Cov lus txib twg koj siv los ntxiv cov cai rau ec2 Security Group?

Video: Cov lus txib twg koj siv los ntxiv cov cai rau ec2 Security Group?

Video: Cov lus txib twg koj siv los ntxiv cov cai rau ec2 Security Group?
Video: Google Colab — интерфейс командной строки Amazon Web Services (AWS CLI) 2024, Kaum ib hlis
Anonim

Txhawm rau ntxiv txoj cai rau pawg kev ruaj ntseg siv kab hais kom ua

  1. tso cai- kev ruaj ntseg - pab pawg -ingress ( AWS CLI) aws ec2 tso cai- kev ruaj ntseg - pab pawg -kev-- pab pawg -id security_group_id --protocol tcp --port 22 --cidr cidr_ip_range.
  2. Grant-EC2SecurityGroupIngress ( AWS Cov cuab yeej rau Windows PowerShell)

Ua li no, kuv yuav ua li cas ntxiv ib qho piv txwv ec2 rau pab pawg kev ruaj ntseg?

AWS Kab hais kom ua Nyem rau ntawm cov ntawv qhia ua haujlwm thiab Hloov Pawg kev ruaj ntseg - Xaiv cov Pawg kev ruaj ntseg koj xav siv. Tsim ib daim duab ntawm AMI piv txwv koj xav txav mus rau qhov sib txawv pab pawg neeg ruaj ntseg . Tua tawm qhov tshiab piv txwv siv cov duab ntawd, tam sim no peb tuaj yeem muab qhov tshiab no piv txwv rau qhov sib txawv pab pawg neeg ruaj ntseg.

Ib yam li ntawd, pes tsawg pab pawg kev ruaj ntseg tuaj yeem txuas nrog ec2 piv txwv? 5 pawg kev ruaj ntseg

Hais txog qhov no, kuv yuav nrhiav tau kuv pab pawg ruaj ntseg ntawm AWS li cas?

Method 1: Use the AWS Management Console

  1. Qhib Amazon EC2 console.
  2. Nyob rau hauv lub pane navigation, xaiv Security Groups.
  3. Luam cov pab pawg ruaj ntseg ID ntawm pab pawg kev ruaj ntseg uas koj tab tom tshawb xyuas.
  4. Nyob rau hauv lub pane navigation, xaiv Network Interfaces.
  5. Muab cov pab pawg ruaj ntseg ID nyob rau hauv qhov kev tshawb nrhiav bar.
  6. Tshawb xyuas cov txiaj ntsig tshawb nrhiav.

ec2 Security Group yog dab tsi?

AWS Security Group (SGs) yog txuam nrog EC 2 piv txwv thiab muab kev ruaj ntseg ntawm tus txheej txheem thiab chaw nres nkoj nkag. Txhua pab pawg neeg ruaj ntseg - ua hauj lwm ntau tib yam li firewall - muaj cov txheej txheem uas lim cov tsheb khiav mus rau hauv thiab tawm ntawm ib qho EC 2 piv txwv. Pawg kev ruaj ntseg yog tshwj xeeb rau VPC.

Pom zoo: