Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Azure Networking Cookbook, Second Edition - Second Edition

You're reading from  Azure Networking Cookbook, Second Edition - Second Edition

Product type Book
Published in Dec 2020
Publisher Packt
ISBN-13 9781800563759
Pages 298 pages
Edition 2nd Edition
Languages
Concepts
Author (1):
Mustafa Toroman Mustafa Toroman
Profile icon Mustafa Toroman

Table of Contents (15) Chapters

Preface 1. Azure Virtual Network 2. Virtual machine networking 3. Network Security Groups 4. Managing IP addresses 5. Local and virtual network gateways 6. DNS and routing 7. Azure Firewall 8. Creating hybrid connections 9. Connecting to resources securely 10. Load balancers 11. Traffic Manager 12. Azure Application Gateway and Azure WAF 13. Azure Front Door and Azure CDN Index

Associating an ASG with a VM

After creating an ASG, we must associate it with a VM. After this is done, we can create rules with the NSG and ASG for traffic control.

Getting ready

Before you start, open your browser and go to the Azure portal at https://portal.azure.com. Locate the previously created VM.

How to do it...

To associate an ASG with a VM, we must follow these steps:

  1. In the VM pane, locate the Networking settings.
  2. In the Networking settings, select the Application security groups tab, as shown in Figure 3.12:
    Selecting the Application security groups tab in Networking settings

    Figure 3.12: Associating an ASG with a VM

  3. In the Application security groups settings, select Configure the application security groups, as shown in Figure 3.13:
    Configuring the ASGs

    Figure 3.13: Configuring ASGs

  4. In the new pane from the list of available ASGs, select the ASG that you want to associate the VM with:
    Selecting the ASG to associate with the virtual machine

    Figure 3.14: Associating an ASG with a VM

  5. After clicking Save, it takes a few seconds to apply the changes, after which the VM will be associated...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}