Railway

Deploy apps and databases with resource billing. Free gives $1 monthly credit after trial; Hobby has a $5 minimum.

···
html
<div class="host-demo"><div class="host-head"><strong>RAILWAY · RESOURCE CLOCK</strong><span id="status">MONTHLY USAGE</span></div><div class="host-visual"><div class="rail-visual"><div class="rail-track"><i id="rail-engine"></i><span>0 h</span><span>730 h</span></div><div class="rail-bill"><span>0.25 vCPU · 0.5 GB RAM<br>10 GB EGRESS</span><strong id="rail-price">$5.00</strong></div></div></div><div class="host-control"><span id="usage-label"></span><input id="usage" type="range" aria-label="Monthly usage" min="0" max="730" step="73" value="365"></div><div class="host-note">2026-10-06 공식 가격 기준 · 단순화(세금·지역 할증 제외)</div></div>
css
.host-demo{width:min(94vw,850px);height:min(90vh,340px);padding:clamp(9px,2.4vmin,18px);border:1px solid var(--line);border-radius:14px;background:var(--surface);display:flex;flex-direction:column;gap:clamp(5px,1.6vmin,11px);overflow:hidden;font:600 clamp(11px,2.4vmin,16px)/1.25 ui-sans-serif,-apple-system,sans-serif}.host-head{display:flex;justify-content:space-between;gap:6px;align-items:baseline}.host-head strong{color:var(--accent);font-size:1.05em}.host-head span{color:var(--muted);font-size:.78em;text-align:right}.host-visual{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}.host-control{display:flex;align-items:center;gap:8px;color:var(--fg);font-variant-numeric:tabular-nums}.host-control span{min-width:44%;font-size:.88em}.host-control input{flex:1;width:20px;accent-color:var(--accent)}.host-note{color:var(--muted);font-size:.66em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.host-demo *{min-width:0}.meter{height:clamp(11px,3.4vmin,24px);border-radius:99px;background:var(--line);overflow:hidden}.meter>i{display:block;height:100%;width:0;background:var(--accent);transition:width .35s}.big{font-size:clamp(18px,5.5vmin,34px);font-weight:800;font-variant-numeric:tabular-nums;color:var(--accent)}.muted{color:var(--muted)}.rail-visual{width:88%;display:grid;gap:clamp(8px,3vmin,22px)}.rail-track{height:clamp(24px,7vmin,42px);border-bottom:3px solid var(--accent);position:relative;display:flex;justify-content:space-between;align-items:end;color:var(--muted);font-size:.7em}.rail-track i{width:clamp(18px,5vmin,32px);height:clamp(14px,4vmin,24px);background:var(--accent);border-radius:5px 8px 3px 3px;position:absolute;bottom:3px;left:0;transition:left .35s}.rail-bill{display:flex;justify-content:space-between;align-items:center}.rail-bill span{font-size:.78em;color:var(--muted)}.rail-bill strong{font-size:clamp(18px,6vmin,34px);color:var(--accent)}
js
const input=document.getElementById('usage');const label=document.getElementById('usage-label');const status=document.getElementById('status');let manual=false;function paint(){const value=Number(input.value);const resource=20*.25*value/730+10*.5*value/730+10*.05;const bill=Math.max(5,resource);label.textContent=value+' running hours';document.getElementById('rail-engine').style.left='calc('+Math.min(94,value/730*94)+'% - 2px)';document.getElementById('rail-price').textContent='$'+bill.toFixed(2);status.textContent=resource>5?'USAGE ABOVE MINIMUM':'HOBBY MINIMUM';}paint();let direction=1;setInterval(()=>{if(manual)return;const next=Number(input.value)+73*direction;if(next>730||next<0){direction*=-1;return}input.value=String(next);paint()},850);input.addEventListener('input',()=>{manual=true;paint()});

Railway deploys code or images and meters CPU, memory, volumes, and outbound traffic per service. It helps launch a small always-on app or database quickly.

As of 2026-10, Free is $0/month; new Trial accounts receive a one-time $5 credit, and the Free plan has $1 usage credit monthly. Hobby has a $5 monthly minimum including $5 usage, and Pro has a $20 minimum. CPU is $20/vCPU-month, RAM $10/GB-month, egress $0.05/GB, and volumes $0.15/GB-month, prorated by runtime.

The minimum payment is not unlimited usage. A short-lived service differs from an always-on one. The demo assumes 0.25 vCPU, 0.5 GB RAM, and 10 GB egress while varying runtime.

When to use

Use Railway for always-on apps and databases; compare Cloud Run for scale-to-zero containers and Render when a sleeping free web instance is acceptable.

Open as page ↗