Logo

dev-resources.site

for different kinds of informations.

Creating and connecting to a Linux Virtual Machine Scale Set

Published at
11/15/2024
Categories
azure
virtualmachine
learning
Author
dejialofun
Categories
3 categories in total
azure
open
virtualmachine
open
learning
open
Author
10 person written this
dejialofun
open
Creating and connecting to a Linux Virtual Machine Scale Set

Below is a step by step guide with screenshots on how to create and connect to a Linux Virtual Machine Scale Set.

  • Log into Azure Portal.
    Proceed to the Azure Portal and use your Azure account to log in.

  • To create Virtual Machines Scale Set (VMSS), make sure you have the required rights and a current subscription

  • Type vmss in the search bar as shown below.

vmss search

  • Click on either of the create word as shown below.

create vmss

  • Select active subscription from the drop down.

subs

  • Create a new resource group and or select already created one from the dropdown. For the purpose of this tutorial, we are creating a new resource group.

resource

  • Create a virtual machine scale set name and select other fields as shown below.

fields

  • Select Autoscaling and click on configure to set the parameters.

configure

  • click on pencil like object as shown below to edit the default setting.

pencil

  • Ensure the following fields are set as shown below, and save.

below field

fields cont

save this

  • Scoll down and select the following fields as shown below for scale in policy.

scale in

  • Ensure you select the following fields for image, architecture and size.

size etc

  • Ensure you completed the highlighted fields as shown below and click on next to continue.

new fields

  • Click on next until you get to networking page and click on pencil like icon as shown below to edit.

pencil

  • Ensure to complete the highlighted fields as shown below and click ok to continue.

highlights

  • To set the load balancing, check the Azure load balancer as shown below and click on create button to configure a new one.

load

  • Give the load balancer a name and maintain other default parameters, then create as shown below.

load bal

  • Now that the load balancer has been configured and selected as shown below, click on Review + create to continue.

review

  • After validation has been passed, click on create to continue.

validation

  • Download the private key and ensure you note where the file is downloaded in your system.

private

  • Wait for few minutes and allow the deployment to initialize, submit and complete. Click on Go to resource as shown below to continue.

resource

  • Instances configured can be connected to at thesame time by load balancing instead of connecting to the instances individually as shown below.

load

connect inst

  • Click on view inbound NAT rules to continue.

inbound NAT

NAT rules

  • To connect, search for the command prompt, right click to run as administrator and type ssh space -i space(input file path location by right clicking on the downloaded file, click properties, security and copy the objectname path) space username(Azureuser)@public IP address space -p space 50000 and click enter to continue. Type yes whenever confirmation is required as shown below.

file path

command

  • To update, run at the command prompt by typing sudo (space) apt-get (space)-y (space) update to continue.

update

  • To install, run at the command prompt by typing sudo (space) apt-get (space)-y (space) install (space) nginx to continue.

install

  • Paste your IP address on the browser to open the nginx welcome page.

nginx

virtualmachine Article's
30 articles in total
Favicon
Azure Marketplace for Virtual Machines
Favicon
Implementasi Infrastruktur Jaringan Virtual dengan Protokol OSPF
Favicon
How to Shutdown Azure VM
Favicon
How to configure Free SSL Certificate on Nginx using Certbot
Favicon
Live Azure VM Workshop | Deploy and Manage Azure VMs: RDP, Resize, Troubleshoot, IIS Setup
Favicon
Virtualization on Debian with virsh&QEMU&KVM — Installation of virtualization tools and first VM creation
Favicon
Connecting a Virtual Machine to Windows OS: A Step-by-Step Guide
Favicon
Azure VM Resize: Effortlessly Scale Your Virtual Machines in Azure
Favicon
Automating VM Disaster Recovery Using AWS Elastic Disaster Recovery (DRS)
Favicon
Docker vs Virtual Machines: What’s the Difference?
Favicon
Understand Amazon Elastic Compute Cloud (EC2) for launching virtual machines
Favicon
Increase Virtual Machine Quota: A Step-by-Step Guide
Favicon
Efficient Scaling: An Introduction to Virtual Machine Scale Sets (VMSS
Favicon
Create a Linux Virtual Machine in Azure
Favicon
Exploring the Potential of Deepfakes VR: Immersive Experiences for a Virtual Future https://cloudastra.co/blogs/exploring-the-potential-of-deepfakes-vr-immersive-experiences-for-a-virtual-future
Favicon
Creating a Linux VM and installing nginx on it
Favicon
Should You Try Azure Virtual Desktop? Here’s the Simple Breakdown
Favicon
Mastering Azure Monitor: A Step-by-Step Guide to Monitoring Your Azure Virtual Machine Like a Pro
Favicon
Creating and Connecting to a Linux Virtual Machine Scale Set
Favicon
Find the Exact and all connected device's IPs on the virtual machine
Favicon
Simplify Your Workflow: Effortless File Transfer Between VM and Windows
Favicon
Create a Windows 11 VM that is highly available
Favicon
Creating A Window Virtual Machine, RDP into it, Add a data disc to window virtual machine.
Favicon
Creating and connecting to a Linux Virtual Machine Scale Set
Favicon
How to Backup Virtual Machines to Object Storage with Borg, Borgmatic, Rclone, and Cron's Rsync
Favicon
Docker ও VM-এর মধ্যে পার্থক্যগুলো কী?
Favicon
What is Docker? The Simplest Explanation You'll Ever Need
Favicon
¿Cómo clonar una máquina virtual en Azure?
Favicon
Comandos Básicos de Vagrant
Favicon
create an NVA and virtual machine in azure

Featured ones: