Startec

Startec

How to create a Virtual Machine and Resource Group using Azure Powershell

Mai 25, às 18:16

·

2 min de leitura

·

1 leituras

Creating Resource Group and Virtual Machine with Powershell Step 1: Visit portal.azure.com, login or sign up if you don't have an account, you can get a free account at azure.microsoft.com/en-us/free/ Step...
How to create a Virtual Machine and Resource Group using Azure Powershell

Cover image for How to create a Virtual Machine and Resource Group using Azure Powershell

Creating Resource Group and Virtual Machine with Powershell

Step 1:
Visit portal.azure.com, login or sign up if you don't have an account, you can get a free account at azure.microsoft.com/en-us/free/

Step 2:
On the Azure portal page click the icon on the top right corner, then click powershell

Image description

Step 3:
Click show advanced settings to create a storage account if you don't have one

Image description

Step 4:
On the storage account field enter a storage name of your choice, also enter a file share name of your choice, then click create storage

Image description

Step 5:
To create a resource group paste this codes into your powershell:

New-AzResourceGroup -Name ‘mycoolerRg’ -Location ‘EastUS’

Enter fullscreen mode Exit fullscreen mode

for the resource group name i will be using "mycoolerRg" you can use any name of your choice

Image description

Step 6:
To create a Virtual Machine paste these codes into your powershell:

New-AzVm `
 -ResourceGroupName "myCoolerRg” `
 -Name "myVMps” `
 -Location "East US" `
 -VirtualNetworkName "myVnetPS” `
 -SubnetName "mySubnetPS” `
 -SecurityGroupName "myNSGPS” `
 -PublicIpAddressName "myPublicIpPS”

Enter fullscreen mode Exit fullscreen mode

for user enter anyname of your choice, password also use any password of your choice

Image description

Confirming the Resource Group and Virtual Machine created

Step 1:
Go to Azure portal page search for resource group and click resource group

Image description

Step 2:
Here is the resource group created, click it

Image description

Step 3:
As you can see here is the Virtual Machine we created with Azure Powershell

Image description

Thank you for reading!!!


Continue lendo

DEV

Authentication system using Golang and Sveltekit - Dockerization and deployments
Introduction Having built out all the features of our application, preparing it for deployment is the next step so that everyone around the world will easily access it. We will deploy our apps (backend and...

Hoje, às 19:52

DEV

LEARN API AND ITS MOST POPULAR TYPE
An API (Application Programming Interface) is a set of rules and protocols that allows different software applications to communicate and interact with each other. It defines the methods, data structures, and...

Hoje, às 19:26

AI | Techcrunch

Investors take note: Wildfire smoke will spark a surge in East Coast climate tech startups
As smoke from Canadian wildfires has enveloped large swathes of the East Coast, millions of people have found themselves trapped inside, gazing out on orange skies and hazy cityscapes. The air quality index —...

Hoje, às 18:08

DEV

A Plain English Guide to Reverse-Engineering the Twitter Algorithm with LangChain, Activeloop, and DeepInfra
Imagine writing a piece of software that could understand, assist, and even generate code, similar to how a seasoned developer would. Well, that’s possible with LangChain. Leveraging advanced models such as...

Hoje, às 18:08

DEV

Finding Harmony in Marketing and UX
When we think of teamwork in the world of user experience (UX), we often imagine design and engineering working together. However, the idea of design and marketing working together is not as common. While...

Hoje, às 17:02

DEV

💡 Where to Find Inspiration for Building Your Next App
The first steps before turning your ideas into code. Whenever I’m trying to think of an idea to build a new application or website and I get stumped on what to do, there’s one phrase that always comes to...

Hoje, às 16:58

DEV

How to create 700+ SEO optimised pages for website in 1 h using Next.JS, OpenAI, Postgres
Small intro, I started learning coding couple of months before and since then experimenting with different small side projects. So this I show coding still looks for me:) What did I build this...

Hoje, às 16:37

DEV

Angular Project Mongodb database Connect | Angular Website Project | Angular App
Angular Project Mongodb database Connect | Angular Website Project | Angular App - YouTube ​ @softwaretechit Download Our App:- https://blog.softwaretechit.com/p/download.htmlWhat will we Learn In This...

Hoje, às 16:10

AI | Techcrunch

Meta warned it faces 'heavy sanctions' in EU if it fails to fix child protection issues on Instagram
The European Union has fired a blunt warning at Meta, saying it must quickly clean up its act on child protection or face the risk of “heavy sanctions”. The warning follows a report by the Wall Street...

Hoje, às 16:03

DEV

Taking Control with PostgreSQL Functions: Closing the Gap to ORM Functionality
Unveiling the Disparity: Understanding the Divide Between Direct Driver and ORM Functionality When it comes to choosing the technologies for developing a backend and manipulating data in a database like...

Hoje, às 16:02