![]() ![]() Here I’ve created a new one called “demoResourceGroup”, and I’ve gone with my local Sydney location:Īz group create -name demoResourceGroup -location "Australia East" If you’re going to use an existing Azure resource group, you can skip this step.You should end up at a blank shell window:.Choose as appropriate and click “Create storage”: If you’ve never done this before you’ll be prompted to create a new storage account.Click the chevron icon in the title bar (highlighted above) to launch a Shell session and choose Bash:.I wanted to use PowerShell, however the Linux commands aren’t all available in Azure PS just yet – so Shell it is. In this demo I’m creating all new entities in Azure, and I’m doing so using the Azure Shell. Python’s still in Preview at the time of writing, but I’m pleased to say since embarking on this journey, Microsoft has increased the range of Python versions supported to now include 2.7, 3.6 & 3.7. This how-to assumes you have an Azure subscription ready to roll, hopefully a working Python site to copy across, and an FTP client like WinSCP. ![]() Our end result here is the customary “Hello World” page. ![]() My requirements didn’t fit with the automated GitHub deployment process that Microsoft documents, and I thought I’d reproduce it here for anyone else in a similar situation. For bonus points, the base image deployed in Azure includes the Flask web framework, and the web app runs on Gunicorn, neatly paralleling my own development work and allowing for a very easy port to Azure! In the process of building that project I decided it would be handy if I could host a basic Python site in Azure, and I was pleased to see Microsoft has just the thing in preview at the moment. Azure ftp server cost code#I’ve never used Python before, but I’ve been really impressed with what I’ve been able to code and get a Raspberry Pi to do in such a relatively short time. I’ve been tinkering with Python of late – of which you’ll read more about here in due course. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |