Skip to content
Menu
e-lo [IT Engineer life]
  • Home
    • Notes
    • Important notes
  • Database
    • T-SQL
    • SQL Server quick
    • SQL server docs
    • MySql quick sheet
    • Postgre
    • InfluxDB
  • Programming
    • MS Azure Powershell
    • MS Azure Command-Line Interface (CLI) doc
    • Python Docs
    • Python Logging
    • Python-cheat-sheet
    • Git-guide
  • Azure
    • MS Windows virtual machines in Azure
    • MS ARM Docs
    • MS ARM Template Docs
    • MS ARM Functions
    • MS Bicep+ARM
    • MS ARM Tutorial
    • MS Deployment scripts (intern/extern)
    • MS Virtual Network
  • Az-nutshell
    • ms-technology-choices-compute-decision-tree
    • ms-data-store-decision-tree
    • ms-data-explorer
    • ms-storage-explorer
    • ms-azure-sql
    • ms-common-data-services
    • ms-azure-mysql-daas
    • ms-sla
    • az paas
    • az glossary-quicksheet
    • az-test-vm-script-quickguide
  • Linux
    • Top CMD’s
    • Useful CMD Linux
    • ss64 Linux
    • Ubuntu
    • 30 things Ubuntu 18.04
    • Bootable Ubuntu USB
    • LinuxFilesystemTreeOverview
  • Sys Admin
    • System Administrator
    • Sys News
    • Packet Sniffers
  • Zen
    • Not thinking about anything is Zen
e-lo [IT Engineer life]

az-test-vm-script-quickguide

VM

Azure “good-to-know” about any VM, with example on SKU:General purpose virtual machine sizes:

https://docs.microsoft.com/en-us/azure/virtual-machines/sizes-general

Checking VM stats on the Dv2 and DSv2-series:

Size and vCPU
Memory GiB
Temp storage (SSD) GiB
Max temp storage throughput: IOPS/Read MBps/Write MBps
Max data disks
Throughput: IOPS
Max NICs
Expected network bandwidth

https://docs.microsoft.com/en-us/azure/virtual-machines/dv2-dsv2-series

Good SKU for testing:

Rgaz104-07-rg0
Virtual macine nameaz104testVM
RegionWest Europe
Availability opt.Availability zone, 1
ImageWindows Server 2016 Datacenter -Gen2
SizeB2s General purpose, 2 vcpu, 4 gib memory
UserThe7481Announcementin85February2008That783LedZeppelinWouldTakeThe
StageAtThe87Bonnaroo78Festival01
PanteraIsRegardedAsOneOfTheMost8745Successful08And98Influential741254
BandsInHeavy666MetalHistoryHaving75SoldAround20MillionRecords
WorldWide18AndHavingReceived481FourGrammyNominations168,
[and the numbers/letters/signs for Caesar Cipher or not!? Who knows, Twitter does]
Public inbound portAllow selected
Select inbound portRDP, 3389
DiskStandard SSD, lrs
NetworkCreate all new and keep default or use existing
ManagementKeep default
AdvancedKeep default
Tags
Review + create
PricePrice, 0.0769 AUD/hr

#Remove all
Get-AzResourceGroup -Name ‘az104-07*’ | Remove-AzResourceGroup -Force -AsJob


MS Azure

Azure documentation

https://docs.microsoft.com/en-us/azure/?produ

Connect to Azure using Powershell (Module -Name Az must be installed)

# $PSVersionTable.PSVersion
# Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
# Install-Module -Name Az -Scope CurrentUser -Repository PSGallery -Force
# Take a coffee, this takes time, answer Yx2 and wait, when done, close/open Powershell and verify module
# Minimum Powershell v is 5.1
# Get-InstalledModule -Name Az

Connect-AzAccount
# or
Connect-AzAccount -TenantId The-tenant-id-we-copied-from-azure-ad
$rg = “testit2-rg”
Get-AzResource -ResourceGroupName $rg

AZ Powershell Reference

https://docs.microsoft.com/en-us/powershell/azure/?view=azps-6.3.0&viewFallbackFrom=azps-5.2.0

Connect to Azure from Az CLI (must be installed) using Git Bash (must be installed) :

az login
# If that does not work, go to Portal.azure.com, Azure Active Directory, Properties and you will see the tenant id, cp it
az login –tenant The-tenant-id-we-copied-from-azure-ad
rg=”testit2-rg”
az resource list –resource-group $rg

AZ CLI Reference

https://docs.microsoft.com/en-us/cli/azure/

RSS Azure

  • MLOps Blog Series Part 3: Testing scalability of secure machine learning systems using MLOps June 30, 2022

RSS RabbitMQ

  • RabbitMQ 3.8.15 release

RSS Python

  • PEP 694: Upload 2.0 API for Python Package Repositories June 11, 2022

Tags

5 min (29) Ansible (1) ARM (10) azure (41) cmd (3) Django (4) Docker (1) e-lo (2) Flask (2) Github (9) Grafana (2) Information (7) Information Retrieval (13) JAVA (1) kivy (2) Kotlin (6) linux (15) mobile (2) Natural Language Prossesing (NLP) (2) Net.Core (1) Networking and Security (9) OPC (2) PEP8 (1) Philosophy (3) Python (48) Python Networking and Security (5) Reason (2) RMQ (3) Solr (11) Sql (10) Uncategorized (2) VSC (1) Warframe (2) WMVARE (4) Zabbix (7)

Recent Posts

  • 401 access denied win server (iis), Local Security Policy
  • Callback
  • Share-level permissions IAM Azure AD
  • Packet Sniffers
  • MSA Account

Archives

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Photo by Markus Spiske from Pexels "Matrix"

©2022 e-lo [IT Engineer life] | Powered by WordPress & Superb Themes