ResourcePokémon as a Service

Resilient Applications with ACS

ALEX MOORE

@alexmooreish

CAPSiDE

@capside

Containers

Hardware

Operating System

Hardware

Hypervisor

OS

OS

Hardware

C

C

Operating System

C

C

Hardware

Hypervisor

C

C

C

C

OS

OS

CLUSTERS

mesos

CONTAINER SERVICE

Lets get started

+164 PARAMETERS

general architecture

deploying applications

set MASTER=%RESOURCE_GROUP%mgmt.westeurope.cloudapp.azure.com
set AGENTS=%RESOURCE_GROUP%agents.westeurope.cloudapp.azure.com

ssh -L 80:localhost:80 -N ciberado@%MASTER% -p 2200 

Administración          80

Docker Swarm     2375

Mesos     5050

Marathon     8080

Chronos     4400

ID: demo
CPU: 1
Memory: 1024
Disk: 0
Instances: 1
Image: capside/pokemon-java
Network: host
Accepted Resource Roles: slave_public

 

scaling up and down

azure group deployment create 
  --resource-group %RESOURCE_GROUP% 
  --template-uri https://raw.githubusercontent.com/gbowerman/azure-myriad/master/vmss-scale-in-or-out.json
curl -s http://localhost/marathon/v2/apps | prettyjson | grep instances
curl -X PUT -d "{ \"instances\": 3 }" 
     -H "Content-type: application/json" 
     http://localhost/marathon/v2/apps/azureday/v7

gotchas

@capside @alexMooreish

Made with Slides.com