# I want to set up AWS Dynamo as an external DB

**URL:** <https://forum.adalo.com/t/i-want-to-set-up-aws-dynamo-as-an-external-db/13921>\
**Category:** Database\
**Created:** [June 18, 2021, 2:08am UTC](https://forum.adalo.com/t/i-want-to-set-up-aws-dynamo-as-an-external-db/13921 "2021-06-18T02:08:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shunki](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/shunki/32/9001_2.png) [@shunki](https://forum.adalo.com/u/shunki)\
**Post date:** [June 18, 2021, 2:08am UTC](https://forum.adalo.com/t/i-want-to-set-up-aws-dynamo-as-an-external-db/13921/1 "2021-06-18T02:08:37Z")

</div>

Can I specify DynamoDB as the external DB, and also use API Gateway and lambda?

---

<div class="post-metadata">

**Author:** ![JL\_LJ](https://avatars.discourse-cdn.com/v4/letter/j/f08c70/32.png) [@JL\_LJ](https://forum.adalo.com/u/JL_LJ)\
**Post date:** [June 18, 2021, 7:54pm UTC](https://forum.adalo.com/t/i-want-to-set-up-aws-dynamo-as-an-external-db/13921/2 "2021-06-18T19:54:15Z")

</div>

Hi @shunki ,  
This is a very complex topic using AWS, any specific reason you really need to use AWS for this (I understand they offer 25GB free).

You can perform this by following this: [Tutorial: Build a CRUD API with Lambda and DynamoDB - Amazon API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-dynamo-db.html)

NOTE:  
Although they follow the usual CRUD industry standard, they use the “PUT” for both create and edit the record.

---

<div class="post-metadata">

**Author:** ![shunki](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/shunki/32/9001_2.png) [@shunki](https://forum.adalo.com/u/shunki)\
**Post date:** [June 19, 2021, 5:46am UTC](https://forum.adalo.com/t/i-want-to-set-up-aws-dynamo-as-an-external-db/13921/3 "2021-06-19T05:46:52Z")

</div>

Thank you.

I’ve created a database using RESTAPI with API Gateway.  
I can’t seem to reflect database updates in real time.

Can I use the websocket API to solve this problem?

---

<div class="post-metadata">

**Author:** ![JL\_LJ](https://avatars.discourse-cdn.com/v4/letter/j/f08c70/32.png) [@JL\_LJ](https://forum.adalo.com/u/JL_LJ)\
**Post date:** [June 19, 2021, 8:39am UTC](https://forum.adalo.com/t/i-want-to-set-up-aws-dynamo-as-an-external-db/13921/4 "2021-06-19T08:39:23Z")

</div>

> [@shunki](#):
>
> websocket API

I haven’t used websocket in a while, but websocket is bi-directional, should be possible, but can’t really remember, apologies.
