Attention: this is a legacy library and thus not supported by Toradex anymore. We recommend that you use the new libraries for all Toradex modules. Please see the Toradex CE Libraries and Code Samples for up-to-date information.
In order to start using cloud services, start by creating an AWS account.
Create a new account on the Amazon web services website http://aws.amazon.com.
NOTE: If you don’t want to make your own account, you can still use the AWS ACCESS ID and AWS SECRET KEY already entered into the demo files (awss3demo.c, awssnsdemo.c & awssqsdemo.c) for evaluation purposes.
The following services are offered with your AWS account:
S3 – Simple Storage Service: As part of the AWS Free Usage Tier, you can get started with Amazon S3 for free. Upon sign-up, new AWS customers receive 5 GB of Amazon S3 storage, 20,000 Get Requests, 2,000 Put Requests, and 15GB of data transfer out each month for one year. For more information, please refer to: http://aws.amazon.com/s3/
SNS – Simple Notification Service: You can get started with Amazon SNS for free. New and existing customers receive 100,000 Amazon SNS Requests, 100,000 HTTP notifications, 1,000 email notifications and 100 SMS notifications for free each month. Many applications should be able to operate within these free tier limits. For more information, please refer to: http://aws.amazon.com/sns/
SQS – Simple Queue Service: You can get started with Amazon SQS for free. New and existing customers receive 100,000 Amazon SQS queuing requests for free each month. Some applications may be able to operate within this free tier limit. For more information, please refer to: http://aws.amazon.com/sqs/
After your new account is created, please go to My Account / Console > Security Credentials to discover your Amazon Account Access ID and Secret Key which are required for use with the Cloud Library.
Please take a note of your Access Key ID and Secret Access Key (click on show)
You need to replace the demo credentials with your credentials in the Demo applications source code file: awss3demo.c, awssnsdemo.c & awssqsdemo.c.
Downloading the Cloud Library
Download the Cloud Library using this link:
Extract the files to a suitable location and go to demos\CloudlibDemo. Open CloudLibDemo.sln with VS2008, making sure you have VS2008 with VC++ and Windows CE 6.0 SDK already installed.
Now go to any Project Demo console application:
Build, deploy it to your Colibri Module, and start using it.
It is recommended to go through the Cloud S3 Lib API, Cloud SNS Lib API, and Cloud SQS Lib API documentation before starting to code.