AWS4C a C library that lets you work with AWS

Believe it or not some people need to write programs to access Amazon Web Services in This project grew out of the conversion of my old HPC project to run on the amazon EC2.

I needed a C library to access the code. Unfortunately I couldn’t find any, so I wrote my own.

The code quality sucks, I wrote the whole thing pretty much in one day. And I wouldn’t use it for anything more then a proof of concept projects unless it is heavily reworked to be more robust. But nevertheless it gets the job done.

The library includes bindings for SQS and S3.

It depends on libcurl for its network operations and openssl for the crypto.

There is also libAWS but it is heavily C++ dependent so it wouldn’t work for all types of C projects.

The library is available at

Have any questions or suggestions write to me ‘’ or post your comment here.


  1. Avinash Said,

    September 22, 2009 @ 12:04 am

    hi vlads i am c++ window mobile developer and i have to use amazon s3 bucket in my project. but i don’t have any knowledge about amazon s3

    i found that libaws can help me but how? i download it there are many header and c++ fil but how can i use it finally i download the hello word libaws is born sample after includin all header file
    it gives me an error like this ?fatal error C1021: invalid preprocessor command ?cmakedefine?? in config.h file

    please suggest me how can i solve it and if there exist any other way for doing this thing


  2. Vaibhav agarwal Said,

    September 22, 2011 @ 12:57 pm

    I tried to implement changevisibilityTimeout funciton using one of the function like sqs_delete_message() .it was throwing error of wrong signature.
    could you tell what is the correct order of writing the Sign variable for changeVisibilityTimeout.

Leave a Comment