Cloud init
This are sample scripts for different flavours of aws linux OS such as (amazon linux, rhel, Centos, fedora, debain)
Userdata has bash script Complete script is based on yaml template for userdata and metadata creation
Works on following flavours Amazon linux > 7 Centos >= 6 RHEL >=6 Debain >=7
prerequisite: Define Hostname Define monitoring package url which needs to be install on your OS