Connecting to File Storage

From DreamFactory
Jump to: navigation, search
DreamFactoryTutorialsConnecting to File Storage
(Azure Blob Storage)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
## AWS S3
+
== AWS S3 ==
  
 
To create a service for connecting to Amazon S3 storage, follow these steps.
 
To create a service for connecting to Amazon S3 storage, follow these steps.
Line 5: Line 5:
 
*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 'AWS S3.'
+
*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.
 
*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.
Line 13: Line 13:
 
*Go to the API Docs tab in the admin console to test your new service.
 
*Go to the API Docs tab in the admin console to test your new service.
  
## Rackspace Cloud Files & OpenStack Object Storage
+
== Rackspace Cloud Files & OpenStack Object Storage ==
  
 
To create a service for connecting to Rackspace or OpenStack storage, follow these steps.
 
To create a service for connecting to Rackspace or OpenStack storage, follow these steps.
Line 19: Line 19:
 
*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 'Rackspace Cloud Files' or 'OpenStack Object Storage.'
+
*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.
 
*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.
Line 25: Line 25:
 
*Click Create Service to save your new service.
 
*Click Create Service to save your new service.
 
*Go to the API Docs tab in the admin console to test 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.
 +
 +
<pre>cp composer.json-all-dist composer.json</pre>
 +
 +
*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.

Latest revision as of 13:38, 23 July 2020

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.