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, 2018 at 15:57
  • 1
    ESP32 would be collecting sensor data and this data should be sent directly to S3 Jun 14, 2018 at 6:01

1 Answer 1


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 Jun 15, 2018 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, 2018 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
    Sep 23, 2019 at 7:15
  • @HiteshPratyushV were you able to upload data to the S3 bucket if yes were you uploading files can you please share the pointers if you were uploading files to the S3 bucket as I am trying the same
    – Maaz Sk
    Feb 9, 2022 at 5:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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