EN
Shopware Updated

Shopware Cloud And Dockers: Easy Way To Create Extensions

Jane Vyshnova

Jane Vyshnova

CEO

Author

Shopware Cloud And Dockers: Easy Way To Create Extensions

Time to read: 10 minutes

Content

  1. Why Cloud?
  2. Why Do eCommerce Owners Prefer Shopware Cloud for Migration?
  3. Application Development or the Role of Dockers in Creating Shopware Cloud-Based eCommerce Solutions
  4. Bottom Line
Bookmark

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 NativeSelf-hosted (your servers or a cloud provider)
Who runs the infrastructureShopwareShopware ("Kubernetes-based architecture running on AWS")You or your hosting partner
Who applies Shopware updates and security patchesShopware, automaticallyYour team or agency tests and deploys themYou or your partner
How you extend the storeApps only ("customization possible only through apps")Plugins (installed via Composer as part of your codebase) and appsPlugins and apps
Where Docker fitsLocal development of apps and themesLocal development; Shopware runs the platform for youLocal development and, if you choose, production containers built on Shopware's Docker image
Fits whenYou want a managed store and your custom needs fit apps and configurationYou need custom code but not server operationsYou have specific infrastructure, compliance or operational requirements
Who does what in each Shopware hosting model Shopware SaaS: Shopware runs infrastructure and applies updates automatically; extensions are apps only; Docker is used for local development. Shopware PaaS Native: Shopware runs Kubernetes infrastructure on AWS; your team deploys Shopware updates; plugins, installed via Composer, and apps are possible; Docker is used for local development. Self-hosted: you or a partner run infrastructure and updates; plugins and apps are possible; Docker is used locally and optionally in production. Shopware hosting models: who does what SaaS (cloud) PaaS Native Self-hosted Infrastructure Shopware updates Extensions Docker use Shopware Shopware (Kubernetes on AWS) You or a partner Shopware, automatic Your team deploys You or a partner Apps only Plugins (via Composer) and apps Plugins and apps Local development Local development Local, and optional production images Shopware manages Your team or partner Technical option
Who does what in each Shopware hosting model, based on Shopware's hosting, PaaS Native and security documentation.

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:

Read more about the migration itself in our guide to Shopware migration.

What are the benefits of Shopware Cloud?

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:

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:

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.

Bitte einen gültigen Namen eingeben
Bitte geben Sie ein gültiges Unternehmen ein
Bitte geben Sie eine gültige Telefonnummer an
Bitte geben Sie eine gültige E-Mail-Adresse ein
Kurze Botschaft

    Ihre Nachricht wurde erfolgreich verschickt. Wir melden uns in Kürze! Success icon