Week 4 #100WeeksofAzure

Week 4 #100WeeksofAzure

Troubleshooting Azure File Shares

Experiencing high latency when using Azure File Shares can be due to a number of reasons. The share may be throttled but if you enable 'large file shares' they will support 10,000 IOPS per share. I learned about metadata-centric operations (createfile, openfile, closefile, queryinfo etc) and was surprised that these are heavier (terminology??) operations than read/write. There are metrics in Azure Storage monitoring for these two causes! There's also pre-canned end-end latency metrics. Excellent.

 

Azure Migrate - Discovery

My colleague walked me through a couple of scenarios for enabling Azure Migrate to collect information from servers on-prem, in a public cloud (not Azure) and hosted on various hyper-visors. In this scenario there's also some tricky networking constraints to battle with. Tricky network I thought, don't want to use the public internet and don't want to flood any bottlenecks - I've seen this before - "Use a private endpoint" I said. Umm no, as of today Azure Migrate doesn't support single endpoints but it does support Microsoft Peering. I'll come back to the networking thing in the next topic. What it does have is the Azure Migrate Appliance for agentless metadata collection across all the abovementioned scenarios.

 

Squid Proxy...

..was the answer to the networking challenge, all that was needed was some simple forwarding to a zone where the public internet could be used to transfer the metadata to Azure. Squid is free - hooray!

 

Azure Functions

As part of my study for the AZ-303 exam I ran through the tutorial to create an Azure Function with JavaScript and then deploy it to a Functions App. The function itself is basic, it uses an http trigger, you pass it a variable, it writes some text on webpage and then stores the variable passed in a storage queue. I do a lot of tutorials...I also have quite a childish sense of humour and I may be known to swear on occasion. To keep my tutorials extra interesting I use "alternative" phrases to "Hello World" and it always makes me giggle to see my unproffessional text written on a webpage and in this case, in my storage queue on Azure.

 

Azure VSCode Extensions

The best thing about this tutorial was the Azure extensions for VSCode - the Azure Functions extension allows you to pass your variables in and then creates all the .json files you need and because I used JavaScript and Node it created files for those things too. It also has a shortcut to create bindings for the function and to push the whole lot straight to a Function App. There's also an Azure Storage extension, a basic Azure subscription management extension, an ARM template extension and a Pipelines one. These are the ones I've used so far and they're basically making everything 'lower code'.

 

PowerShell Execution Policy

What I learned - On the first page of the create a Function tutorial I couldn't get the launch.json to run. Such a positive feeling when you can't get past the third step! I learned (after reading the error multiple times - then searching the interwebs) that by default on Windows client the PowerShell script execution policy is set to 'restricted'. You can check the current policy using get-executionpolicy and I amended for myself (temporarily) using set-executionpolicy -scope current user

Bonus

I'm becoming more interested in what different ports are assigned to by default, looked up 9229 which is the default TCP port for node - Learned that TCP stands for Transmission Control Protocol. I've been playing 'Control' on Xbox lately and now TCP sounds super ominous!

 

Happy New Year everyone.

 

Azure. Create with purpose.

David Pierce

Project Mgr> Cloud-Cyber-Data-GAI-Infra-Intergration-Agilest>Prince2/PMBoK/CSM/CSPO/ITIL4/ITSM/SAFe/ISO27001/NIST/CIS//MCSB/DAMA/TOGAF/BABok/CMBoK/Azure/AWS/Oracle/PAM/IDM/B2B/CIAM/FinOps/PCIDSS/PIA/HIMSS/ES8/ITO/EOI

4 年

Great share Daniella Mathews

Johan Grant

Senior Cloud Solution Architect at Microsoft

4 年

Must introduce me to your colleague to discuss Azure Migrate and Squid Proxies. Pretty sure we can have a good discussion ??

要查看或添加评论,请登录

Daniella Mathews的更多文章

  • #100WeeksOfAzure Week 34

    #100WeeksOfAzure Week 34

    Well, it has been far too long since my last post. This won't be the usual #100WeeksOfAzure.

    12 条评论
  • #100WeeksOfAzure Week 33

    #100WeeksOfAzure Week 33

    As promised this week - Resource Groups! If my memory serves me correctly, Resource Groups (RG's) were one of the early…

    3 条评论
  • Week 32 #100WeeksOfAzure

    Week 32 #100WeeksOfAzure

    Hello and Happy New Year. It's been a hot minute since I've posted my 100 Weeks of Azure update but it's January and as…

  • Week 31 #100WeeksofAzure

    Week 31 #100WeeksofAzure

    This week I did some further testing of Azure Virtual Desktop (formerly known as Windows Virtual Desktop). AVD is…

    3 条评论
  • Who likes Pi?

    Who likes Pi?

    Months ago Microsoft's Director of Azure Infrastructure, Jonathan Wade handed me a Raspberry Pi 4B and a Raspberry Pi…

    5 条评论
  • #100WeeksofAzure Weeks 27-30

    #100WeeksofAzure Weeks 27-30

    Well I'm not sure how 4 weeks just scooted by without me blinking but they did. So this is weeks 27, 28, 29 and 30.

    2 条评论
  • Week 26 #100WeeksofAzure

    Week 26 #100WeeksofAzure

    I'm currently helping a customer consolidate 25 Log Analytics Workspaces. Here's my short history lesson on Log…

    6 条评论
  • #100WeeksOfAzure Week 25

    #100WeeksOfAzure Week 25

    Had an absolute cracker yesterday testing a Knowledge Mining solution that runs on Azure Cognitive Search. The solution…

    11 条评论
  • Weeks 23 and 24 #100WeeksOfAzure

    Weeks 23 and 24 #100WeeksOfAzure

    My "weekly" articles are getting further and further apart but I'm doing my best to get back on track. Took a week off…

  • Weeks 21 and 22 #100WeeksOfAzure

    Weeks 21 and 22 #100WeeksOfAzure

    A few catch up bits and pieces. After a decent amount of refactoring I got my Pester test working - hooray! A small…

    2 条评论

社区洞察

其他会员也浏览了