cmd java -version java version “1.8.0_171”Java(TM) SE Runtime Environment (build 1.8.0_171-b11)Java HotSpot(TM) Client VM (build 25.171-b11, mixed mode) Make some code Compile (if some build error, re open cmd, if syntax error…well fix it) javac Slave.java Run it java Worker “1213.1213” System bat Change dir to correct -cp classpath . this
Author: espenk
Monitor VM (and market)
https://docs.microsoft.com/en-us/azure/azure-monitor/insights/vminsights-overview “There’s no direct cost for Azure Monitor for VMs, but you’re charged for its activity in the Log Analytics workspace. Based on the pricing that’s published on the Azure Monitor pricing page, Azure Monitor for VMs is billed for:” Data ingested from agents and stored in the workspace.Alert rules based on log and health…
Zabbix on VM remote MySql (Na market)
Lets continue and install Zabbix on a VM and MySql on another: BasicsSubscriptionFree TrialResource groupzabbix-rgVirtual machine namevm-zabbixRegionWest USAvailability optionsNo infrastructure redundancy requiredImageUbuntu Server 18.04 LTS – Gen1SizeStandard DS1 v2 (1 vcpu, 3.5 GiB memory)Authentication typePasswordUsernameespentestPublic inbound portsSSHAzure SpotNoDisksOS disk typeStandard HDDUse managed disksYesUse ephemeral OS diskNoNetworkingVirtual network(new) zabbix-rg-vnetSubnet(new) default (10.0.0.0/24)Public IP(new) vm-zabbix-ipAccelerated networkingOffPlace this virtual…
Virtual Networking 104
Networking components Virtual network Load balancer Application gateway Traffic manger Virtual network gateway Virtual WAN
Zabbix Azure
Zabbix Server 5.0 – Medium PerformanceThis image contains all you need to run Zabbix: Zabbix back-end, Zabbix front-end, Zabbix agent, Nginx as web server, MySQL as database, CentOS as a foundation. For the SKU we will use a B1s: We have no money so hdd Network, all new here: Management, next, Advanced next, Tag next,…
Grafana Azure
https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/azure-monitor/platform/grafana-plugin.md Press create and make the virtual machine. Installation configuration Network configuration Review and create it, and the result: login admin and the password we created. And here we are: Lets look at what we created and connect. We can view the boosestorage2 with storage explorer remote, we created a hdd drive with 30 gb,…
Virtual Machines 108
OS, storage, network for applications Vm’s are part of Iaas, scale up/down and pay for use (also view the 101) Checklist: Start with network, name, location, size, pricing, storage and OS. Location, select region for resources, so the vm is close to users for performance, tax, compliance and more. Location and region has limited options…
Function app
https://docs.microsoft.com/en-us/azure/azure-functions/ First function Python https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-first-function-vs-code?pivots=programming-language-python Linux, hm, must upload code from local The Azure Functions extension for Visual Studio Code. Azure icon click it, takes time Select a language for your function project: Choose Python.Select a Python alias to create a virtual environment: Choose the location of your Python interpreter. If the location isn’t shown,…
Storage 107 (With table (NoSQL and more))
STORAGE ACCOUNTS Cloud storage (data objects, file system, messaging, NoSQL) Replication across data center or regions Encrypted and access control Scalable to meet demands Managed, MS handles HW Accessible, HTTP, HTTPS and SDK’S Service for store files, messages, tables or other data, fileshare. Main 3 categorys Storage for VM, disks (Persistent block storage IaaS vm),…
Azure Virtual Machines 101
https://docs.microsoft.com/en-us/learn/modules/intro-to-azure-virtual-machines/2-compile-a-checklist-for-creating-a-vm As MS says “Performing a migration of on-premises servers to Azure requires planning and care. You can move them all at once, or more likely, in small batches or even individually. Before you create a single VM, you should sit down and sketch out your current infrastructure model and see how it might map…