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 "," site_aws.yml

I hope some parts will be handy...

Enjoy :-)

No comments :

Post a Comment

Note: only a member of this blog may post a comment.