SIMULATION
Task 7
You need to prepare a network security group (NSG) named az400 38443478 nsgl to host an Azure DevOps pipeline agent. The solution must allow only the required outbound port for Azure DevOps and deny all other inbound and outbound access to the Internet
To prepare a Network Security Group (NSG) named az400-38443478-nsg1 for hosting an Azure DevOps pipeline agent, while allowing only the required outbound port for Azure DevOps and denying all other inbound and outbound access to the Internet, follow these steps:
Create the NSG:
Navigate to the Azure Portal.
Go to Network Security Groups and click on + Create.
Fill in the details, including the name az400-38443478-nsg1, and create the NSG.
Configure Outbound Security Rules:
Once the NSG is created, go to its settings.
Navigate to Outbound security rules.
Click on + Add to create a new rule.
Set the Destination port ranges to 443, which is the required port for Azure DevOps12.
Set the Protocol to TCP.
Set the Action to Allow.
Assign a Priority number (e.g., 100) that does not conflict with existing rules.
Provide a meaningful Name for the rule (e.g., AllowAzureDevOps).
Configure Default Rules to Deny All Other Traffic:
In the same Outbound security rules section, edit the default rule to deny all traffic.
Change the Action to Deny for the rule with the lowest priority (highest number).
Ensure that this rule applies to all protocols, source and destination IP ranges, and port ranges.
Associate the NSG with the Appropriate Resource:
Associate the NSG with the subnet or network interface of the virtual machine or resource where the Azure DevOps pipeline agent will be hosted.
By following these steps, you will ensure that the Azure DevOps pipeline agent can communicate with Azure DevOps services over the required port while blocking all other inbound and outbound Internet access, adhering to the principle of least privilege and security best practices.
Anjelica
4 months agoElroy
4 months agoShaquana
4 months agoJade
4 months agoTheron
5 months agoMalcom
5 months agoElena
5 months agoMerilyn
5 months agoBroderick
5 months agoMauricio
5 months agoBritt
5 months agoOliva
5 months agoMyong
6 months agoHobert
6 months agoCorinne
1 year agoLenita
1 year agoMi
1 year agoHaydee
1 year agoBarney
1 year agoCecil
1 year agoHildegarde
1 year agoKaitlyn
1 year agoNada
1 year agoMilly
1 year agoAntonio
1 year agoMilly
1 year ago