Connecting to File Storage

From DreamFactory
Jump to: navigation, search
DreamFactoryTutorialsConnecting to File Storage
(Rackspace Cloud Files & OpenStack Object Storage)
(Azure Blob Storage)
 
Line 34: Line 34:
 
*Go to the Services tab in the admin console.
 
*Go to the Services tab in the admin console.
 
*Click Create.
 
*Click Create.
*Set the Service Type to 'Azure Blob Storage.'
+
*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.
 
*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.
 
*Go to the Config tab for the new service.

Latest revision as of 22:51, 14 July 2016

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.