mico: a monkey in the cloud
TRANSCRIPT
![Page 1: Mico: A monkey in the cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5554ac53b4c90502618b52ea/html5/thumbnails/1.jpg)
Mico: A monkey in the cloud
![Page 2: Mico: A monkey in the cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5554ac53b4c90502618b52ea/html5/thumbnails/2.jpg)
Change the sysadmin paradigm
![Page 3: Mico: A monkey in the cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5554ac53b4c90502618b52ea/html5/thumbnails/3.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052619/5554ac53b4c90502618b52ea/html5/thumbnails/4.jpg)
Automatization options
Puppet / Chef
![Page 5: Mico: A monkey in the cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5554ac53b4c90502618b52ea/html5/thumbnails/5.jpg)
Automatization options
Puppet / ChefTemplating, not programming. No good cloud integration.
![Page 6: Mico: A monkey in the cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5554ac53b4c90502618b52ea/html5/thumbnails/6.jpg)
Automatization options
Puppet / ChefTemplating, not programming. No good cloud integration.
Ansible
...
![Page 7: Mico: A monkey in the cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5554ac53b4c90502618b52ea/html5/thumbnails/7.jpg)
Automatization options
Puppet / ChefTemplating, not programming. No good cloud integration.
Ansible Templating, not programming.
...
![Page 8: Mico: A monkey in the cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5554ac53b4c90502618b52ea/html5/thumbnails/8.jpg)
Mico to the rescue!
Why not just programming python?
![Page 9: Mico: A monkey in the cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5554ac53b4c90502618b52ea/html5/thumbnails/9.jpg)
Mico to the rescue!
Why not just programming python?
Systems as Service
![Page 10: Mico: A monkey in the cloud](https://reader034.vdocument.in/reader034/viewer/2022052619/5554ac53b4c90502618b52ea/html5/thumbnails/10.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052619/5554ac53b4c90502618b52ea/html5/thumbnails/11.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052619/5554ac53b4c90502618b52ea/html5/thumbnails/12.jpg)
"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](https://reader034.vdocument.in/reader034/viewer/2022052619/5554ac53b4c90502618b52ea/html5/thumbnails/13.jpg)
"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](https://reader034.vdocument.in/reader034/viewer/2022052619/5554ac53b4c90502618b52ea/html5/thumbnails/14.jpg)
"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](https://reader034.vdocument.in/reader034/viewer/2022052619/5554ac53b4c90502618b52ea/html5/thumbnails/15.jpg)
"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](https://reader034.vdocument.in/reader034/viewer/2022052619/5554ac53b4c90502618b52ea/html5/thumbnails/16.jpg)
"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](https://reader034.vdocument.in/reader034/viewer/2022052619/5554ac53b4c90502618b52ea/html5/thumbnails/17.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052619/5554ac53b4c90502618b52ea/html5/thumbnails/18.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052619/5554ac53b4c90502618b52ea/html5/thumbnails/19.jpg)
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](https://reader034.vdocument.in/reader034/viewer/2022052619/5554ac53b4c90502618b52ea/html5/thumbnails/20.jpg)
Thanks!
Q&A