-
Notifications
You must be signed in to change notification settings - Fork 48
cloud storage
KimJeongChul edited this page Apr 26, 2019
·
1 revision
Library : (boto3 / azure.functions, azure.storage.file / google.cloud.storage), time
- aws
- google : requirements.txt
google-cloud-storage
- azure : requirements.txt
az==0.1.0.dev1
azure-functions==1.0.0b3
azure-functions-worker==1.0.0b3
grpcio==1.14.2
grpcio-tools==1.14.2
protobuf==3.6.1
six==1.12.0
azure_storage_blob==1.0.0
azure-storage-file==1.0.0
cryptography==2.0
Workload Input: file
Workload Output: file
Lambda Payload(test-event) example:
file : 5MB, 10MB, 20MB, 50MB, 100MB or You can use command 'dd' or 'truncate'
{
"input_bucket": [INPUT_BUCKET_NAME],
"object_key": [FILE],
"output_bucket": [OUTPUT_BUCKET_NAME],
}
or Storage service trigger example(AWS S3):
for record in event['Records']:
input_bucket = record['s3']['bucket']['name']
object_key = record['s3']['object']['key']
Lambda Output : latency