What is the best practise to host MongoDb in AWS? [closed] - javascript

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I generally install mongo on an ec2 instance .
But i came across many other methods on hosting a mongodb server in aws.
I am looking to learn the most effective way to do this. Thanks in advance.
This is just an educational question.

My recommendation is to use the mongoatlas service, they have several plans but they carry out a full deployment of your database with automatic backups, metrics, access and permission management, availability, set replicas, autoscaling, etc...
Finally they also use amazon to host their databases and it is an official service of mongodb.
https://www.mongodb.com/cloud/atlas
The downside to using a simple amazon instance is to implement all of that and without a good backup procedure you could lose all your data if your instance dies.

Related

Is socketio good to use in production website [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 months ago.
Improve this question
I want to do some real-time operations in my backend. In the past, I used the pusher for real-time operations. But its cost is huge. So, I am thinking about using the socket IO itself. Before using it, I thought about asking for it in the stackoverflow community. So, what do you guys suggest? Is it suitable for use on a production server?
Socket.io is already used in production by many big companies for products including Trello, Microsoft Office, Yammer, and Zendesk.
As #Tintin said, it's also very popular on GitHub and NPM.
Socket.io on Github has:
56.2k stars
1.6k watching
10k forks
On npm, it shows more than 4.5 million weekly downloads.
So yeah, I would say a pretty solid choice for production, provided, as with any software, you use it wisely.

Automatic emails from website [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I got a request at work to create an SMTP server so that our website can sent automatic emails on daily/weekly basis. In simple - we have a website running on node.js and I need to give it an ability to automatically send emails based on time or/and other conditions.
Since I never worked in this direction (and I just got into this field) I decided to ask a question here, to see what you(experts) have to say in regards of this subject.
p.s I might have a wrong understanding of how this should run, so feel free to correct anything that I said.
Since setting up a brand new smtp server and managing correct configuration, security, and most important, domain/ip reputation can be a real pain, I would suggest using a cloud service for this task to get you going faster.
A few of these services, some of them with free tiers are Amazon SMS, Mailgun, SendGrid and Mandrill. At least Mailgun has a API wrapper available for Node.JS.

Website building using firebase [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to build a website using only html, css and JavaScript. I have prior knowledge about these stuff. But I want to use Firebase to host the same. Is it possible to do so?
P.S. I don't want to use any JS Framework because I have no prior knowledge.
If answer is no, please do tell me in detail what all should I start learning to do the same.
Yes it is possible to use Firebase to host your website.
Firebase Hosting:
Firebase Hosting provides fast and secure static hosting for your web app.
Firebase Hosting is production-grade web content hosting for developers. With Hosting, you can quickly and easily deploy web apps and static content to a global content-delivery network (CDN) with a single command.
more info here: https://firebase.google.com/docs/hosting/

Use Webhook without Firebase [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Is it possible to use a different backend with the Webhook CMS?
I love everything about Webhook, but being able to prerender content is an absolute requirement for my project because of SEO considerations. This is unfortunately not possible with Firebase.
Has anyone ever managed to swap out Firebase in Webhook for something else?
Webhook only uses Firebase for the CMS. The deployed sites are pre-generated staticly. This means google will be able to crawl it. Since static sites are themselves the fasted way to deliver content, you'll also have that advantage versus a traditional system.

how to create user accounts using html5, javascript, jquery? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Is there secure way to create secure users accounts within just Html5,JavaScript or jquery without having to using mysql server?i'm trying to setup restriction so only the people who are registered will have access the others will have to option to sign up where i could add the users manually without having them to register any help will be appreciated thank you.
The only place that client side technologies can store data is in the browser. That means:
Data won't be shared between users of different browsers
Anyone with access to the browser can edit the data
You need to use a server side technology. There are plenty of options which use JavaScript, of which Node.js is currently popular, for the language, and plenty of databases that aren't MySQL so you can achieve what you ask for (although probably not what you want).

Categories

Resources