Discussion:
[Fab-user] Fabric python tool to spawn AWS VM EC2 instance
Max Arnold
2018-05-20 10:45:43 UTC
Permalink
Fabric is a remote task execution tool and is not very well suited for configuration management, provisioning, and orchestration. You could probably bend it for you use-case (for example by utilizing `boto` library), but you'll end up writing a lot of code.

I'm not familiar with Ansible, but it seems to have the functionality you need: http://docs.ansible.com/ansible/latest/modules/ec2_module.html.
Also, you can try SaltStack (and salt-cloud in particular): https://docs.saltstack.com/en/latest/topics/cloud/aws.html.
Hi,
Is there a way to spawn AWS VM EC2 instance using Fabric python? I am
currently running Fabric 2.0.1 on my MAC OS.
I have a specific question regarding the difference between Fabric and
Ansible configuration management tool. Any specific use case to use either
of the tool? Please guide.
Azul
2018-05-19 17:15:04 UTC
Permalink
look up 'suitable' if you're after a pythonic way to run ansible and all
its modules
Hi,
Is there a way to spawn AWS VM EC2 instance using Fabric python? I am
currently running Fabric 2.0.1 on my MAC OS.
I have a specific question regarding the difference between Fabric and
Ansible configuration management tool. Any specific use case to use either
of the tool? Please guide.
Thanks in Advance.
I look forward to hearing from you.
Best Regards,
Kaushal
Loading...