I want to run a node.js process (not a function or an express server) that connects to the change stream of a MongoDB Atlas instance so that I can publish realtime update (using pusher) to a react front ent when something in the database changes.
NB MongoDB Realm unfortunately does not support Sync for the Web SDK yet.
What is the correct piece of AWS infrastucutre to deploy my node.js process to?
Is there a better way to ultimately achieving what I want to do?
If you need a nodejs server, you can deploy one to AWS Fargate as @jordanm said in the comments https://aws.amazon.com/fargate/
You can read this tutorial to know how to achieve this:
https://medium.com/@ariklevliber/aws-fargate-from-start-to-finish-for-a-nodejs-app-9a0e5fbf6361
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.