anycable / anycable-rails

AnyCable for Ruby on Rails applications
https://anycable.io
MIT License
499 stars 35 forks source link

AnyCable Deployment Guide #162

Closed RailsCod3rFuture closed 3 years ago

RailsCod3rFuture commented 3 years ago

Is there anything out that helps users with easy deployment for production? I plan to use AWS for hosting.....

Envek commented 3 years ago

We have a whole Deployment section in AnyCable documentation.

However, AWS is a huge ecosystem of various services, so “plan to use AWS for hosting” doesn't really tells us much. If you plan to use AWS EKS then Kubernetes guide is for you, if you plan to provision some EC2 instances by hand or using some automation then you should start with Systemd guide. There is also integration with Capistrano (old school, but still widely used).

Just get familiar with AnyCable architecture as there are new components to deploy (compared with ActionCable).

RailsCod3rFuture commented 3 years ago

Thank you again for such a fast response. I am aiming to launch my rails app on AWS Elastic Beanstalk. Would the Systemd guide work better for that?

Envek commented 3 years ago

@RailsCod3rFuture take a look at this repository: jetrockets/rails-elastic-beanstalk and blog post with explanation: Scaling Rails: Docker & AWS Beanstalk.

We haven't tried it, but it looks like the solution you want. Try it and share your experience!

RailsCod3rFuture commented 3 years ago

thanks