Hello. I am currently using MongoDB to store my information that is typed into a page from my website. From here the user inputs info and when they click the button it should send the info to another page to show it outputted to the screen but my team has only got this working on local hosting and our aim is to have it working for use 24/7 globally without running on just localhost. We are hosting our site using AWS amplify and we have tried to use AWS elastic beanstalk and other methods to run globally for anyone to use but keep hitting a brick wall. We are unsure but have done some research on maybe changing the cluster from a free shared tier to a dedicated cluster but would like feedback to see if this will for sure work before committing. Any help or advice would be very much appreciated at this time. Thanks
Hi @Jack_Haugh,
We are hosting our site using AWS amplify and we have tried to use AWS elastic beanstalk and other methods to run globally for anyone to use but keep hitting a brick wall.
Would you be able to elaborate further on the “brick wall” that you’re keep hitting ?
Depending on your website use case, there are multiple ways to access your data from MongoDB Atlas. You could try either the following methods:
- Utilise a Connection String URI to connect to your MongoDB Atlas cluster. You could do this using any of MongoDB official drivers. Just ensure that you have Configured IP Access List Entries as required beforehand.
- Utilise MongoDB Realm HTTP Service with incoming webhook (i.e. REST API)
- Utilise MongoDB Realm GraphQL API
Alternatively, depending on your use case, instead of hosting the website on AWS you could also create React SPA and Statically Host in MongoDB Realm.
We are unsure but have done some research on maybe changing the cluster from a free shared tier to a dedicated cluster but would like feedback to see if this will for sure work before committing.
Any of the methods mentioned above should work from a free shared tier Atlas cluster.
Regards,
Wan.
Hello there @wan . The brick wall I’m referring to is us not reaching our objective of a global use database that will work for our site without the need of the local host and work on a server. (server class: link temporarily removed) This is our server class right now we used for calling the mongo server and we have changed stuff when we attempted going at using amazon web services but to no avail. I will look into the points you mentioned above and see if it could help us out atall. Appreciate your comment back and thanks again.
Regards
Jack