7. Automatization options
Puppet / Chef
Templating, not programming. No good cloud
integration.
Ansible Templating, not programming.
...
8. Mico to the rescue!
Why not just programming python?
9. Mico to the rescue!
Why not just programming python?
Systems as Service
10. Mico to the rescue!
Why not just programming python?
Systems as Service
Cloud & OS as an API
11. Execution example
$ vim my_template.py
$ export AWS_ACCESS_KEY_ID=foo
$ export AWS_SECRET_ACCESS_KEY=bar
$ mico my_template args...
12. "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" ]
)
13. "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
14. "Template" example
Entry point
Ensure that the
instance is created
def main(tagname):
instance = ec2_ensure(
ami = "ami-3d4ff254",
name = tagname,
instance_type = "t1.micro",
key_name = "root-us-east-virginia",
security_groups = [ "test" ]
)
15. "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
Ensure that the
instance is created
AMI to use
16. "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
Ensure that the
instance is created
AMI to use
Security group as
string or object
17. Features
Cloud integrated (only AWS right now)
Use python for system deployment and configuration
Easy to extend (thinking in devops)
Stackable (templates of templates)
18. Development
Python3 :)
Add new cloud providers...
Improve os libraries
High level templates (like "install nagios", "install lamp")
Testing, testing & testing.... we are in beta :)
19. 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!!