I'm configuring my AWS EC2 instances with Ansible, but I don't know what's the best way of storing my app configuration.

Now I'm just sending a "app.properties" file to the server, using Ansible, but I'd like to remove that from my source control. Also, I'd like to store everything on environment variables, instead os files, to make it more secure.

Is there a good tool for that? Something simple, like a key-val configuration server, where all your servers will connect and get their own properties?


  • 1
    Look at cloud-init and AWS tags. – dmourati Feb 12 '14 at 17:19

Not sure I understand enough about your configuraiton to answer your query about environment variables vs property files. However in answer to second part there are at least 2 systems I know designed for this need:

etcd and zookeeper

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.