Deploy MicrosoftSQL Server (MSSQL)
Deploy a MicrosoftSQL Server (MSSQL) on Railway!
MicrosoftSQL Server
Just deployed
/var/opt/mssql
Deploy and Host Microsoft SQL Server (MSSQL) on Railway
Microsoft SQL Server (MSSQL) is Microsoft's relational database for transactional workloads, internal tools, reporting, and enterprise applications. It supports T-SQL, backups, authentication, and multiple editions for development or production. This template runs SQL Server on Railway with configurable version and license settings.
About Hosting Microsoft SQL Server (MSSQL)
Hosting Microsoft SQL Server on Railway gives you a simple way to run a full SQL Server instance without managing virtual machines or manual server setup. This template is built for teams that want SQL Server compatibility with a straightforward Railway deployment flow.
Key features include:
- Select the SQL Server license that fits your use case
- Choose the SQL Server edition/version at deploy time
- Connect with standard SQL Server drivers and tools like Azure Data Studio,
sqlcmd, and SQL Server Management Studio
Common Use Cases
- Powering applications that depend on SQL Server and T-SQL
- Running internal business tools, dashboards, and back-office systems
- Migrating or testing workloads that already use Microsoft SQL Server
Dependencies for Microsoft SQL Server (MSSQL) Hosting
- A Railway volume for database storage
- A valid SQL Server license model that fits your use case. Product keys are supported.
Deployment Dependencies
Implementation Details
This template supports configurable version and license settings through environment variables such as MSSQL_VERSION and MSSQL_PID.
Why Deploy Microsoft SQL Server (MSSQL) on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Microsoft SQL Server (MSSQL) on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
MicrosoftSQL Server
ThallesP/microsoft-sql-serverMSSQL_PID
SQL Server license to use. Must be one of: 'Evaluation' (180-day trial), 'Developer' (testing/staging only), 'Express' (free, limited), 'Web' (paid web hosting), 'Standard' (paid production), 'Enterprise' (paid legacy Server+CAL), 'EnterpriseCore' (paid enterprise), or a 25-character product key.
ACCEPT_EULA
Required by the Microsoft SQL Server container. Must be 'Y' to accept the SQL Server license terms.