Do i need my own servers to store my database? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Do i need my own servers to store my database?

Let's suppose i create a website related to Q&A type site.it means now i need to store all question and answer in a database and to store my database i need a server.do i need my own server or web hosting provider provide me with a server to store my own data? I'm so confuse, please tell me how actually big sites like stack overflow, quora etc websites store their data or how they work?

2nd Mar 2020, 2:44 AM
Maninder $ingh
Maninder $ingh - avatar
11 Answers
+ 13
Maninder $ingh That choice is completely up to you. You should first review your goals regarding the project that would be running on the server. You should also ask yourself specific questions, like ... "Is it possible that my internet-connection and/or electricity could ever fail me?" If the answer is "Yes", then you must ask yourself how it would affect your project. For example, I developed a Discord bot that logs SoloLearn user-reports for the moderators. It's used regularly and (over time) we've depended on it for organization. Due to that, I decided to use a hosting-service rather than risk hosting it myself. I didn't want to be responsible for the downtime of something that the mods depend on. You must first ask yourself these questions and similar ones in order to accurately answer the question that you mentioned in your thread. [ continued ]
2nd Mar 2020, 5:02 AM
Fox
Fox - avatar
+ 11
As for the prices of hosting services ... that depends on what services you'd be using. Some hosts offer database-implementation, for example. There are usually optional security features that can be added as well. I know countless people who prefer using AWS to host their projects. The price is friendly compared to a lot of other hosts, with the downside being that it's often difficult for someone unfamiliar with it to learn how to best modify and set up configurations, etc. Due to being busy all the time ... that's why I currently use Heroku. I run a hosting service for the bot as well as two PostgreSQL databases. My monthly charges total about $16. I'd be paying waaay less with AWS, but I haven't had the time to familiarize myself with their services yet, unfortunately.
2nd Mar 2020, 5:16 AM
Fox
Fox - avatar
+ 7
Well, you kind of answered your own question when you said "it means now I need to store all question and answer in a database and to store a database I need a server." What are you confused about?
2nd Mar 2020, 2:47 AM
Fox
Fox - avatar
+ 3
Fox thanks for clearing my doubts.
2nd Mar 2020, 10:36 AM
Maninder $ingh
Maninder $ingh - avatar
+ 3
The only thing you need is a database like mySql, postgresql, Oracledb, Sybase etc just make your choice, in your development environment after that, chose a web host service like digital ocean, hostinger, hostgator, bluehost, heroku etc, and each of them has a walk-through on how to upload, configure, and manage your database and website..
2nd Mar 2020, 2:46 PM
ugochukwu Joseph
ugochukwu Joseph - avatar
+ 1
Fox confusion is that do i need to deploy my own server or web hosting provider , provides me servers to store my data. How much it cost if i need 5 TB SSD servers.
2nd Mar 2020, 2:51 AM
Maninder $ingh
Maninder $ingh - avatar
+ 1
WhyFry from where i can rent servers.
2nd Mar 2020, 2:52 AM
Maninder $ingh
Maninder $ingh - avatar
+ 1
I know with google drive, it is possible to host small sites. There are lots of videos like this one, if you google it https://youtu.be/UStTtkgsK2I
4th Mar 2020, 12:15 AM
Jdubyou
Jdubyou - avatar
0
Fox how i can become a moderator of sololearn community.i have been using sololearn 1.5 years.
2nd Mar 2020, 10:40 AM
Maninder $ingh
Maninder $ingh - avatar
0
it is up to you
4th Mar 2020, 6:42 PM
Jacob