Step by step to starting with Azure IaaS / Azure VM environment [Part-02]

Continued from…. Part 01

Prepare Virtual Server
If you’re not using the virtual machine please ‘Stop & dealocate’ the virtual machine.

To create the virtual machine go to ‘resource group’ and select the resource group which we have created (Here it is ‘xyzregroup’). Then click ‘Create’.

From the ‘Marketplace’ write ‘virtual machine’ in the search bar. Then click on “Create” button from ‘Virtual machine’ templets.

On the Basics tab check the ‘Resource group’ selected or not the write or select below information:

  • Virtual Machine Name.
  • Region.
  • Availability option.
  • Security type.
  • Image (Operating system temple).
  • VM architecture.
  • Size.
  • Username.
  • Password.
  • Confirm Password.

Then click on “Next: Disks >” button.

On the ‘Disks’ tab select ‘OS disk type’, ‘Delete with VM’, ‘Key management’ then click on “Next: Networking >”.

On the ‘Networking’ tab select below informations:

  • Virtual Network.
  • Subnet.
  • Public IP.
  • NIC network security group.
  • Public inbound ports.
  • Select inbound ports.

Then click on “Next: Management >”.

On ‘Management’ tab full-fill below information:

  • Enable Auto-shutdown (If it is an RND VM).
  • Shutdown time.
  • Time Zone.
  • Email.

Then click on “Next: Monitoring >” button.

On the ‘Monitoring’ tab enable diagnostics if you want to monitor then click on “Next: Advanced >” button.

Click on “Next: Tags >” button.

On the ‘Tags’ tab add tags which will help to identify the services then click on “Next: create >” button.

Click on the “Create” button to create the Virtual Machine.

Now the VM is ready to start work.

Add Additional DIsk in the VM

I usually don’t like to install any application on the OS disk. Useually it also a bestpractice. So, you have to add a disk for application installation. For adding extra disk go to the ‘Resource Group’ (Here it is xyzregroup) and select the VM which need to add the disk.

After selecting the VM go to the left menu and select ‘Disks’ then click on “+ Create and attach a new disk” button.

You have to write below information:

  • Disk name.
  • Size (GB).

And have to select below information:

  • LUN.
  • Storage Type.
  • Encription.
  • Host cashing.

Then click on “Save” button.

Create an Azure Db for MySQL

From the ‘Marketplace’ write ‘MySQL’ in the search bar. Then click on “Create” button from ‘MySQL’ templets.

Need to chose which type of MySQL you have to determine and click on “Create” button (Here we select Flexible server).

On the Basics tab check the ‘Resource group’ selected or not the write or select below information:

  • Select Resource group.
  • Server.
  • Region.
  • MySQL version.
  • Workload type.
  • Compute + Storage.
  • Availability zone.
  • Authentication method.
  • Username.
  • Password.
  • Confirm Password.

Then select the “Next: Networking >” button.

In the ‘Networking’ tab select “Connectivity method”. Then select below information:

  • Virtual network.
  • Subnet.
  • Private DNS zone.

Then select the “Next: Security >” button.

In the ‘Security’ tab area we don’t need to do anything and click on “Next: Tags>” button.

On the ‘Tags’ tab add tags which will help to identify the services then click on “Next: Review+create >” button.

Click on the “Create” button to create the database on MySQL.

Continue…… (Part-03)

Author: Mithun Dey

Every problem has it's own solution. But we need to find it and solve.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.