What happens when we throw ARM, DSC & POSH into a...
Transcript of What happens when we throw ARM, DSC & POSH into a...
![Page 1: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/1.jpg)
AUTOMATION
What happens when we
throw ARM, DSC & POSH
into a blender?
Karim Vaes
![Page 2: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/2.jpg)
![Page 3: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/3.jpg)
AUTOMATION
Karim Vaes
Cloud Solution Architect
Cloud & Container Fanatic
Dev ~ Ops
Internal ~ Consultant
OpenSource ~ Microsoft
https://about.kvaes.be@kvaes https://blog.kvaes.be
![Page 4: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/4.jpg)
AUTOMATIONAUTOMATION
What to expect?
Source : http://www.prestigeestateservices.com/wp-content/uploads/2016/04/What-To-Expect-At-Estate-Sales.png
![Page 5: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/5.jpg)
Showcooking demo starts at 10:40
“Will it blend?”
![Page 6: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/6.jpg)
AUTOMATION
Source : https://upload.wikimedia.org/wikipedia/commons/thumb/5/52/Mainframe_Computer.svg/2000px-Mainframe_Computer.svg.png
![Page 7: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/7.jpg)
AUTOMATIONAUTOMATION
Let’s talk ingredients!
![Page 8: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/8.jpg)
AUTOMATIONAUTOMATION
Powershell
aka “PS”, “Posh”
![Page 9: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/9.jpg)
AUTOMATION
Azure Powershell
![Page 10: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/10.jpg)
AUTOMATIONAUTOMATION
Azure
Resource Manager
aka “ARM”
![Page 11: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/11.jpg)
AUTOMATION
Azure Templates can:
• Ensure Idempotency
• Simplify Orchestration
• Simplify Roll-back
• Provide Cross-Resource Configuration and
Update Support
Azure Templates are:
• Source files, can be checked-in
• Specifies resources and dependencies
(VMs, WebSites, DBs) and connections
(config, LB sets)
• Support parametrized input/output
Instantiation of repeatable config.Configuration Resource Group
MySQL Website VirtualMachines
My App
[SQL CONFIG] VM (2x)
DEPENDS ON
MySQLDEPENDS ON
MySQL
SQLCONFIG
Azure Resource Manager
![Page 12: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/12.jpg)
Platform Services
Infrastructure Services
WebApps
MobileApps
API Apps
Notification Hubs
HybridCloud
Backup
StorSimple
Azure SiteRecovery
Import/Export
SQL Database DocumentDB
Redis Cache
AzureSearch
StorageTables
SQL DataWarehouse
Azure AD Health Monitoring
AD PrivilegedIdentity Management
OperationalAnalytics
Cloud Services
BatchRemoteApp
ServiceFabric
Visual Studio
ApplicationInsights
VS Team Services
Domain Services
HDInsight MachineLearning Stream Analytics
Data Factory
EventHubs
Data LakeAnalytics Service
IoT Hub
Data Catalog
Security & Management
Azure ActiveDirectory
Multi-FactorAuthentication
Automation
Portal
Key Vault
Store/Marketplace
VM Image Gallery& VM Depot
Azure ADB2C
Scheduler
Xamarin
HockeyApp
Power BI Embedded
SQL Server Stretch Database
MobileEngagement
FunctionsCognitive Services Bot Framework Cortana
Security Center
Container Service
VM Scale Sets
Data Lake Store
BizTalkServices
Service Bus
Logic Apps
API Management
Content DeliveryNetwork
Media Services
Media Analytics
![Page 13: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/13.jpg)
AUTOMATIONAUTOMATION
Desired State Configuration
aka “DSC”
![Page 14: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/14.jpg)
AUTOMATION
Basic DSC Configuration{
Node e15-1{
WindowsFeature WebServer{
Name = "Web-Server"Ensure = "Present"
}
WindowsFeature CertAuth{
Name = "Web-Cert-Auth"Ensure = "Present"
DependsOn = "[WindowsFeature]WebServer"}
}}
ConfigScript1#Start-DscConfiguration -Path .\ConfigScript1 -Verbose -Wait
Configuration ConfigScript1
![Page 15: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/15.jpg)
AUTOMATION
DSC Essentials
Test-Resource
Set-Resource
Get-Resource
ApplyOnly
ApplyAndMonitor
ApplyAndAutoCorrect
![Page 16: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/16.jpg)
AUTOMATIONAUTOMATION
When to use what?
PS, ARM, DSC,...??!?
![Page 17: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/17.jpg)
AUTOMATION
Automated
![Page 18: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/18.jpg)
AUTOMATION
Less Automated
![Page 19: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/19.jpg)
AUTOMATION
Desired State
Yes
Infrastructure ARM
In-VM DSC
No
Automation Powershell
Speed &
DepthPowershell
Quick & Dirty Portal
![Page 20: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/20.jpg)
AUTOMATIONAUTOMATION
Let’s talk recipe!
![Page 21: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/21.jpg)
AUTOMATIONAUTOMATION
Anybody heard of DevOps?
Yeah, we do it,
just not with all
that hipster mumbo jumbo!
![Page 22: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/22.jpg)
AUTOMATION
Plan1 Monitor + Learn
ReleaseDevelop +
Test2
4
3
DevOps
![Page 23: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/23.jpg)
AUTOMATION
Doing
IT
Together
![Page 24: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/24.jpg)
AUTOMATIONAUTOMATION
Anybody heard of CI/CD?
Yeah, we deploy
stuff too!
![Page 25: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/25.jpg)
AUTOMATION
Continuous integration
cspkg
![Page 26: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/26.jpg)
AUTOMATION
Continuous delivery
![Page 27: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/27.jpg)
AUTOMATIONAUTOMATION
Anybody heard of Infra-as-
code?
Or maybe
even Config-as-code?
![Page 28: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/28.jpg)
AUTOMATION
Infrastructure and configuration
as code
![Page 29: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/29.jpg)
AUTOMATION
Everyone still awake?
Source : http://amaznginfo.com/wp-content/uploads/2015/12/o-CHILD-AFRAID-OF-THE-DARK-facebook.jpg
![Page 30: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/30.jpg)
AUTOMATIONAUTOMATION
Showcooking time!
![Page 31: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/31.jpg)
AUTOMATIONAUTOMATION
Show cooking time!
Thank god,
the theoretical
crap ends...
![Page 32: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/32.jpg)
AUTOMATION
Develop Build
Test
Deploy Environments Monitor and Learn
Development
Production
Acceptance
Testing
![Page 33: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/33.jpg)
AUTOMATIONAUTOMATION
Closing Thoughts
![Page 34: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/34.jpg)
Are you herding cattle or cats?
#expertslive
Source : http://theemarketingblog.blogs.lamp.elliance.com/wp-content/uploads/sites/2/2015/01/herding-cats.jpg
![Page 35: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/35.jpg)
AUTOMATION
Desired State
Yes
Infrastructure ARM
In-VM DSC
No
Automation Powershell
Speed &
DepthPowershell
Quick & Dirty Portal
When to use what?
![Page 36: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/36.jpg)
AUTOMATION
If you only read one book this
year… https://aka.ms/xdevops
![Page 37: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/37.jpg)
AUTOMATION
Everyone still awake?No need
to be afraid
Source : http://amaznginfo.com/wp-content/uploads/2015/12/o-CHILD-AFRAID-OF-THE-DARK-facebook.jpg
![Page 38: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/38.jpg)
AUTOMATION
Doing
IT
Together
!!!
Source : http://s27.postimg.org/j3esd6c5f/toddler2.jpg
![Page 39: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/39.jpg)
KeepCalmand put it on
Azure (Stack)
Thanks for listening!
![Page 40: What happens when we throw ARM, DSC & POSH into a blender?expertslive.nl/wp-content/uploads/2016/12/Karim...Notification Hubs Hybrid Cloud Backup StorSimple Azure Site Recovery Import/Export](https://reader035.fdocuments.us/reader035/viewer/2022070819/5f18c59d28eac42f4f5dddb1/html5/thumbnails/40.jpg)
AUTOMATION
<Volgende sessie 11:30 – 12:30 uur>
Deliver PowerShell to your team: From a script on a UNC share to a self-updating module.
<Daniel Both & Bartosz Bielawski>