Nottingham Powershell User Group October Meeting

04 Oct 2018

Nottingham PowerShell user group October Meeting

Serverless by Jaap Brasser

A practical session on how we can move our existing code to the Cloud. What can be re-used? Which code should we leave in our existing silos?

These questions will be answered in this session focussed on what Serverless means for our PowerShell code. The approach we will take is as follows: we will take our existing code and transfer into Serverless code using Azure Functions; we evaluate changes or optimizations to take into account and how can we maximize the benefits of using Serverless.

Jaap presented information on Azure Automation and Microsoft Flow which has a set of connectors, plug-ins, approval flows and event triggers so similar to other work flows like Zapier or ifttt.

Also Azure Functions for Severless computing and Azure Web Apps to have an abstract infrastructure.

As this was a PowerShell meetup the emphasis was on creating new Azure Functions and being able to re-use existing skills and existing code, have faster deployments with less maintenance.

Version 2 of Azure Functions doesn’t support PowerShell yet but it’s possible to enable experimental languages to use PowerShell.

You can specify Environment Variables for functions which seemed odd because the functions aren’t running on a server?

Jaap made the point that efficient functions are key here due to the charging model based on time of execution; we want functions that run as quickly as possible. It’s possible to upload your own functions to Azure via FTP.

Azure DevOps - What is it? What can I do with it? Where Do I Start? How can I use it in PowerShell Scripting by Ryan Yates

In this session I will cover features and functionality of Azure DevOps (formally Visual Studio Team Services) and how these components can help you in both IT Pro & Developer workloads.

Whilst this is more an introductory session however I will demo out some personal workloads that I have using the Azure DevOps Platform with integration with Github and how this as a platform can accelerate your own personal PowerShell development

Azure DevOps is the new name for VSTS, not a DevOps tool but it can be used to automate many things.

Ryan described DevOps as a mixture of tools and processes, a way of life rather than a specific tool or tools with the benefit of faster releases of software to customers (internal or external).

Parts of the process are CI (Continuous Integration), CD (Continuous Deployment) and Learning and Monitoring tools.

Azure Boards were mentioned to help manage work, I haven’t used Azure Boards but I have used JIRA and the tool formerly known as Rally for planning and tracking work of Agile teams.

Azure Pipelines is the equivalent of CI/CD tools I’ve used before like Jenkins or Team City and I was impressed by the ability to write pipeline steps in a variety of languages (not just Groovy) and define scripts in YAML.

Azure Repositories were mentioned, a private Git repository with the ability to carry out a semantic search of code in the repository, also web hooks to call Azure Functions to automatically post information to Slack for example.

General

Azure Automation

Azure Boards

Azure DevOps

Azure Functions

Azure Pipelines

Azure Repositories

Azure Web Apps

ifttt

Jenkins

Microsoft Flow

Rally

Team City

Zapier

Jaap Brasser

https://www.jaapbrasser.com/

https://twitter.com/jaap_brasser

Ryan Yates

https://blog.kilasuit.org/

https://twitter.com/ryanyates1990