downloadable digital assets shopify digital product delivery app logo

How to Connect Your S3 Server

configurar s3 personalizado

Cloudflare R2

Amazon S3

DDA allows you to attach your own Amazon S3 server. Doing this allows you to have full control over your storage and bandwidth settings. This means that you will be in control of the pricing for those settings too, while our app is simply the control tool between your store and your server.

Si vende archivos digitales de gran tamaño en Shopify, esta es una de las mejores rutas que puede tomar.

Estos son ajustes avanzados. Por favor, solo cámbielos si está familiarizado con AWS y S3.

¿Qué plan necesito para esta función?

You will need the Growth plan or above. Already installed DDA? Upgrade here.

Conectar tu propio S3 significa que controlas los costes de almacenamiento y ancho de banda a través de tu cuenta de Amazon.

How to do it

Paso 1 - Ir a la página de "Configuración

Una vez que estés en la página de "Configuración", haz clic en el botón "Configurar S3 personalizado".

configurar s3 personalizado

About the settings

Rename my files to keep their name unique?

This will rename files that are uploaded with the same name as other files in your S3, so they don’t overwrite the files.

The names will be renamed with a completely different names of random characters using UUID4. This is a time-based encoding.

Delete files in S3 when removed from the App?

Enabling this setting will delete the files from your S3 if you delete the files inside the app. If you leave it disabled, then deleting the files in our app will not do anything to your S3 files.

Paso 2 - Crear un cubo

Ve a AWS y crea tu cubo. Introduce un nombre de bucket y una región.

crear un cubo aws

Paso 3 - Configurar el cubo, copiar y pegar el CORS

If you are using AWS, go to the Permissions tab > scroll down to CORS and click ‘Edit‘.

Copy the CORS config text from the DDA S3 page in the app, and paste it into your S3 settings.

cors

Pegue la configuración del CORS en el cuadro de abajo y pulse "Guardar cambios":

imagen

Step 4 – Set up API access to the bucket & assign permissions

Añade un usuario para generar tus claves API.

añadir usuario

Asigna los permisos del usuario para gestionar el bucket de S3.

asignar permisos

There have been reports that AWS has changed the way permissions are assigned to a user, which could be more complicated.

Paso 5 - Copiar y pegar las claves API en la aplicación

Se le darán las claves de la API:

copiar api

Copy and paste the Key and the Secret from AWS to the DDA app.

  1. The ‘Access key ID‘ goes into ‘Access Key
  2. The ‘Secret access key‘ goes into ‘Secret Key‘.
key

Paso 6 - Copiar y pegar los datos del cubo

Busca el nombre del cubo y la región en la URL (subrayada en rojo) y cópialos en la aplicación.

región de copia

Paste them as instructed. Numbers are located in the image above:

  1. The bucket name (1) goes into ‘Bucket
  2. The region (2) goes into ‘Region

A continuación, pulse "Guardar".

Paso 7 - Prueba de carga

Debes probar a subir un activo yendo a la página de "Activos" y haciendo clic en "Subir nuevo activo".

Si todo se carga sin ninguna advertencia o problema, entonces ha tenido éxito. Si te da algún error, por favor revisa los pasos de nuevo para asegurarte de que lo has hecho todo correctamente.

Asegúrese de que el archivo se ha subido comprobando en su cubo de S3.

PREGUNTAS FRECUENTES

What happens if I disconnect the S3 from the app?

If you disconnect the S3, the files will still appear in the app. To completely remove the files from the app, you will need to highlight them all from the Assets page and remove them.

Please check if you had enabled the option “Delete files in S3 when removed from the App?” when you originally connected it because the app may delete all of your files from the S3 if you have this enabled.

Can I change the S3?

Yes, all you need to do is disconnect the old one and then reconnect the new S3. All of your files from the old S3 will still remain in the account.

If you want to remove the old files, you need to go to the “Assets” page, select them all and click remove. You can do this after you have connected the new S3. Just make sure that you will be able to distinguish which file is on the right S3. It would be easy to tell if you checked the “Created” date on the “Assets” page. This will filter the list to show the newest or oldest first.

Leer más