Ruby on Rails webhost recommendation [closed] - ruby-on-rails-3

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Can someone recommend a web host that will allow me to use the latest versions both of Ruby and Rails? I tried Dreamhost but they're running Ruby 1.8.7 which would mean I'd have to rewrite my entire app. But the most I can afford is around $10/month.

Heroku is your friend.
Free for a single dyno.
Lots of addons with free tiers.
No mucking about in server admin duties.
Deploy via git.
Specify your Ruby interpreter and version via Gemfile
Asset compilation on-push
It's just too easy.

Check out webfaction. Not free, but very cheap, awesome support. Shared hosting, but you get ssh access and close to full control. You can install your own software if needed. It is great if you want more control or want to do more than just a rails site. And it is easier to manage yourself, e.g. when compared to a linode for instance (where you have complete control, but have to setup everything yourself).

$10 is a pretty big budget in my opinion, you could perhaps look into getting a VPS? One of my friends (text book village (.) com) got a vps from computinghost.com , they compiled everything for him but the $10 control panel gives you Zpanel as your control panel.. So, if you can manage through command line or can do everything through your application's interface.. I would recommend it.
They also give shared hosting services, maybe contacting their support would help

For Rails, it's better to have your own environment than a shared hosting like Dreamhost.
Heroku, will be the first recommendation, the current stack is Cedar Stack which supports Ruby 1.9.3. Free if you are using only one Dyno (approx. 512MB RAM), 10K records in DB.
We also use DigitalOcean - http://digitalocean.com for some of our hosting. Plans start from $5 for 512 MB RAM. You can run a decent sized rails app on this.
You can also look at AWS, which provides one year free tier, basically hosting, storage etc - http://aws.amazon.com/free/ It's a good option if you think you need to scale in by end of the year.

Related

