Exercise 1 – creating a VNet
In this section, we will look at how to create a VNet.
Follow these steps to create a VNet:
- Log into the Azure portal at https://portal.azure.com. Alternatively, you can use the Azure desktop app: https://portal.azure.com/App/Download.
- In the search bar, type virtual network and click on Virtual Network from the list of services shown.
- On the Virtual networks blade, click on + Create. It should be at the top of the blade.
- Set the Project details and Instance details settings as required via the Basics tab.
- Click Next: IP Addresses.
- On the IP Addresses tab, create an IPv4 address space and subnets; you can use the existing defaults or adjust them as required for your scenario. It is recommended to use a NAT gateway for outbound internet access from a subnet; alternatively, you can use an NVA.
- Click Next: Security.
- On the Security tab, choose to enable or disable BastionHost, DDoS Protection Standard, and Firewall, as required for your scenario.
- Click Next: Tags and add any tags as required. Then, click Next: Review + create.
- On the Review + create tab, review your settings; you may go back to the previous tabs and make any edits if required. Once you have confirmed your settings, click Create.
- You will receive a notification that the resource group was created successfully.
- From the Virtual networks blade, you will be able to see the VNet that was created:
Figure 4.24 – Virtual networks
In this exercise, we looked at creating a VNet. In the next exercise, we will look at creating a storage account.
Exercise 2 – creating a storage account
In this section, we will look at how to create a storage account.
Follow these steps to create a storage account:
- Log into the Azure portal at https://portal.azure.com. Alternatively, you can use the Azure desktop app: https://portal.azure.com/App/Download.
- In the search bar, type storage account and click on Storage accounts from the list of services shown.
- On the Storage accounts blade, click on + Create. It should be at the top of the blade.
- On the Basics tab, set the Project details and Instance details settings as required.
- Click Next: Advanced.
- On the Advanced tab, set the Security, Data Lake Storage Gen2, Blob, Azure Files, Tables, and Queues settings as required.
- Click Next: Networking.
- On the Networking tab, set the Network connectivity and Network routing settings as required.
- Click Next: Data Protection.
- On the Data protection tab, set the Recovery and Tracking settings as required.
- Click Next: Tags and add any tags as required. Then, click Next: Review + create.
- On the Review + create tab, review your settings; you may go back to the previous tabs and make any edits if required. Once you have confirmed your settings, click Create.
- You will receive a notification stating that the resource group was created successfully.
- From the Storage accounts blade, you will be able to see the storage account that was created:
Figure 4.25 – Storage accounts
In this exercise, we looked at creating a storage account. In the next exercise, we will look at creating a VM.