Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

Thanks!

share|improve this question
    
Look at cloud-init and AWS tags. –  dmourati Feb 12 at 17:19

1 Answer 1

up vote 0 down vote accepted

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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