Can someone here help me out with code to send data from esp32 to aws s3 storage ?

I am using esp-idf as I have other code running on the esp32 as well.

I am new to aws so any help would be good.

  • 1
    Are you also using AWS IoT, which has integrations with S3, or do you just want to send data directly to S3? – Aurora0001 Jun 13 '18 at 15:57
  • 1
    ESP32 would be collecting sensor data and this data should be sent directly to S3 – Hitesh Pratyush V Jun 14 '18 at 6:01

Not the complete answer but a step forward: https://docs.aws.amazon.com/freertos/latest/userguide/getting_started_espressif.html

AWS has released their ESP32 support with AWS FreeRTOS.

To send directly to S3 without going through IoT Core, you will need your endpoint (obviously) and certificates on the device side to authenticate on the Cloud side. With the policies and Roles on the Cloud side, a trusted device should be able to post on S3.

  • Do you know which functions to use to send data as the test demo shows on MQTT transfer but my data is probably in KBs which MQTT can't handle – Hitesh Pratyush V Jun 15 '18 at 3:06
  • 1
    @HiteshPratyushV The MQTT spec allows for message payloads up to 256 MB; data on the order of a few kilobytes should pose no problem. – Aurora0001 Jun 15 '18 at 7:46
  • @HiteshPratyushV did this well upvoted answer help you? If so, please click the tick mark to accept it, which will help others who read this question in future – Mawg says reinstate Monica Sep 23 '19 at 7:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.