How to create Network Security Group, Adding Inbound Rules, Outbound rules, associate NSG to VM #2024
Azure Playlist: • Azure Cloud
Netwrok Security Group(NSG):
Inbound Rule (Incoming traffic to Azure)
An inbound rule is configured to allow external access to your application, enabling users or external services to reach it. For example, setting up an inbound rule on port 8080 for a Spring Boot application allows incoming traffic through this port. This is essential for users to be able to access the application externally, such as through a web browser or API client. Without this inbound rule, Azure would block any external attempts to reach the application, effectively isolating it.
Outbound Rules (Outgoing traffic to external APIs)
Outbound rules manage the traffic leaving your application and Azure environment, enabling it to communicate with external services. For example, if your Spring Boot application needs to make HTTP/HTTPS requests to third-party APIs or external resources, outbound rules ensure this communication is permitted. These rules help the application initiate connections to external services, such as accessing APIs, databases, or other resources that reside outside of Azure.
Note:
This channel was created to help both beginners and experienced developers in Java, Spring Boot, Microservices, AWS, Azure, JavaScript, ReactJS, and Angular to succeed in interviews.