Railway

What you hand over when a quote says Railway

The short answer

Railway is a hosting platform that takes a code repository and runs it, with the server, the network, the certificate and the database handled for you. It suits teams with nobody to operate infrastructure. It stops at strict data residency rules, unusual infrastructure, and the size where paying for convenience costs more than staffing it.

Your quote has a hosting line on it that says Railway, and nobody explained why that isn't the cloud provider you've heard of. There's a trade underneath it, and it's simple once somebody names it. You give up most of the control over the computer your software runs on, and you get back not needing anybody who knows how to run one.

It runs your code so nobody on your side runs a server

Railway belongs to a category of product with one job: take software somebody wrote and keep it running on the internet, without anyone setting up the computer it runs on. The category name, platform as a service, explains nothing.

The mechanics are ordinary. You connect a code repository, Railway reads it, works out how to build it, and runs it. If your developers wrote a Dockerfile, which is a recipe for packaging software, it uses that. If they didn't, it decides for itself. What comes out is a running container with a web address in front of it.

The other pieces come off a menu. A database, a cache, a background worker, a duplicate of everything for staging. Each becomes a service in the same project, they reach each other over a private network you never configure, and it all lands on one bill.

  1. 01

    Connect the repo

    You point the platform at one branch of your code and give it permission to read it. Nothing is installed on your side.

  2. 02

    It builds a container

    The platform works out the language and the dependencies and packages the lot. A Dockerfile in the repo overrides its guesses.

  3. 03

    Attach a database

    Postgres, MySQL, Redis or Mongo, added as another service. Connection details reach the app as variables, over a private network.

  4. 04

    Push, and it repeats

    A push to that branch builds and deploys again. A pull request can get its own temporary copy of the whole project.

Deploying on a platform like this: a repository gets connected, the platform packages and starts it, a database is attached from a menu, and every later push repeats the middle steps on its own.

The gap it was built to close

There's a distance between software that works on a developer's laptop and software the public can use, and almost none of it is the software. Somewhere a computer has to be switched on, reachable, encrypted, restarting itself when it falls over, holding a database that survives the next deploy, and patched when the operating system underneath gets a security fix.

Closing that distance is a person's job, and it still is at the large cloud providers, which sell parts rather than the finished thing. A platform like this exists because a small team building one product rarely wants that job. So it makes the choices and hides the parts, and that single decision produces the strengths and the ceiling both.

What it's genuinely good at

Getting something real in front of people quickly. A first deploy is an afternoon rather than a sprint, and the afternoon isn't the point. Changing your mind two weeks later is also one.

The underrated one is copies. Because a whole project duplicates cheaply, a team can run a working version of every proposed change, created when a pull request opens and deleted when it closes. Reviewers click a link instead of reading a description of what changed.

Then the thing that quietly decides most of these choices. A platform like this removes a hiring decision. Somebody still has to notice when something breaks, but nobody has to know how to configure a Linux box, a load balancer or a certificate renewal, because none of them are yours to touch.

Where it stops

Four things end this arrangement, and none of them is about quality.

The first is where the computers physically are. The published region list is short, a handful of locations rather than dozens, so the country your contract names may simply not be on it. Read the current list before anything technical gets discussed, because if the answer is no, the rest of the conversation doesn't happen.

The second is the paperwork some sectors demand. Ask which audit reports the vendor publishes, then ask which plan tier they come with, because those are two different answers. A regulated business usually isn't blocked from a platform like this. It's blocked from the tier it was planning to buy.

Third is the database, and this catches people. What the menu gives you is ordinary database software in a container with a disk attached, not a managed database product with an operations team behind it. Backups run on a schedule you set. Where a backup is allowed to land when you restore it is a separate question, and a narrower one than most people assume. If losing a day of records would be serious, have somebody run a restore while nothing is wrong.

Fourth is the ceiling everyone expects to hit first and mostly doesn't. Compute costs more per unit here, because you're paying for the assembling. That's a good trade while the alternative is a hire. It stops being one at the size where the gap in the bill would fund the person, or the day you need infrastructure the menu doesn't carry.

A platform like Railway

Your own cloud account

Getting the first version live

A platform like Railway: Hours, on defaults somebody else chose for you.

Your own cloud account: Days or weeks, and every default is a decision you now own.

Who has to be available

A platform like Railway: Someone who can read a dashboard and reach a developer who isn't on your payroll.

Your own cloud account: Someone who can run a server, on staff or on retainer.

Choosing where data sits

A platform like Railway: A short published list. If your country isn't on it, that's the answer.

Your own cloud account: Many regions, and the work of picking, wiring and proving one.

What compute costs

A platform like Railway: More per unit, with no salary attached to it.

Your own cloud account: Less per unit, plus whoever sizes and tunes it.

An unusual requirement

A platform like Railway: If it isn't on the menu, you work around it or you move.

Your own cloud account: Buildable, at the price of building it and then running it.

A managed platform against your own cloud account. Each row states what that choice costs you on both sides, not which side wins.

Somebody still owns it, even when nobody runs it

The pitch is that you don't need an operations person, and that's mostly true. It doesn't mean nobody's responsible. Three jobs survive whoever builds the thing.

Someone has to hold the account, in your company's name and on your company's card. Getting that right on day one costs nothing. Unwinding it later is a project nobody scoped.

Someone has to be reachable the morning a deploy fails. That's an arrangement to agree in writing rather than a role to fill, and the useful version names a person and a response time.

And someone has to read the bill, because metered pricing makes the invoice a report on your software's behaviour. There's a plan fee, then charges for memory, processor time, outbound traffic and disk. Rates move, so read the vendor's own pricing page rather than a summary of it.

Worth knowing before you start

  • Ask where the servers are before anything else, and check the answer against your contracts and your clients' security questionnaires. A region list takes a minute to read and can settle the platform question outright.

  • Get the account created in your own company's name with your own billing on it, then add whoever builds for you as a collaborator. Moving a live product out of a contractor's account is work nobody quotes for.

  • Ask whoever proposed the platform to restore a database backup into a spare environment while nothing is on fire. Everyone answers yes to whether backups exist. The restore is where you learn something.

  • Watch the first month of real usage instead of estimating it. Metered pricing reports what your software genuinely does with memory and traffic, which beats a forecast made before it ran.

  • If your developers give you a Dockerfile, keep it in the repository and keep it working. It's the piece of this setup that moves to another platform unchanged.

Common questions

They're different products. The large cloud providers sell parts and expect you to assemble them. A platform like this sells the assembled thing and charges more per unit of compute for it. The comparison worth making isn't one bill against the other. It's one bill against the other plus whoever does the assembling.

You need one to build it. Day to day, deploying and restarting are dashboard actions. What needs a developer is a build that fails, a database change, or a dependency that breaks on a Tuesday. Arrange that before you need it.

Yes, and it's a smaller move than most. What runs is an ordinary container and what it holds is an ordinary database, so both travel. What gets rebuilt is the wiring the platform did for you: the build, the variables, the private networking, the certificates. Budget days, not a rewrite.

No, and they fit together. Docker is a way of packaging software so it runs the same everywhere. Railway is somewhere to run those packages, and it can build one for you if your code doesn't already come with instructions.

A real risk with any single-vendor platform, and worth pricing rather than dismissing. What softens it is that nothing on your side is exotic. Keep the build instructions in your repository, keep backups you can download and restore elsewhere, and know roughly what a move costs.

Related

Want to talk through your situation?

A short call is usually enough to tell whether this is the right work for you. If it isn’t, we’ll say so.