The ImageMagick library is well known for its never-ending chain of security vulnerabilities. It continues to provide attack surface and thus constitutes a weakness in every infrastructure.
It is therefor a good security practice to install ImageMagick on a separate server (NOT on the application server and/or NOT on the database server).
How do I set up/configure the Rails application (ideally using ActiveStorage) so that the image processing happens on a separate server? (Any pointers to helpful resources are welcome!)