Search for word in text data stored in the external cloud

Hello! all.

I’m building an app to search for any word in a large amount of text data.
But, I don’t have enough space for a bubble (too expensive), and I want to integrate with an external database.

Is there a way (plugin or …) that allows me to read data from an external database?
I want to hear your ideas. Thanks!