Renesas S7G2 board - AWS Amazon cloud connectivity using ESP8266

Hello,

I need to upload image to AWS cloud in S3 from Renesas S7G2 board. I am NOT using any SDK. I am coding in C language using e2 studio.
I am using embedded board and ESP8266 Serial WIFI Module. I am facing issue in generating "authorization string" to send to AWS using ESP8266.

Is there any reference code available to upload data(image) to AWS cloud from Renesas S7G2 board using ESP8266 Serial WIFI Module?

Any information related to AWS cloud and Renesas S7G2 board may be useful.

Additional info on AWS:

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

http://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html indicates "You need to read this section only if you are implementing the AWS Signature Version 4 algorithm in your custom client." But I did not succeed in constructing authorization string by following this page.

I am using following GET, PUT, DELETE commands but not able to see reflection of action using AWS console. Kindly suggest correction in below mentioned "authorization string".

Get image info:

GET /imagename.jpg HTTP/1.1 Host: bucketname.s3.amazonaws.com Date: Wed, 07 Sep 2016 12:37:00 GMT Authorization: AWS4-HMAC-SHA256 Credential=Access Key/20160907/us-west-2/s3/aws4_request, SignedHeaders=host;range;x-amz-date,Signature=Canonical User ID Content-Type: text/plain Content-Length: 76576 x-amz-meta-author: username Expect: 100-continue

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Thanks in advance.

  • This thread will be archived due to inactivity.

    Mike Clements
    RenesasRulz Moderator
  • Thanks for the response. You see, I have also hosted my fitness blog on AWS managed Cloud hosting through Cloudways and I was also facing similar type of problem. However, you response will ease the job for me as well.