16 February, 2017

Use Ansible to create and tag Instances in AWS (EC2)

It may be handy to quickly create few instances for testing in AWS.

For such case I'm using simple Ansible playbook which can deploy few CenOS 7 instances, configure disks, tags volumes and instances and install public ssh key to root for example.

AWS Console



Here is the playbook:



You can easily run it using:

ansible-playbook -i "127.0.0.1," site_aws.yml

I hope some parts will be handy...

Enjoy :-)

2 comments :

  1. This comment has been removed by the author.

    ReplyDelete
  2. The blog gave me dea to use Ansible to create and tag Instances in AWS my sincere thanks for sharing this post please continue to share this post
    Devops Training in BTM Layout

    ReplyDelete