DEV Community

Discussion on: Container image promotion across environments - YAML

Collapse
 
benjaminlucas153 profile image
benjaminlucas153

Sorry if it is a dump question. I was wondering what value it brings when we use multiple registries. It makes CICD process more complex. Rather than creating different registries per environment why can't we use a single registry and try to make it more secure. what are the benefits of using different acr, securitywise and operationalwise?

Collapse
 
n3wt0n profile image
Davide 'CoderDave' Benvegnù

Yes that is definitely an option, however most of the enterprise companies prefer keeping the registries completely separate, from both a "user access" perspective as well as a network perspective. If you have a registry sitting on the dev-env network, that most likely is not reachable from the prod network, as son on .

So security wise it is definitely more secure (if you need that level of security or not is another discussion :D ). Operations-wise it may make things a little more complex (you have to manage more registries) but imho it respect the "separation of concerns" principle :)