AWS S3 / DynamoDB / RDS

TL;DR - Do you know of any working Lua based libraries that give access to the AWS DyanmoDB or the AWS RDS services?

Slightly more detail…

I am currently investigating AWS with an eye on these specific services:

  • S3 - Simple Storage Service ( SUCCESSFULLY USING )
  • DynamoDB  - NoSQL Datbase Service ( PUZZLED SO FAR )
  • RDS - Relational Database Service ( PUZZLED SO FAR )

Thus far I have succeeded in modifying existing Lua libraries to allow me to access S3 buckets, including uploading arbitrary files, downloading files, listing contents, etc.

I am now trying to work out how to access and modify the two database services. 

This is where I finally get to my questions:

  • Do you know of any Working (or almost working) Lua based libraries for accessing these services?
    • I’m seeing a lot of LuaRocks and NGINX solutions. 
    • These are OK, but introduce a lot of wrinkles I’d like to avoid.
    • Having said that, if you’ve used a  solution recently that uses one of these and it works, by all means post a link.
  • Do you know of any working and relatively simple solutions in other languages?

I have been reading code all over the place, but I know that this may be interesting enough to others here, that some of you may be interested in pointing me in the right direction or helping to find solutions.

Final notes.

  • This thread is about AWS only.
  • I am investigating other options including:
    • Updating Coronium.
    • PHP + MySQL on my own server

So, please don’t suggest I use something else.  I very much want to see if we (or I if nobody answers) can come up with some easily-used AWS apis for the Corona community to use.  

Cheers,

Ed

PS - One more thing.  I’m much more interested in solving the DynamoDB question.  I’d much rather work with a NoSQL database and I think such library would be much more useful to the community.  I will fall back to a relational DB if I have to…  Also, a solution for one may give hints on how to solve at least the authentication handshake of the other.

Hey Ed,

You might take a look at this project, though I am not sure how well it will interoperate with Corona, due to some dependencies. The main hurdle with using any AWS service is simply the V4 signature. You can learn more about what that entails here.

Once you have the signature, you can access most services via the web api. I always wanted to get that figured out, but didn’t get to it.

-dev

Thanks for the input @cbreeze.

Hi Ed!

Any progress on AWS?

I can´t help but I´m willing to pay several dozen dollars for a working AWS-project or a plugin  :wink:

I actually have the AWS S3 module working and I abandoned the other two and am using Coronium for my DB back-end.

When I am done with my current client, I’ll take some time out to package up a semi-user-friendly AWS module for accessing and modifying S3 buckets.

Just wanted to throw out that firebase collection now has auth(paid), analytics, database, config, and storage. https://marketplace.coronalabs.com/search?search=firebase

Also, Corona has Fcm which plays nice with my other plugins. https://marketplace.coronalabs.com/plugin/notifications

I won’t cry if you don’t use it but just wanted to point this out. AWS is great, it is too technically and interface and pricing confuses me but I impressed its flexibility.

Edit: just re-read this initial post “So, please don’t suggest I use something else.” Sorry about that. I will leave this up because it still feels relevant( PM me RG if you want this removed).

We use RDS for our databases, but we couldn’t find anything Lua based at the time (which was about 4 years ago) so we went with the network.request()-> PHP+MySQL route. 

No need to cry Scott :slight_smile:

I´m thinking about using your Firebase plugin for my current project ;)  

I´m just really curious about AWS for future projects  :rolleyes:

Howdy,

I’ve (finally) got a working DynamoDB plugin, as well as an AWS Auth one, though it looks like Ed beat me to that :). I hope to have it submitted by next week. Still need to work on documentation, a couple other tests, and packaging it up for submission.

Also slowly working on a new slim-line Lua based data server solution for Corona SDK usage (Coronium DB) as well as some other yet-to-be-announced goodies.

Stay tuned.

-dev

The more the merrier.  I won’t be competing with anyone on this.

Cheers,

Ed

When i did the research to do AWS with Corona a few years ago, there wasn’t a clear cut solution. I found it much faster to use AWS SDK, drop it into PHP (autoload) and just call it. 

Good to hear some are making plugins :slight_smile:

I’m thrilled to read this  cb reeze.

It is really exiting to know that the A-team is working on AWS simultaneously  :wink:

Hi all,

I’ve posted version 1 of a DynamoDB module, you can find more information here https://develephant.github.io/dynamodb-coronasdk/

Enjoy!

-dev

Hey Ed,

You might take a look at this project, though I am not sure how well it will interoperate with Corona, due to some dependencies. The main hurdle with using any AWS service is simply the V4 signature. You can learn more about what that entails here.

Once you have the signature, you can access most services via the web api. I always wanted to get that figured out, but didn’t get to it.

-dev

Thanks for the input @cbreeze.

Hi Ed!

Any progress on AWS?

I can´t help but I´m willing to pay several dozen dollars for a working AWS-project or a plugin  :wink:

I actually have the AWS S3 module working and I abandoned the other two and am using Coronium for my DB back-end.

When I am done with my current client, I’ll take some time out to package up a semi-user-friendly AWS module for accessing and modifying S3 buckets.

Just wanted to throw out that firebase collection now has auth(paid), analytics, database, config, and storage. https://marketplace.coronalabs.com/search?search=firebase

Also, Corona has Fcm which plays nice with my other plugins. https://marketplace.coronalabs.com/plugin/notifications

I won’t cry if you don’t use it but just wanted to point this out. AWS is great, it is too technically and interface and pricing confuses me but I impressed its flexibility.

Edit: just re-read this initial post “So, please don’t suggest I use something else.” Sorry about that. I will leave this up because it still feels relevant( PM me RG if you want this removed).

We use RDS for our databases, but we couldn’t find anything Lua based at the time (which was about 4 years ago) so we went with the network.request()-> PHP+MySQL route. 

No need to cry Scott :slight_smile:

I´m thinking about using your Firebase plugin for my current project ;)  

I´m just really curious about AWS for future projects  :rolleyes: