You cannot have both remote storage and database storage enabled at the same time. You must disable database storage before enabling remote storage.

bin/magento config:set system/media_storage_configuration/media_database 0

Enabling remote storage might affect your established development experience. For example, certain PHP file functions might not work as expected. The usage of Commerce Framework for file operations must be enforced. The list of prohibited PHP native functions is available in the magento-coding-standard repository.