How to Use Amazon AWS Credentials to Access Query Tables in AWS RDS Instance through Mobile App

+2 votes

I've been quite confused for a couple of weeks. Did a ton of research on how to actually connect to an AWS RDS SQL Server Instance through my mobile app and no cigar.

At this point, I can do the following: I can connect to it using SQL Management Server Client with no problem. I am using AUTH0 to get the AWS Credentials, Session Token, Secret Access Key, ARN of the assumed role, etc...

How do I use the AWS credentials to access and query an RDS Database Instance? I know I have to use some kind of HTTP/REST to request information but how? In what format? Can you give me an example? Do I need to use EC2 to access it? I am so confused, but I think at this point I am really close, so please help. I am currently using C# (XAMARIN) to code my Android App.

Thank you for looking!

Aug 28, 2018 in AWS by bug_seeker
• 15,510 points
1,329 views

1 answer to this question.

0 votes

You should make your backend functions to do this. I use Node.js and the 'serverless' framework, which can be downloaded through npm. You can execute SQL commands through the node.js code. Then upload the function to AWS Lambda. Finally you make an endpoint via API Gateway and you can download their pre-generated sdk to access your functions through your client (the mobile app). Check out this channel, https://www.youtube.com/watch?v=fSUEk6iMW88

answered Aug 28, 2018 by Priyaj
• 58,020 points

Related Questions In AWS

0 votes
1 answer

How to monitor Oracle RDS instance in AWS?

You could probably use Cloudwatch itself for ...READ MORE

answered Nov 2, 2020 in AWS by Nilesh
800 views
0 votes
1 answer

how to get aws account number /id based on EC2 instance which is hosted in amazon

You can obtain account number from an ...READ MORE

answered Feb 21, 2022 in AWS by Korak
• 5,820 points
2,251 views
0 votes
0 answers

How to use "alter system.." sql statement in AWS RDS oracle?

"ALTER SYSTEM FLUSH BUFFER_CACHE;" Oracle's data buffer ...READ MORE

Dec 14, 2022 in AWS by Tejashwini
• 3,820 points
452 views
0 votes
0 answers
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,059 views
+2 votes
1 answer
0 votes
1 answer

In Amazon Data Pipeline, how to make sure only once instance of a pipeline is running at any time?

On the CopyTablesActivity, you could set a lateAfterTimeout attribute ...READ MORE

answered Sep 19, 2018 in AWS by Priyaj
• 58,020 points
2,201 views
0 votes
1 answer

how to access AWS S3 from Lambda in VPC

With boto3, the S3 urls are virtual by default, ...READ MORE

answered Sep 28, 2018 in AWS by Priyaj
• 58,020 points
10,147 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP