• 5 min,  ARM,  Information

    5 min Create and configure an Azure Files mount on VM 2 with robocopy (update)

    https://docs.microsoft.com/en-us/azure/storage/files/storage-files-quick-create-use-windows An Azure storage account and an Azure file shareA Windows Server 2019 Datacenter VM 1 Create a storage account (test-it3->testit3straccount)A general-purpose v2 storage account provides access to all of the Azure Storage services: blobs, files, queues, and tables.2 Create an Azure file share:2.1 When the Azure storage account deployment is complete, select Go to resource.2.2 Select File shares from the storage account pane.2.3 Select + File Share.2.4 Name the new file share qsfileshare, enter “1” for the Quota, leave Transaction optimized selected,and select Create. The quota can be a maximum of 5 TiB (100 TiB, with large file shares enabled),but you only need 1 GiB for this quickstart.2.5 Create…

    Comments Off on 5 min Create and configure an Azure Files mount on VM 2 with robocopy (update)
  • 5 min,  ARM,  azure

    5 min Azure vnet, vm and dynamic/static ip

    Microsoft Azure by default has a dynamic assignment of a public IP address to a newly-created VM unless we change it to be static. Public IP enables communication to Azure VM from the internet. Assigning a static public IP address ensures that the address never changes as opposed to the dynamic public IP address. The dynamic IP address changes every time we restart the Azure VM Assign Static Public IP address to VM during the creation You could do this when you create the vm under Login to MS Azure portal Click “Virtual Machines” from the left menu. Click “Add”. Add the basic information about the virtual machine to be set…

    Comments Off on 5 min Azure vnet, vm and dynamic/static ip
  • 5 min,  ARM

    5 min data storage approach in Azure decision tree

    Case: https://docs.microsoft.com/en-us/learn/modules/choose-storage-approach-in-azure/ Data classification:The key factors to consider in deciding on the optimal storage solution are: how to classify your data, how your data will be used, and how you can get the best performance for your application. Structured (SQL, RDBMS) Semi-structured (key/value, NOSQL, serialization language, XML,JSON, YAML) Unstructured (media, word, text, log) What are the main operations on the data, ACID-compliant?OLTP (Online Transaction Processing)OLAP (Online Analytical Processing) Correct storage solution can lead to better performance, cost savings, and improved manageability, after data classification. Data classification: Semi-structuredAzure Cosmos DBAzure SQL Database Data classification: UnstructuredAzure Blob storage Data classification: StructuredAzure SQL Database Storage service https://docs.microsoft.com/en-us/azure/storage/common/storage-account-overview?toc=/azure/storage/blobs/toc.json Storage service: Storage account contains all…

    Comments Off on 5 min data storage approach in Azure decision tree
  • Ansible,  ARM,  azure,  linux

    2 TODO Azure, Arm and Bash

    https://github.com/spawnmarvel/azure-arm-bash SSH to Github Az CLI for Windows Tutorial Ansible Deploy ARM Template with Ansible https://docs.ansible.com/ Ansible is an IT automation tool. It can configure systems, deploy software, and orchestrate more advanced IT tasks such as continuous deployments or zero downtime rolling updates. https://www.ansible.com/overview/how-ansible-works Ansible is a radically simple IT automation engine that automates cloud provisioning, configuration management, application deployment, intra-service orchestration, and many other IT needs. Designed for multi-tier deployments since day one, Ansible models your IT infrastructure by describing how all of your systems inter-relate, rather than just managing one system at a time. It uses no agents and no additional custom security infrastructure, so it’s easy to…

    Comments Off on 2 TODO Azure, Arm and Bash
  • ARM,  azure

    ARM Lab 104 MS (Deployment and more)

    https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/deployment-tutorial-local-template?tabs=azure-powershell Lets continue to more advanced or intermediate stuff! All the files are stored at folder ..\arm\med_deployment at github 1 Deploy a local ARM template […] deploys a storage account, app service plan, and web app Do, did done. Now clean it MS says, why this tutorial anyway, well repetition is always good.2 Deploy a linked template Previous tutorial, we deployed from local machine.To deploy complex solutions, you can sub divide the templates, and deploy from main.Now we will do that.Deploy main template, that triggers the linked template and also store and secure the linked template with SAS token. A shared access signature (SAS) provides secure delegated access to resources…

    Comments Off on ARM Lab 104 MS (Deployment and more)
  • ARM,  azure

    ARM Lab 103 MS (param+ template)

    Lets continue from ARM Lab 102 https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-tutorial-create-first-template?tabs=azure-powershell With 8 Use quick start template Quick start templates is a repository of templates, here we will use a website resource definition and addit to the last template we used:Folder Quick Start-templates contains:azure deploy_exported.jsondeploy_exported.ps1The above template works for str.acc and app service plan, but we also want to add a website to it.(App service plan is for build, deploy, and scale web apps and APIs)Lets find a prebuilt JSON webapp. Open the link to the repository https://azure.microsoft.com/en-us/resources/templates/ Go to browse on gitLook at the azuredeploy.jsonScroll to the second last section with web/sites and edit the pre template with new JSON data Unique names,…

    Comments Off on ARM Lab 103 MS (param+ template)
  • ARM,  Github

    TODO ARM Actions MS (CI/CD)

    CI/CD Workflow Deploy credentials Configure secret Add ARM Template Create workflow The workflow is trigger when there is a push event on the main branch, which modifies at least one of the two files specified. Workflow status https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/deploy-github-actions

    Comments Off on TODO ARM Actions MS (CI/CD)
  • ARM,  azure

    Azure Services

    If you need to view the hole list or check updates just type Free services in Azure Always free App Service COMPUTE, 10 Web, mobile or API apps for any platform or device Functions COMPUTE, 1 000 000 request per month Active Directory SECURITY + IDENTITY, 500 000 objects Active Directory B2C SECURITY + IDENTITY, 50 000 monthly stored users Service Fabric CONTAINERS FREE Azure DevOps DEVELOPER TOOLS, (Build with any language- git repos CI/CD and release auto) UNLIMITED private git repos Application Insights, DEVELOPER TOOLS UNLIMITED nodes DevTest labs, DEVELOPER TOOLS FREE Security Center SECURITY + IDENTITY, 100 policy assessment and recommendations Advisor MONITORING + MANAGEMENT UNLIMITED Microsoft IoT…

    Comments Off on Azure Services
  • ARM,  azure

    ARM Lab 102 MS

    After following ARM Template 101 and AZ-104-MS Azure Administrator 101 quick ref We are ready for some labs, all labs has a template and a parameters file Remember also the quick starts https://azure.microsoft.com/en-us/resources/templates/ Any way we will start at 0, many of the parameters may change but we need to look at prices first, since we we deploy and destroy over and over again. The goal is just to learn IAC/ ARM and not spend money…. So lets recap bit and think about this! If we look back at the free services the cost/ configuration for (is free for 12m) B1s is: Ubuntu Basic: Resource group boose-rg Region West Europe…

    Comments Off on ARM Lab 102 MS
  • ARM,  azure

    ARM Template 101 MS

    https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-syntax Template Advantages Improves the consistency, the structure, format in the template is the same regardless of tool Help express deployments that are complex Reduces manual errors Are code, IAC, infrastructure as code, version and evolution over time Reuse and link-able, small templates and combine then Template Schema JSON, data stored as obj in text, key=value, each key is a str where the value can be: Str Number Bool exp List of val Obj (other key-val pair) Name Required Desc schema Jepp location of sch. that describes version of lang. contentVersion Jepp can provide any value, i. e 1.0.0.0, next 1.0.0.1 (major/min) parameters* NA val’s provided when deploy is done…

    Comments Off on ARM Template 101 MS