RoadRunner PHP App Server

AWS Application Servers

a high performance PHP application server that keeps a pool of PHP workers warm and serves PSR-7 requests over HTTP

Base
Hardened build
minimal ports, security patches applied at build time
Access
Unique credentials
generated on first boot, readable only by root
Verified
Boots working
services pass a health gate before release
Support
24/7, 365 days
by email and live chat, 24 hour response SLA

Overview

RoadRunner is a high performance PHP application server and process manager written in Go. Instead of re bootstrapping the PHP interpreter on every request the way PHP-FPM does, it starts a pool of long lived PHP worker processes once and keeps them warm, dispatching each incoming request to a ready worker over an efficient pipes relay. The result is far lower per request overhead, predictable memory use and graceful worker recycling. RoadRunner speaks PSR-7 and PSR-15 to your application and adds HTTP, HTTP/2, gRPC, background jobs, queues and key value plugins from a single static binary.

Why the cloudimg image

The cloudimg image ships RoadRunner fully installed and reverse proxied behind nginx, so a working PHP application server is running within minutes of first boot with no package installation or proxy configuration. It is secure by default: RoadRunner binds only to loopback for its HTTP, status and RPC listeners and is reached solely through the nginx proxy, which is ready for your TLS certificate. A vendored demo PSR-7 application proves the worker pool end to end, a paired step by step deploy guide walks you through operation, and every image is backed by 24/7 cloudimg support.

Common uses

  • Serve high throughput PHP APIs and web apps with far lower per request overhead than PHP-FPM
  • Accelerate Symfony, Laravel and other PSR-7 framework projects on a warm, supervised worker pool
  • Lift and shift existing PHP workloads onto a modern application server without re architecting

Key features

  • Launch a production-ready PHP application server in minutes instead of spending hours on manual installation and configuration. The AMI boots with RoadRunner running as a systemd service behind an nginx reverse proxy, with PHP 8.3, Composer and a working demo PSR-7 worker application already in place. Integrates with Application Load Balancer for traffic routing, Amazon CloudWatch for log monitoring, and AWS Systems Manager for secure access and patching.
  • Secure by default: RoadRunner binds only to loopback for its HTTP, status and RPC listeners and is exposed to the network solely through an nginx reverse proxy that is ready for your TLS certificate. There is no web admin interface and no default password - the demo application is served content only and exposes no privileged surface. Workers run under a dedicated unprivileged service account.
  • 24/7 expert support from cloudimg with a one-hour average response time for critical issues. Engineers assist with deployment, PSR-7 application onboarding, worker-pool and memory tuning, TLS termination, and performance troubleshooting - depth of support unavailable from unsupported community AMIs. cloudimg maintains production images across both AWS and Azure Marketplace.

Description

This is a repackaged open source software product wherein additional charges apply for cloudimg support services.

## RoadRunner - Production-Ready PHP Application Server AMI with 24/7 Expert Support

RoadRunner is a high-performance PHP application server and process manager written in Go. Instead of re-bootstrapping the PHP interpreter on every request, RoadRunner starts a pool of long-lived PHP worker processes once and keeps them warm, then dispatches incoming requests to them over an efficient pipes relay. The result is dramatically lower per-request overhead than a traditional PHP-FPM setup, with predictable memory use, graceful worker recycling and built-in supervision. RoadRunner speaks PSR-7 and PSR-15 to your PHP application, and its plugin architecture adds HTTP and HTTP/2 serving, gRPC, background jobs and queues, key-value caching and more from a single static binary.

## Why This AMI Over a Manual Install

  • Instant time-to-value: RoadRunner is running as a systemd service the moment your instance boots, reverse proxied behind nginx - no package installation, no dependency troubleshooting and no proxy configuration required.
  • Proven end to end: PHP 8.3 and Composer are already installed and a minimal demo PSR-7 worker application is vendored and running, rendering a status page that shows the PHP version, the RoadRunner version and the identity of the worker process serving each request. Replace the demo worker with your own PSR-7 application, or point RoadRunner at an existing framework project, and reload the server.
  • Expert support included: 24/7 technical assistance from cloudimg engineers covering deployment, TLS termination, worker-pool tuning and troubleshooting.

## Application Stack

  • RoadRunner installed as the official prebuilt single Go binary at /usr/local/bin/rr, SHA256-verified during install
  • PHP 8.3 CLI plus the extensions the PSR-7 worker needs, and Composer, from the distribution archive
  • A dedicated unprivileged service account owns the app directory; systemd starts RoadRunner on boot and restarts it automatically on failure
  • nginx reverse proxy on port 80, ready for your TLS certificate

## Security Posture

  • Loopback-only listeners: RoadRunner binds only to loopback for its HTTP, status and RPC listeners; the network reaches the application exclusively through the nginx reverse proxy
  • No admin surface, no default password: RoadRunner has no web admin interface and the demo application is served content only, so no credential is baked into the image
  • Unprivileged execution: RoadRunner and its PHP workers run under a dedicated service account with minimal OS permissions
  • TLS readiness: the nginx virtual host is ready for your certificate; cloudimg support can assist with connector configuration and AWS Certificate Manager integration

## AWS Integration Points

  • Application Load Balancer: place this AMI behind an ALB for traffic distribution, health checks and TLS termination at the load balancer tier
  • Amazon CloudWatch: stream the nginx and RoadRunner logs to CloudWatch Logs for centralized monitoring and alerting
  • AWS Systems Manager: use Session Manager for secure shell access without opening SSH ports, and Patch Manager for OS-level updates
  • Amazon S3: store application artifacts in S3 and pull them during deployment pipelines
  • AWS Certificate Manager: provision and manage TLS certificates for HTTPS at nginx or the ALB

## Features

A persistent, supervised PHP worker pool; PSR-7 and PSR-15 request handling; HTTP and HTTP/2 serving; gRPC; background jobs and queues; key-value plugins; graceful worker recycling and memory limits; and a health and metrics status endpoint on loopback for readiness checks.

## Use Cases

  • High-throughput PHP APIs and web apps: serve REST APIs and web applications with far lower per-request overhead than PHP-FPM, behind an Application Load Balancer with auto-scaling for variable traffic
  • Framework acceleration: run Symfony, Laravel or other PSR-7 framework projects on a warm worker pool for lower latency
  • Lift and shift of PHP workloads: migrate existing PHP applications to EC2 on a modern, supervised application server without re-architecting

## About cloudimg

cloudimg publishes and maintains production-ready application server images across AWS Marketplace and Azure Marketplace, providing multi-cloud presence and consistent support for open-source infrastructure. Every image receives ongoing security patches and version updates backed by 24/7 engineering support.

This is a repackaged open source software product with additional charges for cloudimg support services. RoadRunner is distributed under the MIT license. All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.

Related technologies

php application serverroadrunner amipsr-7 psr-15php worker poolphp-fpm alternativehigh performance phpsymfony laravel hostingmanaged php supportopen source app server