I should be able to upload and save the Magento 2 product media files and downloadable files on the Digital Ocean.
It should accept various media files like images, videos, GIFs, etc.
Hello @shailjagupa2a6
First, ensure that you have a DigitalOcean account and Spaces set up.
After creating the space, you will be provided with Access Key and Secret Key, which you will use to configure Magento 2.
Install the Required S3-Compatible Module
Configure Magento 2 to Use DigitalOcean Spaces (via S3)
Access your Magento 2 installation (via SSH or FTP).
Open the file located at app/etc/env.php.
Add the following S3-compatible configuration under the 'media' section:
Verify the Media Settings in the Admin Panel
Navigate to Stores > Configuration > Media Storage.
Under General Settings, make sure Media Storage is set to Remote and Remote Storage is set to S3.
The media files will be stored under the pub/media directory on your DigitalOcean Space.
Hope it helps !
If you find our reply helpful, please give us kudos.
A Leading Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.
WebDesk Solution Support Team
Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Thank You,
WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Location: 150 King St. W. Toronto, ON M5H 1J9