9 points · by msmith90078 · 10y ago · 4 comments
Any blog posts, ideas or suggestions are appreciated!
Most of the time we only need basic monitoring access (got a cloudwatch alert, did something not restart properly?) which we use the more limited account. All the commands are logged and centralized (in case of intruders as well as so that we know what happened if someone fat-fingered something).
API tokens are encrypted on disk with KMS and the encrypted files are not readable by our user accounts.
We've never had to restore database locally so I don't have anything to suggest.
For the database, have an annonymization process the clears any sensitive data, annonymizes names, etc. and have developers work off of that (I really like having real world data to work with).
Give them access to logs or regularly copy them to somewhere they can access them.
There really should be need need for devs to be accessing prod (or stagin, or UAT, etc) environments regularly.
- Have logs ship to a centralised logging server. Once developers can get error logs without logging onto a prod server, they often don't have to
- Come up with a process to build an example database. Rails' fixtures are great at this. A database full of random data is often all a developer needs to identify and fix a certain bug