Marketplace Syndication in Azure Stack TP3

Monday , 6, March 2017 4 Comments

One of the wonderful new additions to Azure Stack in Technical Preview 3 is Marketplace Syndication.

The Azure Marketplace offers VM Images with pre-installed software/config, VM Extensions, SaaS Applications, Machine Learning services, and Data Services.

With Marketplace Syndication in TP3, we are now able to directly pull a subset of VM Images from Azure into Azure Stack for consumption by tenants. For anyone who built and deployed Gallery items in Azure Pack, this is just glorious.

The Public Azure Marketplace offers five pricing models:

 

  • BYOL model: Bring your own licence. You obtain outside of the Azure Marketplace the right to access or use the offering and are not charged Azure Marketplace fees for use of the offering in the Azure Marketplace.
  • Free: Free SKU. Customers are not charged Azure Marketplace fees for use of the offering.
  • Free Software Trial (try it now): Full-featured version of the offer that is promotionally free for a limited period of time. You will not be charged Azure Marketplace fees for use of the offering during a trial period. Upon expiration of the trial period, customers will automatically be charged based on the standard rates for use of the offering.
  • Usage-based: You are charged or billed based on the extent of your use of the offering. For Virtual Machines Images, you are charged an hourly Azure Marketplace fee. For Data Services, Developer services and APIs, you are charged per unit of measurement as defined by the offering.
  • Monthly Fee: You are charged or billed a fixed monthly fee for a subscription to the offering (from date of subscription start for that particular plan). The monthly fee is not prorated for mid-month cancellations or unused services.
    Offer specific pricing details can be found on the solution details page on /en-gb/marketplace/ or within the Microsoft Azure classic portal.

As of just now in TP3, BYOL is the only model available, and only for a small subset of offerings. That doesn’t matter though, we’re just proving the concept just now, so that being the case, enabling Marketplace Management was the very first thing I did once I’d fired up my TP3 portal.

 

Registering the Resource Provider

When you click through to the Marketplace Management resource provider, it presents you with a link to follow in order to register and activate the resource provider. It needs to be registered against an existing Public Azure subscription in order to pull marketplace items down from hyperscale to on-prem.

Marketplace Management + Add from Azure NAME PUBLISHER TYPE VERSIO... STATUS You need to register and activate before you can start syndicating Azure Marketplace content. Follow instructions here to register and acitivate

The documentation to do this is available at the following link:

https://docs.microsoft.com/en-us/azure/azure-stack/azure-stack-register

A PowerShell script is required in order to register the resource provider, available from GitHub:

https://github.com/Azure/AzureStack-Tools/blob/master/Registration/RegisterWithAzure.ps1

And of course you need the AuzreRM PowerShell module installed, via Install-Module AzureRM

When registering the RP you are prompted for an Azure subscription, and an Azure username and password. This can be a completely separate subscription and username to the one used for Azure Stack deployment. It cannot, however, be a CSP subscription.

Run the script to completion…

