Mico: A monkey in the cloud
-
Upload
andres-j-diaz -
Category
Technology
-
view
259 -
download
2
Transcript of Mico: A monkey in the cloud
Mico: A monkey in the cloud
Change the sysadmin paradigm
Change the sysadmin paradigm
No more old style sysadmin
Cloud is the new datacenter
Devops evolution >> Programming Systems
Automatization options
Puppet / Chef
Automatization options
Puppet / ChefTemplating, not programming. No good cloud integration.
Automatization options
Puppet / ChefTemplating, not programming. No good cloud integration.
Ansible
...
Automatization options
Puppet / ChefTemplating, not programming. No good cloud integration.
Ansible Templating, not programming.
...
Mico to the rescue!
Why not just programming python?
Mico to the rescue!
Why not just programming python?
Systems as Service
Mico to the rescue!
Why not just programming python?
Systems as Service
Cloud & OS as an API
Execution example
$ vim my_template.py
$ export AWS_ACCESS_KEY_ID=foo
$ export AWS_SECRET_ACCESS_KEY=bar
$ mico my_template args...
"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" ]
)
"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
"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" ]
)
"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
"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
Features
Cloud integrated (only AWS right now)
Use python for system deployment and configuration
Easy to extend (thinking in devops)
Stackable (templates of templates)
Development
Python3 :)
Add new cloud providers...
Improve os libraries
High level templates (like "install nagios", "install lamp")
Testing, testing & testing.... we are in beta :)
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!!
Thanks!
Q&A