CS4521:   Mobile and Topics in Web Programming

 

AWS Mobile Hub using AWS Lambda - ("serverless") PAAS/SAAS (platform/software as a service) for your mobile Backend

This shows how to create simple backend code to write to a database. Reading from a DB is similar.

  • Uses easiest method of using AWS Mobile Hub (easiest = for non web system develpers)

  • AWS Lambda supports a few languages...this shows using NodeJS which is a server side JavaScript based language. (I understand you may not know javascript or any other backend programming language --but, hopefully you can learn through example enough to play with backend services in this class).

 

STEP 1: Setup a Project using Mobile Hub

     

STEP 2: in Mobile Hub Project, create any Data Sources like DynamoDB tables (database) or S3(file storage) you need

STEP 3: Setup Lambda Functions --- the code

     

 

STEP 4: Use Mobile Hub Project to generate some sample code showing how to use your created Backend Services.

 

STEP 5: Creating code in your Android or IOS app uses the AWS mobile SDK


 

**********ALTERNATIVE to Step 3&4: create NodeJS project on local machine and deploy to AWS lambda using NodeJS Serverless Framework*************

 
 
© Lynne Grewe