what happens when we throw arm, dsc & posh into a...

Post on 03-Jul-2020

1 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

AUTOMATION

What happens when we

throw ARM, DSC & POSH

into a blender?

Karim Vaes

AUTOMATION

Karim Vaes

Cloud Solution Architect

Cloud & Container Fanatic

Dev ~ Ops

Internal ~ Consultant

OpenSource ~ Microsoft

https://about.kvaes.be@kvaes https://blog.kvaes.be

AUTOMATIONAUTOMATION

What to expect?

Source : http://www.prestigeestateservices.com/wp-content/uploads/2016/04/What-To-Expect-At-Estate-Sales.png

Showcooking demo starts at 10:40

“Will it blend?”

AUTOMATION

Source : https://upload.wikimedia.org/wikipedia/commons/thumb/5/52/Mainframe_Computer.svg/2000px-Mainframe_Computer.svg.png

AUTOMATIONAUTOMATION

Let’s talk ingredients!

AUTOMATIONAUTOMATION

Powershell

aka “PS”, “Posh”

AUTOMATION

Azure Powershell

AUTOMATIONAUTOMATION

Azure

Resource Manager

aka “ARM”

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

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

AUTOMATIONAUTOMATION

Desired State Configuration

aka “DSC”

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

AUTOMATION

DSC Essentials

Test-Resource

Set-Resource

Get-Resource

ApplyOnly

ApplyAndMonitor

ApplyAndAutoCorrect

AUTOMATIONAUTOMATION

When to use what?

PS, ARM, DSC,...??!?

AUTOMATION

Automated

AUTOMATION

Less Automated

AUTOMATION

Desired State

Yes

Infrastructure ARM

In-VM DSC

No

Automation Powershell

Speed &

DepthPowershell

Quick & Dirty Portal

AUTOMATIONAUTOMATION

Let’s talk recipe!

AUTOMATIONAUTOMATION

Anybody heard of DevOps?

Yeah, we do it,

just not with all

that hipster mumbo jumbo!

AUTOMATION

Plan1 Monitor + Learn

ReleaseDevelop +

Test2

4

3

DevOps

AUTOMATION

Doing

IT

Together

AUTOMATIONAUTOMATION

Anybody heard of CI/CD?

Yeah, we deploy

stuff too!

AUTOMATION

Continuous integration

cspkg

AUTOMATION

Continuous delivery

AUTOMATIONAUTOMATION

Anybody heard of Infra-as-

code?

Or maybe

even Config-as-code?

AUTOMATION

Infrastructure and configuration

as code

AUTOMATION

Everyone still awake?

Source : http://amaznginfo.com/wp-content/uploads/2015/12/o-CHILD-AFRAID-OF-THE-DARK-facebook.jpg

AUTOMATIONAUTOMATION

Showcooking time!

AUTOMATIONAUTOMATION

Show cooking time!

Thank god,

the theoretical

crap ends...

AUTOMATION

Develop Build

Test

Deploy Environments Monitor and Learn

Development

Production

Acceptance

Testing

AUTOMATIONAUTOMATION

Closing Thoughts

Are you herding cattle or cats?

#expertslive

Source : http://theemarketingblog.blogs.lamp.elliance.com/wp-content/uploads/sites/2/2015/01/herding-cats.jpg

AUTOMATION

Desired State

Yes

Infrastructure ARM

In-VM DSC

No

Automation Powershell

Speed &

DepthPowershell

Quick & Dirty Portal

When to use what?

AUTOMATION

If you only read one book this

year… https://aka.ms/xdevops

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

AUTOMATION

Doing

IT

Together

!!!

Source : http://s27.postimg.org/j3esd6c5f/toddler2.jpg

KeepCalmand put it on

Azure (Stack)

Thanks for listening!

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>

top related