Content
Shopware Cloud And Dockers: Easy Way To Create Extensions
Time to read: 10 minutes
On Shopware's cloud (SaaS) offer you extend a store with apps, not plugins: Shopware's documentation states that plugins run inside the Shopware process and "are not supported by Shopware cloud", while apps talk to the shop through APIs and webhooks. Docker is where your developers work: Shopware recommends its Docker-based setup for local development and provides a Docker image for teams that run Shopware on their own infrastructure. Which of the two you rely on depends on the hosting model, SaaS, PaaS or self-hosted, so start with the table below.
This article was first written in 2021, when "Shopware Cloud" was new and many merchants weighed a move from their own servers. Shopware now offers three hosting models for Shopware 6, and the way you build extensions, run environments and apply updates differs for each.
| Shopware SaaS (cloud) | Shopware PaaS Native | Self-hosted (your servers or a cloud provider) | |
|---|---|---|---|
| Who runs the infrastructure | Shopware | Shopware ("Kubernetes-based architecture running on AWS") | You or your hosting partner |
| Who applies Shopware updates and security patches | Shopware, automatically | Your team or agency tests and deploys them | You or your partner |
| How you extend the store | Apps only ("customization possible only through apps") | Plugins (installed via Composer as part of your codebase) and apps | Plugins and apps |
| Where Docker fits | Local development of apps and themes | Local development; Shopware runs the platform for you | Local development and, if you choose, production containers built on Shopware's Docker image |
| Fits when | You want a managed store and your custom needs fit apps and configuration | You need custom code but not server operations | You have specific infrastructure, compliance or operational requirements |
Why Cloud?
What needs of online store owners can a managed cloud setup meet? Here is how the original arguments look against what Shopware states today.
Data safety
With Shopware SaaS, Shopware "operates and secures the platform and its infrastructure, including automatically applying platform updates and security patches." With PaaS Native, Shopware manages "servers, networking, managed databases, and platform backups", and "A web application firewall is enabled and configured by default." In both models, Shopware's security guide notes that you "remain responsible for your configuration, access and user management, and the security of external apps and integrations you operate or connect." A cloud setup moves the server work to Shopware; it does not move your access rules and integrations.
Peak load resistance
If your business has pronounced seasonality, peak capacity matters more than average load. Shopware describes the PaaS Native infrastructure as "optimized to scale automatically based on application demands". Plan the test yourself, though: the PaaS Native documentation states that it "does not currently provide managed load testing as part of the platform". Whatever the hosting model, load-test your own catalogue, extensions and checkout before the season starts.
No local hardware
With SaaS, "hosting and infrastructure maintenance are included in the service." With PaaS, Shopware manages the infrastructure and "PaaS pricing depends on your infrastructure requirements". With self-hosting, "you budget for hosting and operations separately from any paid Shopware plan." In each case, implementation, extensions and other services may add to the total cost, so compare the full operating cost, not only the licence.
Scalability
Shopware notes that your hosting requirements "may evolve as your business grows", and that moving between hosting models "may be possible, but it isn't necessarily an automatic or seamless transition". The effort depends on your architecture, customisations, integrations and data. If you expect heavy custom development later, factor that into the first choice.
Diverse plans
Shopware's paid plans are Rise, Evolve and Beyond, next to the free Community Edition. Shopware states that pricing "is based on your gross merchandise value (GMV) and further individual factors"; our overview of Shopware editions lists the prices and what each plan adds. According to Shopware's pricing page, you can cancel a subscription at any time and access stays active until the end of the current billing cycle. Our article on Shopware SaaS looks at the plan choice in more detail.
Why Do eCommerce Owners Prefer Shopware Cloud for Migration?
Shopware is a PHP-based ecommerce platform built on Symfony. Store owners and developers choose it for reasons like these, all of which Shopware lists for its plans:
- Shopping Experiences, a visual page builder that lets administrators create pages "using drag-and-drop tools, with no coding required";
- multi-language storefronts for international sites;
- product, category and catalogue management;
- configurable search, plus advanced product search from the Evolve plan;
- B2B Components such as quotes and purchasing approvals, which Shopware includes in the Evolve and Beyond plans;
- the Migration Assistant, a Shopware extension that connects an existing shop system (for example, Shopware 5) to Shopware 6 to migrate data such as products and customers, plus migration support "from our community and experienced partner agencies".
Read more about the migration itself in our guide to Shopware migration.
What are the benefits of Shopware Cloud?
- Shopware "handles hosting, infrastructure, and software updates within the service scope", so your team can focus on the store;
- built-in SEO tools to "Manage meta tags, canonical URLs, breadcrumbs, and structured data";
- pages of varying complexity built with drag and drop;
- apps from the Shopware Store for shipping, personalisation, SEO, B2B and social commerce;
- the choice of plans, from Rise to Beyond, with more features and support levels.
What are the disadvantages of Shopware Cloud?
The main one is still the one the original article named: when you move to the SaaS offer, you have to abandon plugins and use apps instead. Shopware's comparison of hosting models describes SaaS customisation as "Limited; customization possible only through apps". Shopware Composable Frontends, its headless toolkit, is designed for the same constraint: it "is designed to work only with HTTP APIs available in Shopware Cloud".
In practice, custom plugins, such as the search and navigation plugins we built on the Antik Wein project or the "about a dozen unique custom plugins" on Tennis Only, are code that runs inside Shopware. On SaaS, the same function would have to be rebuilt as an app or replaced. Inventory your plugins before you choose the hosting model.
What is Shopware Cloud's pricing model?
The original prices on this page (a free Starter Edition and a Professional Edition at a monthly fee or a one-time price) no longer apply. Shopware's current plans are named above under "Diverse plans", and our overview of Shopware editions lists their prices. On SaaS, hosting and infrastructure maintenance are included in the plan; for PaaS, Shopware prices the infrastructure according to your requirements.
Application Development or the Role of Dockers in Creating Shopware Cloud-Based eCommerce Solutions
In conventional Shopware projects, plugins (extensions) were enough. On the SaaS offer they cannot be used, so developers build apps that reproduce the needed functionality. Shopware's extension concept explains the difference: apps "are not executed within the process of the Shopware Core but are notified about events via webhooks", and "They can modify and interact with Shopware resources through the Admin REST API". Plugins, by contrast, "are executed within the Shopware Core process" and "have direct access to the database".
This is where Docker comes in handy for development and testing. Docker describes a container as "a standard unit of software that packages up code and all its dependencies so the application runs quickly and reliably from one computing environment to another." Shopware's installation guide makes it the default: "The recommended way for developers to build Shopware is with the Docker setup, made simple by the Shopware CLI installation path."
Shopware Cloud hosting with Dockers
On Shopware SaaS you do not deploy containers yourself: Shopware runs the application and the hosting. Docker matters on your side of the work:
- Local development. Shopware's guide says Docker "provides a consistent, production-like environment for development", makes it "easy to reset or rebuild environments" and is "beneficial when full service parity is required (e.g., caching, queues, search)". The Shopware CLI command
shopware-cli project createsets up a project and can generate a production-ready Dockerfile and CI/CD templates for GitHub Actions or GitLab CI. - Community tools. Shopware mentions DDEV and Dockware as related tooling and notes that "Both are community-maintained and not officially supported by Shopware."
- Production containers for self-hosted shops. Shopware "provides a Docker image to run Shopware 6 in a containerized environment for production intent". The image "does not contain Shopware itself": you copy your project into it and build it. Shopware recommends the FrankenPHP variant and states that the image "is updated daily and contains the latest security patches".
- Staging. Since Shopware 6.6.1.0 you can switch a copy of your shop into staging mode with
bin/console system:setup:staging, so it does not email customers or keep live sales channel URLs. Creating the staging environment itself remains deployment work on your side.
Advantages of Shopware docker containers for Shopware Cloud
On SaaS, these benefits apply to your development and CI; on self-hosted setups they can also apply to production. The benefits of containers in a Shopware project are practical rather than magical:
- the same environment for everyone. Docker gives "production-like conditions consistent across teams and CI/CD", so a bug found on one laptop can be reproduced on another and in the pipeline;
- lightweight isolation. Containers "share the OS kernel with other containers, each running as isolated processes in user space" and take up less space than virtual machines;
- simple modernisation. Upgrading PHP or a service means changing an image version and rebuilding, not reconfiguring a server by hand;
- portability. The same image can run on your own servers or with a cloud provider;
- repeatable releases. A pipeline can build an image on every change and deploy the same artefact to staging and production.
Containers do not prevent downtime on their own. Zero-downtime releases come from how you deploy: health checks, more than one running instance and a tested rollback.
At Dinarys, our DevOps team has used this pattern on non-Shopware projects. For Deutsche Telekom's Croatian subsidiary, a code change builds a new Docker image and the application deploys on OpenShift, with GitLab, Jenkins and OpenShift integrated into CI/CD. On a DevOps project for a digital agency, the stack was GCP, BitBucket, Terraform and Docker, and the workflow included dockerising services and setting up environments and CI/CD with infrastructure as code; the case page states, "The client reports the MVP was deployed within three months."
We suggest using either AWS or Google Cloud as a solution for hosting and managing cloud resources when you run Shopware yourself. Let's take a quick look at them.
Amazon Cloud server Shopware
AWS can be used in combination with Docker. Amazon describes Amazon Elastic Container Service (ECS) as "a fully managed container orchestration service that enables teams to build, manage, and run even the most demanding containerized workloads". For a self-hosted Shopware shop, ECS can run the containers built from Shopware's Docker image, next to managed database, cache and storage services.
AWS is also where Shopware runs its own PaaS Native offer: Shopware describes it as "built on a Kubernetes-based architecture running on AWS". If you want AWS infrastructure without operating it, that is the managed alternative.
Shopware Google Cloud
Google Cloud offers Google Kubernetes Engine (GKE) for containerised applications. Google describes GKE Autopilot as "a mode of operation in which Google manages your node infrastructure, scaling, security, and pre-configured features." For a self-hosted Shopware shop, GKE suits teams that already work with Kubernetes; for smaller teams, the operational load of Kubernetes is worth weighing against a managed Shopware offer.
How to develop apps for the Shopware Cloud?
And now, about the specifics of writing code for apps.
Shopware's app system arrived with Shopware 6.4.0.0. According to Shopware's documentation, apps "are the extension mechanism designed for Shopware's Cloud environment" and "communicate with external services through APIs". Shopware lists typical uses: integrating third-party services such as ERP, CRM and marketing tools, providing payment methods, storefront customisations including themes, and extending checkout, pricing or search behaviour. "You can develop apps using the Shopware App SDKs, App Scripts, and external services."
If you have written plugins before, the main shift is architectural. A plugin's PHP code is tied to the Shopware core, so core changes can affect it; an app works through APIs and webhooks and keeps its own logic in your app backend. The App Base Guide covers the common foundation: creating an app in custom/apps, adding a valid manifest.xml, refreshing the app registry, and installing and activating the app. A local Docker environment is the natural place to do this before the app reaches a cloud shop.
Bottom Line
Shopware's cloud infrastructure opens up significant scope for expanding your ecommerce business, as long as the hosting model matches how much custom code you need. If your requirements fit apps and configuration, SaaS takes server work off your team. If you need plugins and custom code but not server operations, look at PaaS. If you run Shopware yourself, whether to base it on AWS or Google Cloud is a question for the developers.
Contact us to discuss the details of your future Shopware-based solution, or see our Shopware development and DevOps support and maintenance services.
Lassen Sie Profis Ihre Herausforderung meistern
Unsere zertifizierten Spezialisten finden die optimale Lösung für Ihr Unternehmen.