# AWS RDS Aurora Serverless Questions

**URL:** <https://forum.serverless.com/t/aws-rds-aurora-serverless-questions/11720>\
**Category:** Serverless Framework\
**Tags:** aws\
**Created:** [June 8, 2020, 5:28pm UTC](https://forum.serverless.com/t/aws-rds-aurora-serverless-questions/11720 "2020-06-08T17:28:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![NoelBaron](https://avatars.discourse-cdn.com/v4/letter/n/ce7236/32.png) [@NoelBaron](https://forum.serverless.com/u/NoelBaron)\
**Post date:** [June 8, 2020, 5:28pm UTC](https://forum.serverless.com/t/aws-rds-aurora-serverless-questions/11720/1 "2020-06-08T17:28:25Z")

</div>

Hi there,

I am trying to locate a friendly `serverless.yml` example that can show me how to accomplish the following goals, preferably in this order:

1. Provision a new Aurora Serverless MySQL cluster. If possible, with clear instructions/mappings for how to configure a CF template to use with serverless.yml.

2. Provision a full VPC for my application that also provisions a new Aurora instance, granting the lambdas access to RDS.

3. Deploy a new application into an existing VPC where an Aurora instance is already available.

4. Provision a new VPC for lambdas, with access to an Aurora instance that is in another VPC.

Any links y’all could provide would be much appreciated!

---

<div class="post-metadata">

**Author:** ![murali44](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/murali44/32/4115_2.png) [@murali44](https://forum.serverless.com/u/murali44)\
**Post date:** [June 15, 2020, 8:42pm UTC](https://forum.serverless.com/t/aws-rds-aurora-serverless-questions/11720/2 "2020-06-15T20:42:43Z")

</div>

Hi Noel,

[Here’s a github repo](https://github.com/murali44/RDS-Aurora-Serverless) with a sample deployment.

It does the following.

1. Deploy’s a VPC and 2 private subnets.
2. Deploy’s an Aurora Serverless postgres instance.
3. Create’s a lambda which runs schema migrations using the DataAPI, which does not require the lambda to be inside a VPC to access the RDS instance. However, it is possible to deploy a lambda into the VPC and connect to the DB directly just like you would connect to a traditional SQL DB.
