Book Image

Azure Networking Cookbook

By : Mustafa Toroman
Book Image

Azure Networking Cookbook

By: Mustafa Toroman

Overview of this book

Microsoft provides organizations with an effective way of managing their network with Azure's networking services. No matter the size of your organization, Azure provides a way to highly reliable performance and secure connectivity with its networking services. The book starts with an introduction to the Azure networking like creating Azure virtual networks, designing address spaces and subnets. Then you will learn to create and manage network security groups, application security groups, and IP addresses in Azure. Gradually, we move on to various aspects like S2S, P2S, and Vnet2Vnet connections, DNS and routing, load balancers and traffic manager. This book will cover every aspect and function required to deliver practical recipes to help readers learn from basic cloud networking practices to planning, implementing, and securing their infrastructure network with Azure. Readers will not only be able to upscale their current environment but will also learn to monitor, diagnose, and ensure secure connectivity. After learning to deliver a robust environment readers will also gain meaningful insights from recipes on best practices. By the end of this book, readers will gain hands-on experience in providing cost-effective solutions that benefit organizations.
Table of Contents (13 chapters)

Network Security Groups

Network Security Groups (NSGs) contain sets of rules that allow or deny specific traffic to specific resources or subnets in Azure. An NSG can be associated with either a subnet (applying security rules to all resources associated with the subnet) or a network interface (NIC) (applying security rules only to the VM associated with the NIC).

We will cover the following recipes in this chapter:

  • Creating a new NSG in a portal
  • Creating a new NSG with PowerShell
  • Creating a new allow rule in NSG
  • Creating a new deny rule in NSG
  • Creating a new NSG rule with PowerShell
  • Assigning an NSG to a subnet
  • Assigning an NSG to network interface
  • Assigning an NSG with PowerShell
  • Creating an Application Security Group (ASG)
  • Associating an ASG with a virtual machine (VM)
  • Creating rules with an NSG and an ASG