This question already has an answer here:
In the sentence below, is it better to use per or by?
When you create a new software component, the database is used per/by default.
I've taken a look at the "By" vs "Per" question suggested below. This is close but not exactly what I was looking for. In software engineering, we tend to "enable software components per or by default". The example you state has a different context, if I understand correctly.