How can you add custom Properties to an Azure VM in the classic model? Is there a command in powershell that helps?
I'm not sure about the mean of "custom Properties".
You have two ways to customize the VM on Azure:
1.Custom Image
2.Custom Script Extension
If the images on the Azure Market can't satisfy your requirement, you are able to upload your own custom image. Here is a good guide about it.
Also, we are able to customize the deployment with Custom Script Extension.
Related
I am publishing an app to the Azure Marketplace. My offer is a VM. My use case is that i need the customer to enter some values that will be used to call a script in the VM. How can i pass custom variables to the VM during launch?
According to this you can only customize them with SKU's, so this means any post deployment configurations are to be done by the customer.
What you see to need is an Azure Application Offer. That one would contain a way to customize it.
I want to publish an web application on Azure market place.
I can create a Linux VM, install Java, Tomcat, SQL server and create an image of it. But instead of that, is it possible to create a tomcat instance along with database on Azure portal, add it to a resource group and publish this resource group on market place?
Would this approach be more advantageous?
thanks
As per the doc here:
https://learn.microsoft.com/en-us/azure/marketplace-publishing/marketplace-publishing-getting-started
Azure Marketplace offerings are based on Azure VM images or solution templates, your current solution would be the VM based route. It sounds like you may want to look at the solution template route to leverage other capabilities such as Azure SQL Server.
Neither route enable "publish this resource group to the market place". If that is the route you are aiming for that is essentially building out a multi-tenant application which is a bigger task and perhaps something like this link will help get you started:
https://azure.microsoft.com/en-gb/blog/with-newly-available-services-azure-continues-to-be-the-best-place-for-software-as-a-service-developers/
There are also other stackoverflow answers which may be of help:
Does a developer have to pay for publishing a SaaS app on Windows Azure Marketplace?
How can i publish my web solution to Marketplace
I was going through the Powershell support to the Azure, and while looking into the cmdlets provided by Azure PowerShell i did not found any reference for the command by which i can create new directory under my subscription.
May be I am missing something.
Can anyone tell me the exact way to achieve this programmatically (using pwoershell)?
Thanks.
We do not expose the ability to create new directories via our REST APIs or PowerShell Module.
I believe this ability is only available through our Portals, in a non-automated fashion.
Can you go into more details about your scenario, where you would need to create multiple directories in an automated fashion?
I know DevTest Labs is still in Preview, but I'm currently trying to develop using the latest functionalities from Azure (not classic).
I have my own linux VHD and I decided to created a custom image under DevTest Labs. For my VM to work properly I need to add a secondary NIC to it, but I couldn't see any option/functionality to do so. I'm assuming there's another hidden way to create a secondary NIC(with Powershell, xplat-cli, wizardry..)or worst case scenario, there's no way to create a secondary NIC.
Any input if that's even possible yet ?
The primary building block of Azure Resource Management model is the Resource Manager Template, if you create a template that specifies the solution you want to create you can import that template into DevTest labs. Then deploy that as needed.
You could use this template as a starting point there are plenty of others at the Azure Quickstart Templates Site
They take a little hacking and getting used to, but once you figure them out they are a good way of managing resources.
There is also a an ARM template visualiser which is starting to get quite useful.
Cant see add button for vm extension on new azure portal. I want to add dsc extension for my windows vm on new azure portal but there is not Add button on extension configuration.enter image description here
It is not yet possible to add extensions to existing VMs in the new portal. We can imagine that it will come soon.
The mechanisms you can use is set-azureRmVMExtension with the extension and the parameter info which can be found at https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-extensions-configuration-samples-windows/. This has schema information for Puppet, Antimalware and other extensions.
I hope this answers your question.
Regards