Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
From PowerShell Function to
Serverless code with Azure Functions
Jaap Brasser
@jaap_brasser
Jaap Brasser
2
Tweets
Blogs
Works
Does
Likes
@ jaap_brasser
@ jaapbrasser.com
Tech Marketeer @ Rubrik.com
Blogger, Speaker...
Agenda
Introduction to Cloud Automation
Azure Automation
Microsoft Flow
Azure Functions
Demos!
Cloud
Automation
Azure
Automation
Automate processes
Cross-platform configuration
management
Download example runbooks
and scripts
Event grid integration
Hy...
What is
Microsoft
Flow
Connectors
Flow
Templates
Use Connectors to get data
Create triggers based on this
data
Build workflows
Integrate and combine different
services
App...
What are Azure Functions
What is
serverless?
Azure Web Apps
Advantages of
Azure
Functions
Pay for what you use
No Infrastructure to manage
No maintenance of servers
Can be placed in ...
What are we
trying to solve?
Using our scripting skills in the
cloud
Re-using existing code / scripts
Faster deployment
Le...
Demo Summary
• Triggers available
• Scenarios available
• Experimental flag
• How to create Azure Function
• Delete Azure ...
PowerShell language support is still
experimental
Demo Summary
• Create PowerShell function
• Used cron notation
Demo Summary
• Which PowerShell version
• What variables are defined
• Saw the variables & files
• Reconfigured function.j...
Error handling
Demo Summary
• Had our function fail
• Looked at different error logs
• Fixed the code based on output
Other Deployment methods
Use existing PowerShell
skills
Develop serverless code
Interact with other services
Free tier
functions.azure.com
Questions?
From PowerShell Function to Serverless code with Azure Functions
From PowerShell Function to Serverless code with Azure Functions
From PowerShell Function to Serverless code with Azure Functions
From PowerShell Function to Serverless code with Azure Functions
Upcoming SlideShare
Loading in …5
×

From PowerShell Function to Serverless code with Azure Functions

6,456 views

Published on

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.

Join us and find out!

Published in: Technology
  • Be the first to comment

  • Be the first to like this

From PowerShell Function to Serverless code with Azure Functions

  1. 1. From PowerShell Function to Serverless code with Azure Functions Jaap Brasser @jaap_brasser
  2. 2. Jaap Brasser 2 Tweets Blogs Works Does Likes @ jaap_brasser @ jaapbrasser.com Tech Marketeer @ Rubrik.com Blogger, Speaker, Tech Enthusiast Cloud Automation, Scripting & Security
  3. 3. Agenda Introduction to Cloud Automation Azure Automation Microsoft Flow Azure Functions Demos!
  4. 4. Cloud Automation
  5. 5. Azure Automation
  6. 6. Automate processes Cross-platform configuration management Download example runbooks and scripts Event grid integration Hybrid Runbook Worker 500 free minutes
  7. 7. What is Microsoft Flow
  8. 8. Connectors
  9. 9. Flow Templates
  10. 10. Use Connectors to get data Create triggers based on this data Build workflows Integrate and combine different services Approval flows Long runtime of flows
  11. 11. What are Azure Functions
  12. 12. What is serverless?
  13. 13. Azure Web Apps
  14. 14. Advantages of Azure Functions Pay for what you use No Infrastructure to manage No maintenance of servers Can be placed in existing subscriptions Simplify code writing
  15. 15. What are we trying to solve? Using our scripting skills in the cloud Re-using existing code / scripts Faster deployment Less maintenance
  16. 16. Demo Summary • Triggers available • Scenarios available • Experimental flag • How to create Azure Function • Delete Azure Function
  17. 17. PowerShell language support is still experimental
  18. 18. Demo Summary • Create PowerShell function • Used cron notation
  19. 19. Demo Summary • Which PowerShell version • What variables are defined • Saw the variables & files • Reconfigured function.json • Used Invoke-RestMethod to run
  20. 20. Error handling
  21. 21. Demo Summary • Had our function fail • Looked at different error logs • Fixed the code based on output
  22. 22. Other Deployment methods
  23. 23. Use existing PowerShell skills Develop serverless code Interact with other services Free tier functions.azure.com
  24. 24. Questions?

×