Shopware Silver & extension partner

80+ Shopware Advanced Certificates

200+ E-commerce Projects

50+ Professional developers

Shopware PaaS on Platform.sh – The Ultimate Guide

Learn how to deploy, scale, and optimize Shopware on Platform.sh PaaS with this ultimate guide. We cover architecture, setup, config files, performance tips, benchmarks, comparisons, and best practices for secure, high-performance Shopware hosting.
Shopware’s Platform-as-a-Service (PaaS) offering lets merchants and developers run Shopware stores in the cloud without managing servers. In fact, Shopware PaaS is powered by Platform.sh. Platform.sh provides a container-based, Git-driven PaaS that automates deployment, scaling, and infrastructure management. The result is “full flexibility and code ownership” of a self-hosted Shopware project, with the complexity of infrastructure and CI/CD handled for you. In this guide, we’ll deep-dive into Shopware on Platform.sh, covering technical setup, configuration, performance, security, real-world use cases, and comparisons to alternative hosting approaches


What is Shopware PaaS?

Shopware PaaS is Shopware’s cloud hosting solution built on Platform.sh. It is designed for merchants who have development teams and want full control of their Shopware environment without the DevOps overhead. In simple terms, Platform.sh is a full-stack PaaS: it provisions environments, manages the infrastructure, and runs Shopware code. Every Git branch can become its own live environment, complete with a unique URL and SSL certificate. Developers push code, and Platform.sh automatically builds, deploys, and runs Shopware, including running database migrations and asset builds as needed.

Shopware PaaS is a cloud e-commerce platform that “enables your organization to iterate, deploy, and develop your strategy in the fastest, most scalable, and most secure way.” It offers turnkey infrastructure (databases, caching, files, etc.) so developers can focus on code. As a Shopware sales overview explains, PaaS brings dev teams full access to code and data while offloading infrastructure maintenance to the platform.

Shopware distinguishes its PaaS from SaaS (Shopware Cloud): PaaS gives customizability and control, while SaaS offers fully managed, no-ops hosting. In comparison terms:

  • Shopware SaaS (Cloud): Vendor-managed updates and hosting; merchants focus only on content and settings. Easy but limited customization.
  • Shopware PaaS (Platform.sh): Full code access and custom plugins are allowed; you control the environment. Platform.sh manages servers, scaling, backups, and DevOps tooling. This yields much faster dev/test cycles and high scalability.

In fact, Shopware claims PaaS users achieve “5× faster development” compared to self-hosting. It promotes features like auto-scaling, multiple preview environments, and integrated monitoring that dramatically reduce manual DevOps work (one success story even cites “90% less DevOps”). We’ll unpack below.

Why Use Platform.sh for Shopware?

Git-Driven Workflows

Every branch/pull-request is a full clone of the site (code and database), with HTTPS and SSL automated. Teams can spin up throwaway dev/staging environments instantly. This GitOps model accelerates collaboration and QA: “Simultaneously test different iterations across separate environments through 5× faster development”.

Built-in Services

Standard services include MySQL/MariaDB, Redis, RabbitMQ, Elasticsearch, networked file storage (for media), and more. You declare these in .platform/services.yaml. For example, one sample config defines a MySQL service and a network-storage volume for media files. Platform.sh also provides add-ons (Memcached, Mailhog, APM, etc.) via configuration. All services are provisioned and managed by the platform.

Auto-Scaling & High Availability

Production environments can auto-scale on demand and run on globally distributed infrastructure. Platform.sh offers enterprise SLAs (99.9–99.99% uptime for Enterprise plans) and can handle traffic spikes automatically. For example, Platform.sh can double environment resources to absorb seasonal peaks. That means your Shopware site stays responsive during Black Friday or holiday surges without manual intervention.

CI/CD Integration

Deployments happen on every Git push. Platform.sh has a configurable build/deploy pipeline (via .platform.app.yaml hooks) that runs Composer, asset builds, migrations, etc. without custom scripts. For instance, a typical build hook might install Shopware assets, dump bundles, and compile the storefront. After build, a deploy hook can run database migrations and plugin refreshes, as shown in one example configuration. The result: minimal downtime deploys and instant rollbacks. Platform.sh’s Git-based workflow means releasing new features or fixes is as easy as pushing a Git branch, with the platform handling the plumbing.

Performance

