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.

On Sat, May 19, 2018 at 07:29:59PM +0700, Kaushal Shriyan wrote:
> 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.

_______________________________________________
Fab-user mailing list
Fab-user@nongnu.org
https://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to