DevTest Labs en Azure (por Iván Cañizares)

20
#GIBMad2017 2017 - Madrid #GIBMad2017 DevTest Labs in Azure Iván Cañizares Cloud Solutions Architect @icanizares thougths.com.es

Transcript of DevTest Labs en Azure (por Iván Cañizares)

#GIBMad2017

2017 - Madrid

#GIBMad2017

DevTest Labs in AzureIván CañizaresCloud Solutions Architect

@icanizaresthougths.com.es

#GIBMad2017#GIBMad2017

#GIBMad2017#GIBMad2017

Before DevOps…

#GIBMad2017#GIBMad2017

Part of the solution…

#GIBMad2017#GIBMad2017

Problems

Administration Cost control Knowledge

#GIBMad2017#GIBMad2017

#GIBMad2017#GIBMad2017

What’s DevTest Labs

Azure DevTest Labs is a service that helps devs & opsto quickly deploy self-service environments and at thesame time have control over cost and resources.

#GIBMad2017#GIBMad2017

DevTest Labs ConceptsLab

s Infrastructure that

encompasses a group of

resources, such as Virtual

Machines (VMs), that lets

you better manage those

resources by specifying

limits and quotas

Vir

tual m

ach

ine Azure VMs give you the

flexibility of virtualization

without having to buy and

maintain the physical

hardware that runs it,

although you still need to

maintain the VM by

performing certain tasks,

such as configuring,

patching, and installing the

software that runs on iT En

vir

on

men

t DevTest Labs, an

environment refers to a

collection of Azure

resources in a lab. This blog

post discusses how to

create multi-VM

environments from your

Azure Resource Manager

templates

Base

im

ag

es Base images are VM

images with all the tools

and settings preinstalled

and configured to quickly

create a VM. You can

provision a VM by picking

an existing base and

adding an artifact to install

your test agent. You can

then save the provisioned

VM as a base so that the

base can be used without

having to reinstall the test

agent for each provisioning

of the VM

Art

ifact

s Artifacts are used to deploy

and configure your

application after a VM is

provisioned. Artifacts can

be tools, actions or

applications

Rep

osi

tori

es Artifact repositories

are git repositories

where artifacts are

checked in. Artifact

repositories can be

added to multiple labs

in your organization

enabling reuse and

sharing.

Fo

rmu

las Formulas, in addition

to base images,

provide a mechanism

for fast VM

provisioning. A

formula in DevTest

Labs is a list of default

property values used

to create a lab VM.

When creating a VM

from a formula, the

default values can be

used as-is or modified

Po

lici

es Policies help in

controlling cost in your

lab. For example, you

can create a policy to

automatically shut

down VMs based on a

defined schedule

Cap

s Caps is a mechanism

to minimize waste in

your lab. For example,

you can set a cap to

restrict the number of

VMs that can be

created per user, or in

a lab

Secu

rity

levels Security access is

determined by Azure

Role-Based Access

Control (RBAC).

There are two types of

roles to define user

permissions: lab owner

and lab user.

#GIBMad2017#GIBMad2017

Create a lab

#GIBMad2017#GIBMad2017

Manage a lab

#GIBMad2017#GIBMad2017

Manage a lab – Create a Formula

#GIBMad2017#GIBMad2017

Manage a lab – Create a Formula

#GIBMad2017#GIBMad2017

Manage a lab – Create a VM from Formula

#GIBMad2017#GIBMad2017

Manage a lab – Create a VM from Formula

#GIBMad2017#GIBMad2017

Manage basic lab policies

#GIBMad2017#GIBMad2017

Manage basic lab policies

#GIBMad2017#GIBMad2017

Manage basic lab policies

#GIBMad2017#GIBMad2017

ArtifactsArtifacts is an easy way to customize the virtual machine without knowledge.

By default we can do things like:

• Install software (7-zip, Mozilla, git, Fiddler4, etc.)

• Config VM (join Active Directory, run PowerShell script, sysprep VM, etc.)

#GIBMad2017#GIBMad2017

DevTest Labs for TrainingUse DevTest Labs for training purposes:

• Trainees cannot see VMs created by other trainees

• Every training machine should be identical

• Trainees can quickly provision their training environments

• Control cost by ensuring that trainees cannot get more VMs than they need for the training and also shutdown VMs when they are not using them

• Easily share the training lab with each trainee

• Reuse the training lab again and again

#GIBMad2017

Thankyouallforcoming!

#GIBMad2017