---
title: "Lua Hosting for Apps, APIs & Bots - FPS.ms"
description: "Lua hosting from €0.59 a month for scripts, bots and servers that run 24/7 on Lua 5.4 or LuaJIT, with GitHub Deploy, a Public URL and a free plan."
url: https://fps.ms/lua-hosting
---
# Lua hosting

Run scripts, tools and small servers in Lua on Managed Infrastructure. Start for free, paid plans from €0.59 a month.

[Deploy your Lua app](https://fps.ms/auth/register)

- **Lua 5.4 or LuaJIT**: Pick your interpreter
- **24/7**: Restarts on crash
- **EU-hosted**: Own hardware in the Netherlands
- **4.1 out of 5**: 144 reviews on [Trustpilot](https://www.trustpilot.com/review/fps.ms)

## Deploy from GitHub (Pro feature)

- Let us handle the deployment
- Including rollbacks
- Automatically deploy when pushing to your branch
- Add your own build steps, like database migrations

## Environment Variables

- Add your tokens, API keys and other variables
- Injected securely into your container at startup
- Values stay hidden once saved
- Pre-filled from your project's .env.example

## Public URL

- Run an API or a small web server for your project
- Support for webhooks
- Securely connected with Let's Encrypt SSL
- Connect your own domain (Pro feature)

## Also in the panel

- **Databases** (Pro feature): Connect your Lua application to a MariaDB database and store users, flags and settings.
- **Schedules**: Restart your application every night or send a console command on a timer.
- **Teams** (Pro feature): Share your project with your team members and give them granular control over the container.
- **Usage graphs**: Know how many resources your container uses and what your peak times are.

## Plans

| Plan | Good for | RAM | CPU | SSD | Backups | Databases | Price | Yearly |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| c.pico (Always Free) | One script or small server | 128MB | 25% | 250MB | — | — | Free, renew every day |  |
| c.pico |  | 128MB | 25% | 250MB | — | — | €0.59/month | €5.90/year |
| c.nano | Adds a MariaDB database and a backup | 256MB | 50% | 500MB | 1 | 1 | €0.99/month | €9.90/year |
| c.micro | A busy server or several scripts | 512MB | 50% | 1GB | 1 | 1 | €1.29/month | €12.90/year |
| c.small | Several services with steady traffic | 1GB | 100% | 2.5GB | 1 | 1 | €2.29/month | €22.90/year |
| c.medium | Heavy jobs and busy servers | 2GB | 150% | 5GB | 1 | 1 | €3.49/month | €34.90/year |

CPU: 100% is one CPU core. Prices are in EUR and exclude VAT.

Pay with Visa, Mastercard, Apple Pay, Google Pay, PayPal, iDEAL | Wero, Revolut Pay, Link, Bancontact, Przelewy24, EPS, Multibanco, MobilePay, Bizum, Amazon Pay or crypto (Bitcoin, Ethereum, USDC, Solana and more).

## Questions about Lua Hosting

### How do I host a Lua script 24/7?

Deploy a Container, pick Lua, upload your code, add your Environment Variables and start your server: easy as that! Your script keeps running, even if your computer is offline.

### Is this a VPS?

No, FPS.ms does not offer VPS hosting. Your Lua application runs in a container managed by FPS.ms. This means you never have to update its operating system, install security patches or keep the machine running yourself.

### Lua 5.4 or LuaJIT?

Both! Pick Lua 5.4 or LuaJIT 2.1, and switch between them whenever you like.

### How do my packages get installed?

Automatically! Your server installs the dependencies from your .rockspec with LuaRocks when it starts. You can also list extra rocks in the LuaRocks Packages setting. Rocks with C code, like luasocket, are compiled for you.

### Can people reach my Lua server from the internet?

Yes! Every server gets its own Public URL with HTTPS, so an API or a webhook works. Paid plans can pick the name or connect a domain.

### Can I deploy my app from GitHub?

Yes, you can deploy your code directly from GitHub, and even automatically (re)deploy your container when you push to your branch. If something breaks in your code, you can always roll back. GitHub deploys are a Pro feature.

### Do paid plans include a database?

Yes, every paid plan from 256 MB includes a MariaDB database.

### How does the free plan work?

A free plan has to be renewed every day to stay online, and at least once every 28 days to keep its data. More details on the [Free Lua Hosting page](https://fps.ms/free-lua-hosting).

## Ready to deploy your Lua application?

Start free. Add GitHub deploys, a database and your own domain when your application grows.

[Deploy your Lua app](https://fps.ms/auth/register)

---

[FPS.ms](https://fps.ms/index.html.md) · [All pages](https://fps.ms/llms.txt) · [Documentation](https://docs.fps.ms/llms.txt)
