Home:ALL Converter>Combine AWS Lambda with Aurora Serverless

Combine AWS Lambda with Aurora Serverless

Ask Time:2019-09-25T16:04:43         Author:harunB10

Json Formatter

Is it possible to access Aurora Serverless DB from AWS Lambda?

In my case I have a Flutter mobile application which is communicating with Lumen micro framework through RESTful API. For DB I use MySQL.

After creating AWS Aurora cluster, can I connect to it like to a normal MySQL DB connection?

DB_CONNECTION=mysql
DB_HOST=my.awshost.com
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

I am relatively new to AWS. I've been only using EC2 so far. Therefore, I am trying to getting more familiar with Serverless concept.

Any help is appreciated.

Author:harunB10,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/58093895/combine-aws-lambda-with-aurora-serverless
yy