/
Linux on Azure  SmartLab Linux on Azure  SmartLab

Linux on Azure SmartLab - PowerPoint Presentation

pinperc
pinperc . @pinperc
Follow
343 views
Uploaded On 2020-07-03

Linux on Azure SmartLab - PPT Presentation

Azure Open Source Warren du Toit Microsoft is now the leading opensource contributor in the world they have just over taken Facebook and now provide the most source to communities to use and contribute ID: 793714

linux azure open microsoft azure linux microsoft open source https quick create github smartlab authentication install aad command server

Share:

Link:

Embed:

Download Presentation from below link

Download The PPT/PDF document "Linux on Azure SmartLab" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

Linux on Azure SmartLab

Azure + Open

Source

Warren

du Toit

Slide2

Microsoft is now the leading open-source contributor in the world, they have just over taken Facebook and now provide the most source to communities to use and contribute.

Microsoft have also given us command line children many great ways of installing, provisioning, automating and using Linux(nix) distributions in Azure.

Linux on Azure SmartLab

Slide3

Awesomeness

Awesomeness

Run existing and new business-critical enterprise Linux infrastructure workloads in the cloud to leverage hyper-scale economicsMake the most out of your Azure investment but also take advantage of quick and easy free deployment methods.Use Microsoft’s robust cloud to enhance your open-source experience.Microsoft Loves Linux

Linux on Azure SmartlabSatya Nadella, CEO, Microsoft

Slide4

The CLI and quick-create

Head over to Microsoft and get the CLI package.Install the Azure CLI

For Mac, it’s a simple installer pkg file. For Linux, use node package manager. root@LinuxVMtoASR:~# apt-get install npm nodejsroot@LinuxVMtoASR:~# npm install -g azure-cliFast and Easy AuthenticationAfter installing, you can authenticate your CLI so it receives a token so you can easily access your Azure subscription.wdt@Warrens-MacBook-Pro ~ $ azure logininfo: Executing command logininfo: To sign in, use a web browser to open the page https://aka.ms/devicelogin. Enter the code CUUU9MQZM to authenticate.

wdt@Warrens-MacBook-Pro ~ $ azure account listinfo: Executing command account listdata: Name Id Current State data: ------------------------ ------------------------------------ ------- -------data: Visual Studio Enterprise bd10f6e4-500a-44bd-872c-85b999df7c3f true Enabledinfo: account list command OKWhen in doubt “azure help” Installing the Azure command line interface and using quick-createUsing quick-create.Quick create is a super one liner to create Azure VM’s azure vm quick-create \-g newResourceGroup \-n LinuxVMtoASR \

-

l northeurope \-y Linux \-u wdt \-M ~/.ssh/id_rsa.pub \-

Q UbuntuLTSAdding in the –M allows you to transfer your ssh key straight in, allowing only

ssh

key auth to the newly created box. This will disallow password authentication to the box as well.Quick-create assigns network, an external DNS name and the port forwards for ssh. All the defaults to get your box out there. Linux on Azure Smartlab

Slide5

Demo

Azure + Open

Source

Slide6

Microsoft’s Open-Source Repo’s

Huge Repo’s on Github and Microsoft Website

Azure on GitHubAzure quick-start templatesMicrosoft Azure Templates DocumentationBlank Template ExampleContributingYou can contribute your own quick-start templates if you find there is a need for one  Contributing guide and rulesExampleLAMP App Server on UbuntuUsing Microsoft’s open source repo’s, templates and contributing.

Typical JSON metadata example { "itemDisplayName": "Blank template", "description": "A blank template and empty parameters file.", "summary": " ", "githubUsername": "bmoore-msft", "dateUpdated": "2016-09-22" } Typical Azure Deploy JSON { "$schema": "https://schema.management.azure.com/schemas/2015-01- 01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { }, "variables": { }, "resources": [ ], "outputs": { } } Hosting or creating a link that auto links to Azure.https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Flamp-app%2Fazuredeploy.json

Linux on Azure

Smartlab

Slide7

Azure AD Authentication

Authenticate PAM with AAD Connect. With a script found on GitHub, written by this guy

https://github.com/bureado/aad-loginWe are able to allow the PAM authentication system on Linux to send authentication requests to Azure AD, allowing us to manage authentication across all our Linux machines anywhere. They do not need to be hosted in Azure.The script only needs http access out, nothing is required to come back in on the Firewall. The script can be deployed after the creation of the VM automatically using custom extension scripts.Using Azure Active Directory to Authenticate on Linux.

Requirements for AAD authentication to workMake sure that your server has access to the internet, it needs to get to your AAD and to install specific packages unless you have added them to your image. You can lock this down later. Install npm, nodejs on the server (git is optional)Aad-login files from GitHubClient-ID or App-ID created inside the Azure Active DirectoryUsers in Active Directory (password cannot have reset flag active) they will need to login to the azure portal via web and reset their password. Linux on Azure Smartlab

Slide8

Demo

Azure + Open

Source

Slide9

Azure Site Recovery Migration

Why use ASR to migrate ? The ability to migrate without downtime.

You don’t need to migrate at all, it’s a means of making sure your workloads are redundant for futureChanging Azure regions can mean less cost. You can reduce your on premise footprint. Fast and Easy. Migrating Linux workloads to Azure.

Pre-Reqs Azure SubscriptionConfiguration Server either On-Premise or in AzureBackup vault to connect the configuration Server to.Linux on Azure Smartlab

Slide10

Demo

Azure + Open

Source

Slide11

Technical Resources

https://azure.microsoft.com/en-us/documentation/templateshttps://github.com/Azure

https://github.com/Azure/azure-quickstart-templateshttps://github.com/Azure/azure-content/blob/master/articles/site-recovery/site-recovery-failover.md#run-an-unplanned-failoverEnterprise Linux Cloud Infrastructure

Slide12

Visit

Microsoft Open Source Website:

http://www.microsoft.com/opensourceMicrosoft Open Source Blog: http://openness.microsoft.com/blog

Twitter: https://twitter.com/OpenAtMicrosoftTrySign up for a Free Azure Trial: https://azure.microsoft.com/en-us/trial/free-trial-open-source/Try Open Source on Azure: https://azure.microsoft.com/en-us/services/virtual-machines/linux-and-openContact UsEmail us at opensource@microsoft.com

See how customers are using Open Source + Microsoft Azure: http://customers.microsoft.com

More Resources

Slide13

Thank you!