>> Deploy

FlowCore 2.0 uses cloud storage for Azure Blobs and Amazon S3



(1) Configure Azure Blobs
Azure Blob storage is a newly built storage that supports the scale, security, and availability needs of mobile, web, and cloud-native application developers.

Use Notepad to open the <cloudstorage.json> cloud storage configuration information.
Edit the AzureBlob configuration segment.
{
  "CloudStorage": {
    "AzureBlob": {
      "Enable": false,
      "BlobConnectionString": "",
      "BlobContainerName": "",
      "DownloadUsingPresignedURL": false
    }
  }
}

Enable: Enable Azure Blob cloud storage, true or false.
"BlobConnectionString": SDK key connection string.
"BlobContainerName": The name of the container.
DownloadUsingPresignedURL: Enables Azure Blob presigned URL download, "true" or "false".


(2) Configure Amazon S3
Amazon S3 cloud storage service provides a durable, secure, and scalable cloud storage solution to back up and store large amounts of data, providing a low-cost and cost-effective object storage service for a wide variety of use cases.

Use Notepad to open the <cloudstorage.json> cloud storage configuration information.
Edit the Amazon S3 configuration segment.
{
  "CloudStorage": {
    "AmazonS3": {
      "Enable": false,
      "AccessKeyID": "",
      "SecretAccessKey": "",
      "UseSignatureVersion4": false,
      "Region": "",
      "BucketName": "",
      "DownloadUsingPresignedURL": false
    }
  }
}

Enable: Enable Amazon S3 cloud storage, "true" or "false".
"AccessKeyID": SDK key AccessKeyID.
"SecretAccessKey": SDK key SecretAccessKey.
"UseSignatureVersion4": Enable AWS Signature Authentication V4, "true" or "false".
Region: Region, for example, "us-west-1".
"BucketName": The name of the bucket.
"DownloadUsingPresignedURL": Enables Amazon S3 presigned URL download, "true" or "false".


(3) multi-station architecture and pre-signed URL download
Appsettings.json in the runroot folder of the FlowCore application also contains the "DownloadUsingPresignedURL" configuration item.
When you enable the FlowCore multi-runroot architecture, when multiple runroot hosts are replicated and run in the same FlowCore root folder, you can enable or not enable presigned downloads for different runroots.
Both cloudstorage.json and appsettings.json can be used to enable pre-signed downloads.
 "CloudStorage": {
    "AzureBlob": {
      "DownloadUsingPresignedURL": false
    },
    "AmazonS3": {
      "DownloadUsingPresignedURL": false
    }
  }


(4) Cloud storage FAQs or suggestions
You can only enable one of the two (Azure Blob or Amazon S3).
"AzureBlob:Enable" and "AmazonS3:Enable" can only enable one of the two.
If you set both "Enable": true, AzureBlob is enabled.

With Azure Blobs, we recommend that you use Azure Virtual Machines.
Using Amazon S3 We recommend using Amazon AWS EC2.
You can also use cloud storage Azure Blobs and Amazon S3 when you deploy FlowCore® privately.
Or use Azure Blob (or Amazon S3), but use a different cloud provider.



© 2023 PaiCore LLC. or its affiliates. All rights reserved.