Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am new to NodeJS and MongoDB. I have developed one small application using these both. I want know about the hosting of NodeJS application and MongoDB database.One sub question is can i host both database and application on Amazon web service (AWS).
Please guide me.
Thanks
Yes you can deploy your application on AWS EC2 instance. You need to first run an EC2 instance (preferably ubuntu).
Then install node.js binaries matching the version of nodejs that you are using on your local to develop your application.
Next step would be to install node package manager(npm) and Mongodb. The procedure would be same as you followed in your local machine.
Now you need to install a server. E.g. Nginx.
Lastly, clone your repository into your EC2 instance. Furthermore, you can use pm2 module for running and watching your app, so you don't need to restart the server after changes or in case of any error.
Happy deploying :)
You can host almost everything that can be hosted on AWS servers and they have ready made architecture for technologies you have mentioned.
If you are new I would suggest to go with heroku etc. to test your application because it'll take you some time to get acquainted with AWS's environment.
Best of luck.
https://aws.amazon.com/tools/
https://docs.mongodb.org/ecosystem/platforms/amazon-ec2/
Related
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 1 year ago.
Improve this question
My friend and I are working on creating a product from scratch. We aim to build a cross platform application using react-native. We've planned to use firebase as our server hosting application.
Although, we both have fair amount of knowledge in react and have gone through some videos on react-native and firebase, mobile app development from scratch is still pretty new to us. We're having trouble to answer the following questions:
Where to start developement ?
Should we write our server in nodeJS and deploy it on firebase and my app can call the endpoints or should we connect to firebase directly from client side ?
How to setup configuration files and different environments for developement ?
These are among the many questions we have and we feel lost in this sea of infinite information.
Could anyone guide us here ? Please help me if I can frame my question in a better way.
React Native is a great place to start. With today's ecosystem lead by flutter and react, Angular has unfortunately fallen behind.
Both, Cloud functions are Firebase's solution to server instances, these create short-lived functions that do complex or secure tasks such as handle payments, delete/manage users, etc. While the bulk of your app and its logic with firebase should be handled on the client, including accessing the data so long as you have secure rules.
this depends entirely on your framework of choice but in general, there should be a build option that enables you to configure which settings to compile with.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
At work I am working with BitBucket. I want something like that for at home to deploy on my Linux Server. So I am looking for:
Only 1 or 2 users needed.
An GIT Server deployable on Linux
A Fancy Web GUI to visualize branches and do other operations (creating repos, branches, merging, statistics).
Well documented how to get this all running on Linux/Ubuntu.
Free/Low Cost.
What are my options. I found so far BitBucket Server for $10/year. What are other options?
I would give gitlab a try, the Omnibus package is easy to install and it works fine here:
https://about.gitlab.com/
You can do ssh + gitolite. No web interface, just pure git. For web interface use gitweb or cgit.
Or Klaus — a WSGI server with both web interface and git smart HTTP transport.
Kallithea.
pagure
http://gitprep.yukikimoto.com/
https://gogs.io/
https://gitbucket.github.io/gitbucket-news/about/
https://rocketgit.com/
Gitlab Community Edition is definitely a viable option that meets your need. Especially if you want issue tracking, simple project management and CI all in one package. Lately GitLab CE is becoming a larger, more resource intensive product as they add these new features. Integrations with external tools such as Jenkins are often not as seamless as they are with Bitbucket server, GitHub or Bitbucket.org.
You could also consider Bitbucket server, it's $10 for a 10 user license. If you're familiar with the UI then it may work for you. The plugin eco-system is considerable, with many plugins to meet your needs.
Gogs is also worth considering.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Just started with Amazon Web Services and want to start an EC2 instance. I need to select an Amazon Machine Image (linux distribution). I have almost no previous knowledge of Linux and don't know how to make my choice. Amazon recommend their own "Amazon Linux AMI", of course. Many tutorials on youtube prefer Ubuntu.
What are the pros and cons? Any reason not to choose Amazon Linux? How can I make my choice? Does it really matter what I actually choose?
I will run PHP and maybe later mySQL. I have an Amazon S3 bucket and planning to use my EC2 instance to get/put files to S3.
You can start with Amazon Linux (a similar centos/Redhat linux), because it has several pre-install packages
The Amazon Linux AMI is an EBS-backed, AWS-supported image. The default image includes AWS command line tools, Python, Ruby, Perl, and Java. The repositories include Docker, PHP, MySQL, PostgreSQL, and other packages.
When you start using with Amazon linux, you will know if it is suitable for your application or not. For current usage (PHP + MySQL), it is no any problem to support your application.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I am relatively new to Node JS, I've built three small application I would like to host. Is there anyone who could provide a good starting point to learn how to deploy an app to one of the many services available? So far I am astonished by the lack of support from the companies who offer this service, as well as the vast amount of problems I am running into so if anyone has any tips, please help.
This is cloud platforms compatible with node.js. The most popular heroku, nodejitsu, appfog (my choice).
Heroku
https://www.heroku.com/
It's super easy to use and provides easy integration of mongo db
Also If in future u create ionic app , u can host them too
I've been trying several of those options, and on my opinion Nodejitsu is by far the best, the thing is that is not free (just the first month). So, because of that you may wanna try Heroku (it didnt like me). Another option in beta is Cloudno.de.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I want to write a web application that needs a websocket server.
I want to host this websocket server on some famous web hosting provider (such as 1&1 by example).
Which web hosting provider should I use?
If you want to use a websocket server which you can start and stop at will I would much rather recommend a cloud solution. It's cheap and lets you interact with the server directly, which is most likely impossible with more traditional hosting providers. I've only used Amazon Web Services and Google App Engine myself, they both have a free tier which you can use to build and test your websocket application. There are many more providers, also have a look at PaaS services like Nodejitsu. It all depends on what specific technologies you want to use I guess.
(note: AWS lets you SSH into your instance and you can use any platform/technology you want while GAE is web based and limited to Go, Java and Python. It doesn't mean AWS is better, again it depends on your case.)
You can use WebSockets for your .NET apps with GearHost at www.gearhost.com. It's free and gives you 100 free CloudSites and 100 free databases.