[英]How to send images(files of size > 128KB) from device using aws-iot
由于aws IoT支持128KB作为默认消息大小,使用nodejs sdk连接到aws-iot的设备如何能够发送大小> 128KB的图像或文件。
Just setup a simple web service in front of s3 to get the pieces and push them to s3.. you can use a Lambda function fronted by the API system.. if you're getting regular input, it should be relatively light... 只需在s3前面设置一个简单的Web服务来获取它们并将它们推送到s3 ..你可以使用API系统前面的Lambda函数..如果你得到常规输入,它应该相对较轻......
Alternatively you can host a webservice on Digital Ocean, Linode or another service and push the data into s3 (or azure blob storage)... either should work for you. 或者,您可以在Digital Ocean,Linode或其他服务上托管Web服务,并将数据推送到s3(或azure blob存储)......要么适合您。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.