Pokémon as a Service

Resilient applications with Docker

Javi moreno

@ciberado :: programar.cloud

CAPSiDE

@capside :: capside.com

Containers

CLUSTERS

mesos

+164 PARAMETERS

CONTAINER SERVICE

AL TURRÓN*

*lets go

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 @ciberado

Pokémon as a Service

By CAPSiDE

Pokémon as a Service

  • 325
Loading comments...

More from CAPSiDE