How to Launch an Ubuntu VM with SQL Server installed in Ubuntu 20.04

Launch an Ubuntu VM with SQL Server installed

Find the correct image to launch on the Azure portal

  • Sign in to the Azure portal.

  • In the left pane, select Create a resource.

  • In the search box, type “SQL 2019 on Ubuntu Pro”, and submit the search.

  • Select thew image by the name “SQL 2019 on Ubuntu Pro 20.04 LTS with 24x7 Support”.

  • Select Create on the appropriate image from the list.
    Screenshot from 2022-01-04 20-40-57

Launch the VM

  • Select your Subscription and Resource Group.

  • In Virtual machine name, enter a name for your new VM.

  • Then, type or select the following values:
    a. Region: Select the Azure region that’s right for you.
    b. Availability options: Choose the availability and redundancy option that’s best for your apps and data.
    c. Change size: Select this option to pick a machine size and when done, choose Select., please note that there are some recommended sizes.
    d . Authentication type: Select SSH public key.
    e. SSH public key: Enter your RSA public key.
    f. Public inbound ports: Choose Allow selected ports and pick the SSH (22) port in the Select public inbound ports list. In this tutorial, this step is necessary to connect and complete the SQL Server configuration. If you want to remotely connect to SQL Server, you will need to manually allow traffic to the default port (1433) used by Microsoft SQL Server for connections over the Internet after the virtual machine is created.

  • Make any changes you want to the settings in the following additional steps or keep the default settings.
    a. Disks
    b. Networking
    c. Management
    d. Guest config
    e. Tags

  • Select Review + create.

  • In the Review + create pane, select Create.

  • After few minutes you should see a confirmation like this:

Next Post Previous Post
No Comment
Add Comment
comment url