Platform.sh provisions modern PHP (8.x) and HTTP runtimes (Nginx), plus Varnish full-page caching and Redis. Environments can include Fastly CDN, Elasticsearch, and RabbitMQ for asynchronous tasks. Shopware’s docs note each PaaS project includes Blackfire profiling out of the box to monitor performance. Using these tools, developers can analyze and optimize response times under real load. In practice, Shopware PaaS sites report “seamless scaling and outstanding performance”.

Security & Compliance

TLS certificates are auto-provisioned by Let’s Encrypt for every environment’s URL. Platform.sh supports Web Application Firewalls (their own WAF or Fastly’s) and isolates projects per account. Enterprise plans include SSO, audit logs, and compliance features (PCI, SOC2, etc.).

Multi-Cloud Support

Platform.sh is not tied to one IaaS. It runs on its own managed cloud but lets you choose regions or even bring-your-own-cloud. The Shopware site emphasizes that you can “choose your preferred cloud provider for seamless operations regardless of provider”, avoiding vendor lock-in.

In summary, Platform.sh turns Shopware hosting into a predictable, managed platform, freeing you from low-level concerns. As one agency noted, PaaS provides “complete control with flexibility and scalability at the same time,” reducing DevOps burdens and speeding development.

Platform.sh environments are structured as multiple containers. Each environment always has a router container (handling incoming HTTP) and one or more app containers (running PHP/Shopware). Additional service containers provide MySQL/MariaDB, Redis, Elasticsearch, RabbitMQ, etc. Developers can also define worker containers for background jobs or cron tasks. In this architecture, a router forwards requests to a Shopware app container, which talks to a MySQL database and, say, a Redis cache or Elasticsearch service. A worker container (for example, running RabbitMQ consumers) can independently access the database. All inter-container connections and environment variables are managed by Platform.sh. This architecture ensures each piece (web, DB, cache, workers) is isolated and restartable independently, boosting resilience and performance.

Getting Started: Setup and Deployment

1. Sign Up & CLI

First, get access to Shopware PaaS (often via your Shopware partner or sales team). Then install the Shopware PaaS CLI (a wrapper around the Platform.sh CLI). Authenticate it with your account (e.g. shopware auth ). You’ll need your PaaS project ID, which identifies your Shopware project environment.

2. Initialize Project

composer create-project shopware/production
composer require shopware/paas
git init
git add .
git commit -m "Initial Shopware project"

3. Configure Git Remote

shopware project:set-remote <PROJECT_ID>

4. Create Config Files

  • .platform/routes.yaml : Routes incoming traffic
  • .platform/services.yaml : Defines MySQL and file storage
  • .platform.app.yaml : App setup, hooks, environment variables

5. Push and Deploy

git push shopware master

6. Database Migration

bin/console doctrine:migrations:migrate --all -n

Performance and Scalability

  • Latest PHP versions and HTTP caching
  • Redis for sessions and caching
  • RabbitMQ for background tasks
  • Elasticsearch for high-speed search
  • Auto-scaling and container replication
  • Blackfire.io for profiling
  • Fastly CDN for content delivery

Real examples show sub-second page load times under load.

solution25 (Agency)

Adopted Shopware PaaS for improved performance, security, and automated scaling, ensuring smooth customer experiences.

Comparing Hosting Options

AspectPlatform.sh PaaSSelf-Hosted VPSShopware SaaS
InfrastructureManaged, scalable, CDNManual server managementManaged by Shopware
CustomizationFull controlFull controlLimited
DeploymentCI/CD with GitManual or customOne canonical environment
PerformanceAuto-scaling, Redis, CDNManual scalingCloud scaling
MaintenancePlatform-managedUser-managedShopware-managed
CostPredictable subscriptionVaried costsFixed per store
Ideal forTeams needing flexibilityTech-savvy small teamsNew merchants

Configuration & Best Practices

  • Use environment variables to store secrets and URLs.
  • Run migrations in deploy hooks for schema updates.
  • Use network storage for media files.
  • Enable HTTP and Redis caching.
  • Optimize PHP settings for large stores.
  • Install plugins via Composer only.

Actionable Tips:

  • Try a free trial project on Platform.sh.
  • Start with minimal config and iterate.
  • Use Blackfire for performance insights.
  • Schedule maintenance windows for testing updates.
  • Engage experienced Shopware/Platform.sh partners for large migrations.

Conclusion

Shopware PaaS on Platform.sh combines flexibility, speed, and enterprise reliability. It allows developers to focus on building great customer experiences while automating deployment, scaling, and infrastructure management. Use this guide and best practices to unlock the full potential of Shopware in the cloud.

Sources

Official Shopware and Platform.sh documentation and success stories from solution25.