Administrator: Windows PowerSheII ISE Eile Edit yew Tools Debug Add-ons Help RegisterWithAzure.ps1 X Ln256 Col 130 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 38 39 The script will follow four steps : Confi gure local identity: confi gures local Azure Stack so that it can call to Azure via your Azure subscription Get regi stration request: get local environment informatnon to create a registration for this azure stack in azure Register with Azure: uses Azure powershell to create an "Azure Stack Registratnon" resource on your Azure subscription Activate Azure Stack: final step in connecting Azure Stack to be able to call out to Azure . PARAMETER azuresubscriptionld Azure subscri ption ID that you want to regi ster your Azure Stack with. This parameter is mandatory. . PARAMETER azureDi rectory Name of your AAD Tenant which your Azure subscri ption is a part of. This parameter is mandatory. . PARAMETER azureSubscriptionOwner Username for the owner of the azure subscription. This user must not be an MSA or 2FA account. This parameter is mandatory. . PARAMETER azureSubscriptionPassword Password for the Azure subscription. You will be prompted to type in this password. This parameter is mandatory. . PARAMETER marketpl aceSyndi cati on Flag (ON/OFF) whether to enable downloading items from the Azure marketplace on this environment. Defaults to "ON" . V EKBU5E : VERBOSE: VERBOSE: STARTING : VERBOSE: STARTING : VERBOSE : VERBOSE: WARNING: STARTING : VERBOSE: VERBOSE : VERBOSE : VERBOSE: VERBOSE: VERBOSE: yrogress T 1 1 e: yrogress . new«egl srr at onxequesr. xm 1 Log file: • strationRequest. 2017-03—01. 23—08—49.0. log Invoking action : NewRegi strationRequest Action NewRegi strationRequest ' Action: Running action plan 'NewRegistrationRequest' . Step I - Create regi stration request - 3/1/2017 PM Step: Running step 1 — Create regi stration request — 3/1/2017 11:08:49 PM Task: Running interface • NewRegistrationRequest• of role Attempt #1. - 3/1/2017 PM Task: Interface 'NewRegi strationRequest' is not a supported standard Interface. - 3/1/2017 PM Task - NewRegistrati onRequest Interface: Path to module: psm1 — 3/1/2017 11:08 PM Interface: Running interface NewRegistrationRequest psml, AzureBridge:NewRegistrationRequest) Runtime parameters are present, will use provided Bridge App configuration file — 3/1/2017 11:08:52 PM Bridge appliation object id : 22280345—84f4—469e-80dO-dcbb7f2ec91b - 3/1/2017 11 :08:52 Performing the operation "Create File" on target "Destination: json" - 3/1/2017 Registration request contents: { "Br i dgeAp$-onfi gOi d" "22280345-84f4-469e-80do-dcbb7f2ec91b" , ' RegionNames • " local " , "Identi tyProvi d er " : "Azur eAD" } - 3/1/2017 PM "Servi cePri ncipal Name" . azurestack. local /b20ffdea—f632—433c-b39d-6ba972192cac" , "Depl oymentldent i fi er" : • b20ffdea—f632 , "https : // azur e. - 3/1/2017 VERBOSE : VERBOSE : COMPL ETE : VERBOSE: COMPLETE : VERBOSE: VERBOSE : COMPL : VERBOSE: Registration request output file is at : json - 3/1/2017 11 Interface: Interface NewRegi strati onRequest completed. - 3/1/2017 11:08:52 PM Task - NewRegistrati onRequest Task: Task compl eted. - 3/1/2017 PM Step 1 - Create regi stration request Step: Status of step 'I — Create registration request' is 'Success' 3/1/2017 PM Action: Action plan 'NewRegistrati onRequest' completed. — 3/1/2017 11:08:52 PM Action NewRegi strationRequest ' New—RegistrationRequest. PSI : END on AS-HOST as AZURESTACK\azurestackadmin STEP 2: Registration request completed. Re—enter your Azure subscription credentials in the Running script/ selection. Press Ctrl* Break to stop. Press Ctrl—B to break into debugger, next step. Press Enter to conti nue. . 100%

' i dgeServi ce. Partiti onConnecti onStr i ng ZB/fs r oynNTJXm1 YBSW40; Pool i ng=Fa1 se" , 'Data Catalog—Microsoft. AzureStack.Connerce;User 'TokenRetri ever . Certifi cateThumbpri nt" : '9794C97694AF2B26ßFE264C14D39D9D2A5571838" , 'TokenRetri ever . Cl i entld" : ' ce8c5ed0-745 a-448c-82c1-117c62f7c348" , 'UsageUpIoader . GatewayUri " " https : //azstusage. tr affi cmanager. net/usage" , 8r i dgeJ obRunn er . Stor ageC1i entld" : " 6b5b2d0522f449d1b021afS35 30294cf" 'TokenRetri ever . ResourceUri • • 'https : //mi crosoft. onmi crosoft. com/azurestackusage" 3/1/2017 11:11 PM VERBOSE: VERBOSE: VERBOSE : VERBOSE : VERBOSE : VERBOSE: COMPL ETE : VERBOSE: COMPL ETE : VERBOSE : VERBOSE : COMPL ETE : VERBOSE: Creating remote power-shell session on MAS—WASOI - 3/1/2017 11 : 11:41 PM Initializing remote powershell session on MAS—WASOI with common functions. - 3/1/2017 11:11 PM Loading infra vm helpers PSI) to session on MAS-WASOI — 3/1/2017 11:11:41 PM Invoking command on remote session.. - 3/1/2017 11:11:41 PM Removing remote power-shell session on MAS—WASOI. 3/1/2017 PM Interface: Interface Configure completed. — 3/1/2017 11 PM Task cRi ngServi ces\UsageBri dge — Confi gure Task: Task compl eted. - 3/1/2017 11:11:42 Step 1 - Configure Usage Bridge Step: Status of step 'I — Configure Usage Bri dgeT is 'Success - 3/1/2017 11:11 PM Action: Acti on plan 'ConfigureUsageBridge' completed. - 3/1/2017 11:11 PM Action 'Confi gureUsage8ridge Activate—Bridge.psI : END on AS-HOST as AZURESTACK\azurestackadmin STEP 4: Activate Azure Stack compl eted Registration compl ete. You may now access Marketpl ace Management in the Admin UI PS dge»

