aster.cloud aster.cloud
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
    • Learning
  • Tools
  • About
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
    • Learning
  • Tools
  • About
aster.cloud aster.cloud
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
    • Learning
  • Tools
  • About
  • DevOps
  • Platforms

How To Provision A Resource Group, Virtual Network And Virtual Machine In Azure

  • root
  • July 23, 2019
  • 5 minute read

Overview

This guide shows how to create the following resources in Microsoft Azure via the Azure Portal.

  • Resource Group
  • Virtual Network
  • Virtual Machine


Partner with aster.cloud
for your next big idea.
Let us know here.



From our partners:

CITI.IO :: Business. Institutions. Society. Global Political Economy.
CYBERPOGO.COM :: For the Arts, Sciences, and Technology.
DADAHACKS.COM :: Parenting For The Rest Of Us.
ZEDISTA.COM :: Entertainment. Sports. Culture. Escape.
TAKUMAKU.COM :: For The Hearth And Home.
ASTER.CLOUD :: From The Cloud And Beyond.
LIWAIWAI.COM :: Intelligence, Inside and Outside.
GLOBALCLOUDPLATFORMS.COM :: For The World's Computing Needs.
FIREGULAMAN.COM :: For The Fire In The Belly Of The Coder.
ASTERCASTER.COM :: Supra Astra. Beyond The Stars.
BARTDAY.COM :: Prosperity For Everyone.

 

Prerequisites

  • Azure account with access rights to create the following resources
    • Resource Group
    • Virtual Network
    • Virtual Machine

 

Resource Group

Here are some considerations when naming and creating a Resource Group

  • All resources belonging in the group should share the same lifecycle. Example if you create a resource group for Testing environment that has a Database and Virtual Machine(s), they should be deployed, updated and deleted together.
  • A resource can existing only in one resource group. To manage or identity resources you can use Tagging.
  • Resources in a group can be added or removed anytime.
  • Resource group can contain resources from a different region.
  • Resource group metadata are stored in a specific location. This is important if there are compliance requirements that needs data to be located in specific places only.

 

01: Login to Azure portal at https://azure.microsoft.com

 

02: From the sidebar, select All Services > General > Resource groups.

 

03: The resource group main page will be displayed. It shows any existing Resource group. Select the “+ Add” button to create a Resource group.

 

04: Fill up the required details.

Subscription {{your-subscription}}
Resource group (name) rg-geek-test
Region

(This will be where the metadata will be stored)

(Asia Pacific) Southeast Asia

 

05: Then select “Next: Tags” if you want to add tags to the resource group. Tags are useful as another way of grouping resources. In this example, we will skip tags by selecting the “Review + Create” button.

 

06: A summary of the previous step(s) will be shown. Select the “Create” button to setup the Resource group.

 

07: The resource group should now be visible in the Resource group page.

 

Virtual Network

01: From the sidebar select, Create a resource > Networking > Virtual network. Note that you can also use the following step All services > Networking > Virtual networks > Add.

 

02: Enter the default for the Virtual Network.

Name vn-geek-test
Address space 172.16.10/24

— Provides 256 addresses

Subscription {{your-subscription}}
Resource group rg-geek-test
Location (Asia Pacific) Southeast Asia
Subnet name sn-geek-test-web-api
Subnet Address range 172.16.10.128/26

— Provides 64 address to use, but not all of them can be used. Some will be reserved by the network.

— Can use also 172.16.10.0/26 or 172.16.10.64/26 for other subnets that belong to this network

DDoS protection Basic
Service endpoints Disabled
Firewall Disabled

 

 

03: Review the details and select the “Create” button.

 

04: Wait until the Virtual network has been created. This might take some time. You can view the notifications by clicking on the bell icon on the upper-right corner of the portal.

 

05: From the notification select “Go to resource” button. If using the sidebar menu select All Services > Networking > Virtual networks, then select the virtual network from the list.

 

06: It should show the details of the Virtual network. Take note of the connected devices, it is currently empty.

 

07: Under “Settings” there is the “Subnets” menu, which will list the subnets under this Virtual network.

 

Virtual Machine

01: From the sidebar menu, select Create a resource > Compute > Ubuntu Server 18.04 LTS. You can select the Operating System this page and you can edit it later during the next steps.

 

02: Set the details of the Virtual Machine

PROJECT DETAILS
Subscription {{your-subscription}}
Resource group rg-geek-test
INSTANCE DETAILS
Virtual machine name vm-geek-web-001
Region (Asia Pacific) Southeast Asia
Availability options No infrastructure redundancy required

Useful if you want your instance to be provisioned in other availability zones

Image Ubuntu Server 18.04 LTS
Size Standard B1ls

(1 vcpu, 0.5 GiB memory)

Select the “Change size” link to view the list of available size. For this case we will be selecting the smallest instance for testing purposes.

ADMINISTRATOR ACCOUNT
Authentication type SSH public key

“Password” is also another option. For this example we will be creating

Username geek-devops
SSH public key {{your-ssh-public-key}}

You can generate your own public from tools like bartday.com

Login with Azure Active Directory (Preview) Off
INBOUND PORT RULES
Public Inbound Port(s) Allow selected ports
Selected Inbound ports SSH (22)

To test access to the instance, we will be exposing the SSH port on the internet.

 

03: Then select the “Next: Disk >” button to set the disk details.

Warning! Data Disks costs are separate from the OS Disk included in the VM size. You can ignore these steps if you do not need the additional disk space and proceed to step #09, Networking config.

DISK OPTIONS
OS Disk Type Standard HDD

Depending on the workload for this VM, you might opt to choose Standard SSD and Premium SSD for higher IOPS.

 

07: Data disks can also be added to provide additional storage. Note that the included Temporary Storage when selecting VM Size will not be carried over when migrated due to a hardware failure or other scenarios. For example, it is recommended to create a data disk for your web application resources. Select the “Create and attach a new disk”

 

08: Set the details for the disk. Then select the “OK” button.

Disk type Standard HDD
Name disk-vm-geek-web-001
Size (GiB) 2048

Depending on the usage, increase or decrease the size. In this case this will be used for application logs and configuration files of the web app.

Source type None (empty disk)

 

09: Select the “Next: Networking >” button to continue.

 

10: By default the Virtual network and subnet will be selected if you only have one Virtual network for the Resource group you selected. Set the other details as follows.

NETWORK INTERFACE
Virtual network vn-geek-test
Subnet sn-geek-test-web-api (172.16.10.128/16)
Public IP (new) vm-geek-web-001-ip
NIC network security group Basic
Public inbound ports Allowed selected ports
Select inbound ports SSH (22)
Accelerated networking Off

This can be turned On, depending on the selected VM size. In this case it is not possible to turn it On.

LOAD BALANCING
Place this virtual machine behind a load balancing solution? No

 

11: Then select “Review + create” button. Other options can be configured such as Monitoring, Backup, and others. But for this guide, we will use the defaults.

 

12: A summary of the VM instance that will be created will be shown including the estimated cost. Review the details then select the “Create” button if the configurations are set as expected.

 

13: Wait until the provisioning is completed.

 

14: Select “Go to resource” button to view the details of the instance.

 

15: Below are the details of the instance.

 

Remote Access

Access the instance via SSH using the following command


$ ssh -i {{ssh-private-key-file}} geek-devops@{{vm-instance-public-ip}}

Read More  3 Microsoft Azure AI Product Features That Accelerate Language Learning

For enquiries, product placements, sponsorships, and collaborations, connect with us at [email protected]. We'd love to hear from you!

Our humans need coffee too! Your support is highly appreciated, thank you!

root

Related Topics
  • Architecture
  • Azure
  • Virtual Machine
  • Virtual Network
You May Also Like
Google Cloud and Smart Communications
View Post
  • Platforms
  • Technology

Smart Communications, Inc. Dials into Google Cloud AI to Help Personalize Digital Services for Filipinos

  • October 25, 2024
View Post
  • Platforms
  • Public Cloud

Empowering builders with the new AWS Asia Pacific (Malaysia) Region

  • August 30, 2024
Red Hat and Globe Telecoms
View Post
  • Platforms
  • Technology

Globe Collaborates with Red Hat Open Innovation Labs to Modernize IT Infrastructure for Greater Agility and Scalability

  • August 19, 2024
Huawei Cloud Cairo Region Goes Live
View Post
  • Cloud-Native
  • Computing
  • Platforms

Huawei Cloud Goes Live in Egypt

  • May 24, 2024
Asteroid
View Post
  • Computing
  • Platforms
  • Technology

Asteroid Institute And Google Cloud Identify 27,500 New Asteroids, Revolutionizing Minor Planet Discovery With Cloud Technology

  • April 30, 2024
IBM
View Post
  • Hybrid Cloud
  • Platforms

IBM To Acquire HashiCorp, Inc. Creating A Comprehensive End-to-End Hybrid Cloud Platform

  • April 24, 2024
View Post
  • Platforms
  • Technology

Canonical Delivers Secure, Compliant Cloud Solutions for Google Distributed Cloud

  • April 9, 2024
Redis logo
View Post
  • Platforms
  • Software

Redis Moves To Source-Available Licenses

  • April 2, 2024

Stay Connected!
LATEST
  • college-of-cardinals-2025 1
    The Definitive Who’s Who of the 2025 Papal Conclave
    • May 7, 2025
  • conclave-poster-black-smoke 2
    The World Is Revalidating Itself
    • May 6, 2025
  • 3
    Conclave: How A New Pope Is Chosen
    • April 25, 2025
  • Getting things done makes her feel amazing 4
    Nurturing Minds in the Digital Revolution
    • April 25, 2025
  • 5
    AI is automating our jobs – but values need to change if we are to be liberated by it
    • April 17, 2025
  • 6
    Canonical Releases Ubuntu 25.04 Plucky Puffin
    • April 17, 2025
  • 7
    United States Army Enterprise Cloud Management Agency Expands its Oracle Defense Cloud Services
    • April 15, 2025
  • 8
    Tokyo Electron and IBM Renew Collaboration for Advanced Semiconductor Technology
    • April 2, 2025
  • 9
    IBM Accelerates Momentum in the as a Service Space with Growing Portfolio of Tools Simplifying Infrastructure Management
    • March 27, 2025
  • 10
    Tariffs, Trump, and Other Things That Start With T – They’re Not The Problem, It’s How We Use Them
    • March 25, 2025
about
Hello World!

We are aster.cloud. We’re created by programmers for programmers.

Our site aims to provide guides, programming tips, reviews, and interesting materials for tech people and those who want to learn in general.

We would like to hear from you.

If you have any feedback, enquiries, or sponsorship request, kindly reach out to us at:

[email protected]
Most Popular
  • 1
    IBM contributes key open-source projects to Linux Foundation to advance AI community participation
    • March 22, 2025
  • 2
    Co-op mode: New partners driving the future of gaming with AI
    • March 22, 2025
  • 3
    Mitsubishi Motors Canada Launches AI-Powered “Intelligent Companion” to Transform the 2025 Outlander Buying Experience
    • March 10, 2025
  • PiPiPi 4
    The Unexpected Pi-Fect Deals This March 14
    • March 13, 2025
  • Nintendo Switch Deals on Amazon 5
    10 Physical Nintendo Switch Game Deals on MAR10 Day!
    • March 9, 2025
  • /
  • Technology
  • Tools
  • About
  • Contact Us

Input your search keywords and press Enter.