Basic Usage of Azure Services
Last updated
Last updated
Basically the resource group will manage all other resources that you create and let us manage our environment and infrastructure
In search bar, look for: Research Group
Select the create button and enter the necessary details
Once create, it will be listed in the resource group section
After creating a resource group we can proceed to creating a virtual machine
Type Virtual machine in the search bar or look for in on the side bar
Select Create > Add virtual machine
You can see that if ask for the resource group, you can simply add the one that you created previously
Username: AZadministrator
Password: Password@12345
Go to Next to the Disk page, Keep everything as default
Go to the Networking Page: Keep everything Default
Go default settings for all the following pages, until review and create
Once you press create it will take some time to deploy the VM
You will get a notification once it is completed
Open up the CLI using the key in the top right of the screen
You can switch between Bash and PowerShell
If we go back to the resource groups tab, we will see that if has created this group
Use the following command to create a virtual machine using CLI
It will run first and output json format once complete of the details of the VM as per below
If we go back to the Virtual Machines Tab, we will see the newly created VM
To connect to the VM
Go to the virtual machine and select Connect
Click on connect and select "Download RDP"
Click on the RDP File and enter the username and password that you create for that Virtual Machine
Accept all prompts and you will be connected to the VM
Click on the Virtual Machine
On the left hand side, search for "Reset Password"
Enter the username and the new password that you want
Open Microsoft Entra ID
Click on the User Tab as per above image
Here you will see a list of all users of your Entra ID Tenant
Click on a user and select the "Reset Password" option at the top
Open the shell
In the cloud CLI, use the following command to initiate cloud shell interactive
Go to the resource group tab
Click on the resource group and copy its name
Enter the name and press delete
Open CLI
Find the resource group name you want to delete, make sure you remember it correctly
Use the following command
Go to Cost Management
Go to Budget (search for it if you cannot find it)
The goal is to create a budget so that you do not overspend on the Virtual Machines
Click Add
Give it a name and the monthly amount
You can create some alerts on the next tab
Add the alerts and email addresses and press create