… and all should be well! You can now refresh the Marketplace Management resource provider, to be presented with a new message and an ‘Add from Azure’ button. Yay!

Marketplace Management + Add from Azure NAME PUBLISHER TYPE VERSIO... STATUS You have no items downloaded to your Azure Stack marketplace yet. Click "Add from Azure" to add items.

The available list is currently quite small, but pretty much everything is useful, so kudos on the choices there Microsoft!

Simply select what you want to bring into your Azure Stack, and click download. One thing I noticed is that the transfers were pretty slow, even on our ridiculously fast connections. Pulling down a handful of gallery images had to be left running overnight.

Microsoft Azure Stack V Marketplace Management VERSIO... STATUS > Add from Azure asadmin@brightsolid.... >< Add from Azure NAME TYPE lick " Add from Azure" to add items. O (ț) (â) (Â) Remote Desktop Services (RDS) Basic Farm SQL Server 2014 SPI Express on Windows Server ; SQL Server 2016 RTM Developer on Windows Ser GitLab LAMP Magento Moodle Nginx ownCIoud Redmine Ruby WordPress Drupal PUBLISHER Microsoft Microsoft Microsoft Bitnami Bitnami Bitnami Bitnami Bitnami Bitnami Bitnami Bitnami Bitnami Bitnami TYPE Virtual Virtual Virtual Virtual Virtual Virtual Virtual Virtual Virtual Virtual Virtual Virtual Virtual Machine Machine M achine Ma chine Ma chine Ma chine Machine Machine Machine Machine Machine Machine Machine VERSIO... 1.0.0 1.0.0 1.0.0 8.9.61 5.6.270 2.1.20 3.1.22 1.10.14 9.1.11 3.3.10 2.3.15 4.6.14 8.1.90 SIZE 8.5G 18.3G 23.4G 30.OG 30.OG 30.OG 30.OG 30.OG 30.OG 30.OG 30.OG 30.OG 30.OG

Downloading… waiting… downloading…

Microsoft Azure Stack v Marketplace Management > Add from Azure > Drupal > Word Press c Marketplace Management + Add from Azure Search to filter items... NAME (4) Ruby WordPress Drupal PUBLISHER Bitnami Bitnami Bitnami TYPE Virtual Machine Virtual Machine Virtual Machine VERSIO... 2.3.15 4.6.14 8.1.90 STATUS Downloadi... Downloadi... Downloadi...

Five wonderful marketplace items added and ready for tenant consumption! Amazing.
Microsoft Azure Stack v Marketplace Management Marketplace Management Add from Azure Search to filter items„. LAMP Ruby Word Press e Remote Desktop Services (ROS) Basic Farm SQL Sewer 2014 SPI Express on Windows Server PUBLISHER Bitnami Bitnami Bitnami M icrosoft M icrosoft Virtual Machine Virtual Machine Virtual Machine Virtual Machine Virtual Machine VERSIO... 5.6270 2.3.15 4614 1.00 1.00 STATUS Succeeded Succeeded Succeeded Succeeded Succeeded

Tenants can now select these Marketplace items, and deploy them immediately. This is such a leap forward from Azure Pack, and I feel such joy in using this feature. How important this is cannot be overstated.

Microsoft Azure Stack New p Search the marketplace MARKETPLACE Tenant Offers + Plans Virtual Machines Data + Storage Networking Custom Security + Identity Developer Services Web + Mobile Management Media + CDN RECENT New > Media + CDN See all Media + CDN FEATURED APPS WordPress ee al The most popular and ready-to-go

… and here we are! A WordPress VM deployed using an image from Public Azure, all controlled and managed from within the Azure Stack web UI – no PowerShell, not building VM images, all just so simple. Phenomenal.
Microsoft Azure Stack WPI Search (CtH+,9 Ove rview Activty log Access control (IAM) Tags SETTINGS WPI Start Connect Essentials Resource group (c'.ge) wp-dev-rg Running Location Dundee Subscription name (change) Default Provider Subscription Subscription ID Restart Stop Delete ace2128b-1464-4gc2-8b1 d -oggc2ba420bd Computer name Operating system Linux Standard Al (1 core, 1.75 G8 memory) Public IP address/DNS name label 192.168.102.13/«none» Virtual network/subnet wp-dev-rg-vnet/default
4 thoughts on “ : Marketplace Syndication in Azure Stack TP3”
  • […] post Marketplace Syndication in Azure Stack TP3 appeared first on Cloud and Datacenter Thoughts and […]

  • […] Azure Stack TP3 Marketplace syndication (Azure Stack) […]

  • […] Azure Stack TP3 Marketplace syndication (Azure Stack) […]

  • Leave a Reply

    %d bloggers like this: