Bubble data platform

Hi

We are building an IOT app which will hold significant volumes of data per user. The app will have rules to propose content to specific users. What are the pros and cons of holding the data in AWS cloud database , the rules held in AWS database and then having Bubble call the outputs of rules via an API vs holding all the data and rules within Bubble?

Thanks