Loopback or Restify? [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 4 years ago.
Improve this question
Starting a new API, what gives the best security and speed? Loopback or Restify?
It seems that restify have more than 60,000 downloads last week, on the other hand Loopback is backed up by IBM and have plenty of plugins and security implemented by default.
Benchmark wise there is none to compare but I'm having issue installing Loopback on Nodejs 8 or 9 :
Command: sudo yarn global add loopback-cli
loopback-datasource-juggler#2.56.0: The engine "node" is incompatible
with this module. Expected version ">= 4 <= 6".
What platform should I start my API with? I could wait for Loopback to support node 8 or 9.
I hope I can get an answer even though it might be subjective. I really need some insight on this.
Edit: Added the command used to install loopback. Also thanks for providing insights even if this is not really a pure SO question.
Restify
Restify is a relatively old player in the Node.js API field, very stable and being actively developed. It is purpose-built to enable you to build correct REST web services and intentionally borrows heavily from Express.
The main advantages are :
Automatic DTrace support for all your handlers (if you’re running on a platform that supports DTrace).
Doesn’t have unnecessary functionality like templating and rendering.
Built in throttling.
Built in SPDY support.
The main disadvantage with Restify as they are with Express requireslots of manual work.
Loopback
Restify is a great starting point, but in the long run it might not be the right choice if you plan on investing heavily into APIs.LoopBack is a fully featured Node.js backend framework to connect your applications to data via APIs. It adopts the convention over configuration mantra popularized by Ruby on Rails.
The main advantages are :
Very quick RESTful API development.
Convention over configuration.
Built-in models ready to use.
RPC support.
Fully configurable when needed.
Extensive documentation.
Full-time team working on the project.
Online support support.
The main disadvantage is that learning curve can be pretty steep because there are so many moving parts.
You can now decide yourself according to your needs. I hope it helps

How to open server Port for public so that i can access my locally hosted NODEJS server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
MAKING THINGS SIMPLE EDITS
I am developing an app, have a nodejs API that read data through MSSQL server, now that API is Running on Localhost:3131/ It means it will run locally only.
I do have a Windows Server that stays online always, I can use pm2 on that server with the API files to make things Live, But if i run it how can i make my SERVER IP Public so I can access it through everywhere.
HOW DO I MAKE MY SERVER IP ONLINE BUT SECURE!
There are many ways to achieve what you desire. If you were to do it on your own network/pc then one traditional method called 'port forwarding' can be used for projects under development, but this still means that your IP will be exposed to the web.
Virtual Private Servers and Dedicated servers are used more commonly used these days to host powerful applications. You would need to run a web server first where your web files can be hosted and then you can link your node.js server and sql database.
There are several hosting providers out there which are built for nodejs applications. You can go for 'unmanaged' and 'managed' hosting providers.
Managed providers provide a simplified "Node Appliance" solution. Node and NPM will already be set up for you, and deploys are typically done via git push or similar method. You will have less control of your server, but everything will be set up for you.
There are some managed hosting providers which nodejs recommend themselves. You can view them here:
https://github.com/nodejs/node-v0.x-archive/wiki/Node-Hosting
Some popular ones include:
Heroku
Amazon Web Services
AppFog
Microsoft Azure
RedHat OpenShift
In your case, you are using SQL and Node, so Heroku actually offers free nodejs hosting and provides a free addon for MySQL databases too. Only downside is that the duration (hours) for which you can run apps are limited.
It might be worth doing this on a Virtual Private Server for lower costs. Alternatively, have a look at NodeChef who specialise in Node.js and MySQL.
Hopefully, this gives you enough information to understand what steps to take next.

Limit Bandwidth per Apache Virtual Host [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I'm going to launch a 2GB Linode VPS to host a couple of Wordpress CMS sites and one based on Yii framework. I planned on using Apache virtualhosts to assign each site it's own webroot on a user's home directory instead of leaving everything in /var/www
Is it possible to limit the bandiwdth allocated to each Apache virtualhost? I was planning on using Debian Squeeze or CentOS for this box. Not that I envision any of the sites maxing out the 4TB of bandwidth allocated from Linode but it just seems like good practice.
I think using a VPS is the best option as none of the sites are particularly large and the cost of using a PaaS seems a bit much for a few simple CMS sites and a lightweight Yii app.
Also - I know this is subjective and somewhat against the rules here - but is Debian particularly easy to use compared to CentOS for a newbie? Linode have an extensive guide on their Wiki about launching and running a CentOS server but I'm sure there are equally as good guides out there in the wild for Debian?
Thanks in advance for any advice :)
There are several modules for Apache to limit the total bandwidth for each website. A well known one is mod_bw. Here are some good tutorials on how to set it up:
http://www.gavinwill.me.uk/2012/09/limit-apache-bandwidth-with-mod_bw/
http://linuxpoison.blogspot.tw/2012/02/setup-and-configure-bandwidth-limiting.html
http://www.pwrusr.com/system-administration/apache-mod_bw-for-virtualhost
Here are the modules that I'm aware of which perform bandwidth limiting:
mod_bw
mod_bandwidth
mod_cband

apache solr as a service hosting [closed]

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 2 years ago.
Improve this question
are you aware of the best companies which provide apache solr AS A SERVICE? where i can simply upload (or edit via some web control panel) my index and config files for SOLR and simply start using it
i do not want to be breaking my head with any sort of server administration on tomcat
just update my index and config files... tell solr where to look for data to index (via data import handlers) and thats it just start using it
any sort of load balancing / mirrors would be like icing on the cake
price does not matter as its for mission critical apps
please do not suggest me to boot up my own servers on amazon or rackspace or xyz and then deploy solr on them and manage all the administration - because thats what i want to avoid in the first place completely
thanks in advance
I wanted to update this post from 2011 now that it's 2017! Today for folks looking for pure self service and simple Solr search we continue to recommend www.websolr.com. If you are looking for a managed complete Solr instances + some nice search analytics capability, then we've used SearchStax very successfully.
there is also this one:
http://www.opensolr.com/
Opensolr proposes 3 types of Solr instances :
CMS instances (WordPress, Drupal, Joomla, eZ Publish, Typo3)
API instance (RESTful Web service) with fully customizable configuration files
Web sites Crawler instances
There is a free account (i think it can be used actually only for test the platform), and the price for the other kind of account is cheap (4$/8$ a month for medium accounts)
(i didn't try it yet, but it seems promising)
If you use Drupal, there is also Midwestern Mac's Hosted Apache Solr service, which works with Drupal 6 and 7, and all the different Solr integration modules. (Disclaimer: I'm the owner of Midwestern Mac—let me know what you'd like to see and I'll try to make it happen!).
The company IndexDepot (www.indexdepot.com) offers a hosted Solr service. It's easy to use, because you log into an web interface to edit your configuration files. Special configurations fitting your requirements are negotiable, e. g. dedicated master/slave Solr servers.
You can try contacting Lucidworks with that question.
I heard they were working with Boomi on PaaS/Saas for their Lucidworks 1.4.
Although Boomi don't explicitly say that they support Solr, this webinar may suggest they were working with Lucidworks to include their Solr-based search engine in their portfolio.
Even if Lucidworks people don't provide SaaS, they're surely the right address to ask who does.
Good luck in your search and please get back to us with the information you manage to find...
EDIT 04/2012:
If I had to make that choice today, I'd seriously consider CloudBees (which has WebSolr plugin). It's a complete ALM & CI cloud framework for JVM-based languages, with loads of partner plugins (Jenkins, NewRelic, Sonar, MongoHQ, Cloudant, ...), many of them with free base options.
The most significant difference, when comparing with other SaaS/PaaS services, is that you can set up development environment and even deploy your app (on one node, of course) without even leaving your credit card details.
Just to expand horizons.
please do not suggest me to boot up my own servers on amazon or rackspace or xyz and then deploy solr
You can go with ready to use:
http://aws.amazon.com/cloudsearch.
Cloudsearch provides simple API.
And more and more hosted Elastic Search solutions appears recently. I think it's because of cloud ES nature (easy to maintain search cloud).
http://indexisto.com
http://qbox.io
But of course this is the matter of how sticky are you with SOLR.
These guys also so hosted Solr.
https://www.hosted-solr.com/?locale=en
They also have a custom extension that integrates Solr into TYPO3 CMS.
http://www.typo3-solr.com/en/home/
Take a look at our Fully Managed Solr Cloud Hosting, where we enable customers like you to not worry about managing and maintaining Solr infrastructure, but instead focus on building your application.
We offer shared clusters that caters to price conscious customers and dedicated nodes and dedicated clusters with white glove service for companies who want to completely offload search infrastructure and management.
We are a technology partner with AWS and depending upon the critical needs, can customize a hosted solr solution per our customers needs.
please do not suggest me to boot up my own servers on amazon or rackspace or xyz
and then deploy solr
You can try the below solr service provider, looks cheaper as well
http://indiasolr.com/

How to backup a VPS server? And restore it in an emergency too? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I have a VPS host running 3 sites using Ubuntu Hardy. I've spent much time setting it up. That includes all the installation + configuration and stuff. What ways are there to do backup + restore for VPS?
Backups alone aren't enough. You should be keeping a detailed system log of all configuration changes you make to the system so that you can reproduce your configuration elsewhere. Ideally, perform the changes on a local VM, then write a script to perform those changes automatically, then run those scripts on the live server. By avoiding manual configuration, all your configuration is repeatable, so to deploy to a new server, you just have to run all of your scripts in sequence.
You can try to implement a simple script to backup your data using rsynch - you'll need a second Linux machine with Internet access and some tinkering to make sure your backups are reliable in case you need to restore the - think /etc/ settings, website files and any databases you might have. Pay special attention to file permissions.
Some hosting companies offer managed backup with their plans - you could look into that as well, but make sure your backups run and are stored remotely - you don't want the same disaster to strike all copies of your precious data.
Last, if you can do with a small amount of disk space for your backups, you can try a free account from VPS Backup - it's free up to 5GB of compressed data, works on most flavors of Linux and is specially suited to backup MySQL databases as well. Since you don't have to pay for it, it might be a good workaround until you figure longtime solution.
It'll depend a lot on what your host offers. MediaTemple and Slicehost both offer snapshot backups for a nominal fee. Contact your host and ask if they offer such a solution.
If your host doesn't offer anything, you could always backup the critical stuff regularly to something like Amazon's S3 storage service.