Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Porting of AWS SDK to use S3 bucket features (IDFGH-6734) (CA-189) #93

Open
MaazSk opened this issue Feb 9, 2022 · 6 comments
Open

Comments

@MaazSk
Copy link

MaazSk commented Feb 9, 2022

Is your feature request related to a problem? Please describe.

I am unable to find an example or clear method on how to upload data to the AWS S3 bucket as our project is on esp32 and now we require to upload data to the AWS S3 bucket

Describe the solution you'd like

Porting the code provided by AWS so that we can use it in EP-IDF. The steps are provided here.

Thank you in advance

@github-actions github-actions bot changed the title Porting of AWS SDK to use S3 bucket features Porting of AWS SDK to use S3 bucket features (IDFGH-6734) Feb 9, 2022
@Alvin1Zhang Alvin1Zhang transferred this issue from espressif/esp-idf Feb 17, 2022
@github-actions github-actions bot changed the title Porting of AWS SDK to use S3 bucket features (IDFGH-6734) Porting of AWS SDK to use S3 bucket features (IDFGH-6734) (CA-189) Feb 17, 2022
@MaazSk
Copy link
Author

MaazSk commented Feb 23, 2022

Hi @mahavirj,

I just wanted to know if there are any updates on it?

@dhavalgujar
Copy link
Collaborator

dhavalgujar commented Mar 1, 2022

Hi, @MaazSk

We have made the port for the coreHTTP library and an example to go with it available here.
The example demo that we have made available has been taken from, and is a lightly changed version of the one available in the aws-iot-device-sdk-embedded-C repo.

The same external repo includes examples for S3 upload and download.

Since the library used for the demos is the same and has been ported, and there are no other dependencies for S3 upload specifically, it should be possible to make similar changes to the example, and get the S3 upload demo to work on esp32.
You can view a diff of the changes made to the original example here.

Please feel free to reply here in case you run into any issues with getting the S3 upload demo to work.

HTH.

@MaazSk
Copy link
Author

MaazSk commented Mar 5, 2022

Hi @dhavalgujar,

Thank you for your valuable response. I will check these examples and update you soon as I am preoccupied right now and if any help is needed I will let you know for sure.

Thank you for sharing the details

@MaazSk
Copy link
Author

MaazSk commented Mar 17, 2022

Hi @dhavalgujar,

I was going through the examples, but those examples seem to be for pre-signed URLs of AWS. Is there an example where we can upload files without pre-signed URLs?

@MaazSk
Copy link
Author

MaazSk commented Apr 14, 2022

Hi @mahavirj, is there any update on this?

Thanks and Regards,
Maaz Shaikh

@dizcza
Copy link

dizcza commented Dec 18, 2022

Hi, @MaazSk

We have made the port for the coreHTTP library and an example to go with it available here. The example demo that we have made available has been taken from, and is a lightly changed version of the one available in the aws-iot-device-sdk-embedded-C repo.

The same external repo includes examples for S3 upload and download.

Since the library used for the demos is the same and has been ported, and there are no other dependencies for S3 upload specifically, it should be possible to make similar changes to the example, and get the S3 upload demo to work on esp32. You can view a diff of the changes made to the original example here.

Please feel free to reply here in case you run into any issues with getting the S3 upload demo to work.

HTH.

Any reason why the code in the release/beta has not been merged into master? It's a bad practice to stick to an unstable version and I see the branches have already diverged significantly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants