Connecting to File Storage

From DreamFactory
Jump to: navigation, search
DreamFactoryTutorialsConnecting to File Storage

AWS S3

To create a service for connecting to Amazon S3 storage, follow these steps.

  • Go to the Services tab in the admin console.
  • Click Create.
  • Set the Service Type to AWS S3.
  • Enter a name and label for the service. Name will be part of the URL for accessing the service via the REST API.
  • Go to the Config tab for the new service.
  • Enter your AWS access key, secret key, and region.
  • Enter container (bucket) name.
  • Click Create Service to save your new service.
  • Go to the API Docs tab in the admin console to test your new service.

Rackspace Cloud Files & OpenStack Object Storage

To create a service for connecting to Rackspace or OpenStack storage, follow these steps.

  • Go to the Services tab in the admin console.
  • Click Create.
  • Set the Service Type to Rackspace Cloud Files or OpenStack Object Storage.
  • Enter a name and label for the service. Name will be part of the URL for accessing the service via the REST API.
  • Go to the Config tab for the new service.
  • Enter all requested info pertaining to your storage account, including container name. Public paths are optional.
  • Click Create Service to save your new service.
  • Go to the API Docs tab in the admin console to test your new service.

Azure Blob Storage

To create a service for connecting to Azure blob storage, follow these steps. Azure support is not included by default, so you will have to modify your composer.json file and run composer update.

cp composer.json-all-dist composer.json
  • Go to the Services tab in the admin console.
  • Click Create.
  • Set the Service Type to Azure Blob Storage.
  • Enter a name and label for the service. Name will be part of the URL for accessing the service via the REST API.
  • Go to the Config tab for the new service.
  • Enter all requested info pertaining to your storage account, including container name. Public paths are optional.
  • Click Create Service to save your new service.
  • Go to the API Docs tab in the admin console to test your new service.

Note: At the time of this writing, DreamFactory's Azure Blob Storage connector does not support the NextMarker parameter, meaning blob lists are limited to 5,000 entries.