Mico: A monkey in the cloud

20
Mico: A monkey in the cloud

Transcript of Mico: A monkey in the cloud

Page 1: Mico: A monkey in the cloud

Mico: A monkey in the cloud

Page 2: Mico: A monkey in the cloud

Change the sysadmin paradigm

Page 3: Mico: A monkey in the cloud

Change the sysadmin paradigm

No more old style sysadmin

Cloud is the new datacenter

Devops evolution >> Programming Systems

Page 4: Mico: A monkey in the cloud

Automatization options

Puppet / Chef

Page 5: Mico: A monkey in the cloud

Automatization options

Puppet / ChefTemplating, not programming. No good cloud integration.

Page 6: Mico: A monkey in the cloud

Automatization options

Puppet / ChefTemplating, not programming. No good cloud integration.

Ansible

...

Page 7: Mico: A monkey in the cloud

Automatization options

Puppet / ChefTemplating, not programming. No good cloud integration.

Ansible Templating, not programming.

...

Page 8: Mico: A monkey in the cloud

Mico to the rescue!

Why not just programming python?

Page 9: Mico: A monkey in the cloud

Mico to the rescue!

Why not just programming python?

Systems as Service

Page 10: Mico: A monkey in the cloud

Mico to the rescue!

Why not just programming python?

Systems as Service

Cloud & OS as an API

Page 11: Mico: A monkey in the cloud

Execution example

$ vim my_template.py

$ export AWS_ACCESS_KEY_ID=foo

$ export AWS_SECRET_ACCESS_KEY=bar

$ mico my_template args...

Page 12: Mico: A monkey in the cloud

"Template" example

def main(tagname):

instance = ec2_ensure(

ami = "ami-3d4ff254",

name = tagname,

instance_type = "t1.micro",

key_name = "root-us-east-virginia",

security_groups = [ "test" ]

)

Page 13: Mico: A monkey in the cloud

"Template" example

def main(tagname):

instance = ec2_ensure(

ami = "ami-3d4ff254",

name = tagname,

instance_type = "t1.micro",

key_name = "root-us-east-virginia",

security_groups = [ "test" ]

)

Entry point

Page 14: Mico: A monkey in the cloud

"Template" example

Entry pointEnsure that the

instance is createddef main(tagname):

instance = ec2_ensure(

ami = "ami-3d4ff254",

name = tagname,

instance_type = "t1.micro",

key_name = "root-us-east-virginia",

security_groups = [ "test" ]

)

Page 15: Mico: A monkey in the cloud

"Template" example

def main(tagname):

instance = ec2_ensure(

ami = "ami-3d4ff254",

name = tagname,

instance_type = "t1.micro",

key_name = "root-us-east-virginia",

security_groups = [ "test" ]

)

Entry pointEnsure that the

instance is created

AMI to use

Page 16: Mico: A monkey in the cloud

"Template" example

def main(tagname):

instance = ec2_ensure(

ami = "ami-3d4ff254",

name = tagname,

instance_type = "t1.micro",

key_name = "root-us-east-virginia",

security_groups = [ "test" ]

)

Entry pointEnsure that the

instance is created

AMI to use

Security group as string or object

Page 17: Mico: A monkey in the cloud

Features

Cloud integrated (only AWS right now)

Use python for system deployment and configuration

Easy to extend (thinking in devops)

Stackable (templates of templates)

Page 18: Mico: A monkey in the cloud

Development

Python3 :)

Add new cloud providers...

Improve os libraries

High level templates (like "install nagios", "install lamp")

Testing, testing & testing.... we are in beta :)

Page 19: Mico: A monkey in the cloud

Development

Python3 :)

Add new cloud providers...

Improve os libraries

High level templates (like "install nagios", "install lamp")

Testing, testing & testing.... we are in beta :)

HELP IS WELCOME!!

Page 20: Mico: A monkey in the cloud

Thanks!

Q&A