# Deployment

  • Introduction

    When you're ready to deploy your Rails application to production, there are some important things you can do to make sure your application is running as efficiently as possible. In this document, we'll cover some great starting points for making sure your Laravel application is deployed properly.

  • Server Requirements

    Ruby and Rails apps tend to require a lot of RAM, so that's the main metric we're going to be focusing on when deciding what size server we should use. Plus, we'll need to run a database like Postgresql or MySQL as well as Redis for background workers. Each of these will require RAM to operate so we want to take those into account too.

    I recommend a 2GB RAM server ($10/mo) if you're deploying for the first time. You might even be able to get by with a 1GB server, but you'll likely run out of RAM when compiling assets during deployment to production.

  • Server Configuration

    you can follow the guide provided on based on your sever

    Deploying to Production - Passenger Library (opens new window)