I'm running with deprec I think I've been worrying about this too much Thanks everyone, I'll let you know how I go
Mike Bailey wrote: > I run Nagios on a separate slice to monitor services and hosts. > http://www.nagios.org/ > > deprec installs and configures logrotate. > > It also installs monit but the generated config only monitors mongrel > - that's the service that tends to cause problems. > > In my experience, Apache is about as likely to crash as linux is. I'm > happy with external monitoring of the apache process and email/sms if > it fails. > > Basic security things. Have you disabled password based auth to your ssh? > > Do some research on host based firewalls using netfilter and iptables. > There are lots of tutorials and scripts online that you can experiment > with. > > hope this helps, > > - Mike > > On Wed, Apr 8, 2009 at 8:45 AM, Xavier Shay <xavier-l...@rhnh.net> wrote: >> Both this and passenger-stack are great, but miss out on what for me is >> quite important because I don't know much about it: >> >> "monitoring, log rotation, basic security things (firewall? *waves >> > hands*)" >> >> using the below recipe or passenger-stack, if apache/mysql dies, I won't >> get an email? >> or do you use external monitoring? >> >> I did look a bit more at heroku and it will be awesome for one of my >> apps I think, just a bit concerned that they'll unveil pricing and my >> holiday fund will dissappear. >> >> Mike Bailey wrote: >>> http://deprec.failmode.com/documentation/ >>> >>> cd your_rails_app >>> depify . >>> # Edit config/deploy.rb >>> cap deprec:rails:install_stack >>> >>> # WARNING! Don't run the following command if you >>> # are using a shared database server that has already >>> # been installed. >>> cap deprec:db:install >>> >>> cap deploy:setup >>> cap deploy >>> cap deploy:migrate >>> >>> Your app is running with Apache, Ruby Enterprise Edition, Passenger >>> and Mysql/Postgres/sqlite3/etc >>> >>> More info at www.deprec.org >>> >>> - Mike >>> >>> On Tue, Apr 7, 2009 at 5:12 PM, Xavier Shay <xavier-l...@rhnh.net> wrote: >>>> I'm looking for a deployment recipe for rails+passenger that also sets >>>> up monitoring, log rotation, basic security things (firewall? *waves >>>> hands*), and stuff like that. >>>> >>>> It looks like deprec/sprinkle/chef/puppet are all capable of this, and I >>>> could cobble something together, but I'm kind of hoping someone has a >>>> one click solution already. >>>> >>>> Any suggestions? >>>> >>>> (suggestions for hosting that sets this up for you for cheaper than >>>> $400/month also welcome) >>>> >>>> Xav >>>> >> > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~----------~----~----~----~------~----~------~--~---