ERPClimb logoERPClimb
Cloud deployment and performance
SAP Commerce Cloudadvanced 6 min read

Cloud deployment and performance — SAP Guided Tutorial

Free sample lesson · open to everyone

Key takeaway

Building and deploying SAP Commerce Cloud through Cloud Portal: manifest-driven builds, environments, deployment and data migration modes, and performance practices — caching, CDN, load testing and capacity before peaks.

In this lessonShow sections

Visual overview

Cloud deployment and performance — learning sheetFlow: Git commit → Build in Cloud Portal → Deploy: mode + data migration → Load test + monitor. Key ideas: BUILD; DEPLOY; PERFORMANCE; RELEASE GOVERNANCE. Watch out: Deploying untested builds before peak events is a top cause of commerce outages.ERPClimb.com / COMMERCE / LESSON 11/12 / LEARNING SHEETCloud deployment and performance1 · HOW IT FLOWS1Git commit2Build in CloudPortal3Deploymode + data migration4Load test +monitor2 · KEY IDEAS EXPLAINEDBuildmanifest.json lists extensions, properties perenvironment and aspects.Build from a tagged commit; record build IDs perrelease.DeployChoose environment and data migration modecarefully.Use update (migrate data) when types changed; nomigration when only code changed.PerformancePlatform caches for frequently used data; CDN forimages and static files.Avoid expensive FlexibleSearch queries in hotpaths.Release GovernanceCode freeze before peak events.Rollback plan: previous build ready.3 · REMEMBER · WATCH OUTRememberBuilds are created in Cloud Portal from a Git branch or tag usingmanifest.json.Deployments to an environment choose a data migration mode: no datamigration, migrate data (update), or initialize database.Initialize database wipes data — never use it on production.!Watch outDeploying untested builds beforepeak events is a top cause ofcommerce outages.4 · IN A REAL PROJECTTwo weeks before a seasonal sale, load testing showed checkout slowing at 60% of expected traffic due to anuncached customer price lookup. Adding caching with short TTL and indexing the query reached 150% of target,and a code freeze protected the result.Original ERPClimb learning sheet • Verify against your SAP release and edition

The situation: a real project scenario

Two weeks before a seasonal sale, load testing showed checkout slowing at 60% of expected traffic due to an uncached customer price lookup. Adding caching with short TTL and indexing the query reached 150% of target, and a code freeze protected the result.

Explanation

Once code is ready, it has to reach production safely and keep performing once it's under real load — these are two different disciplines that both show up in SAP Commerce Cloud operations.

Builds are created in Cloud Portal from a specific Git branch or tag, driven by a manifest.json that lists the extensions to include, per-environment properties, and aspects such as api, backoffice and backgroundProcessing that control which capabilities a given environment node runs. Building from a tagged commit rather than a moving branch, and recording the resulting build ID against the release, is what makes a deployment reproducible and a rollback possible later.

Deploying a build to an environment requires choosing a data migration mode, and this choice is one of the highest-risk decisions in the whole pipeline: no data migration is used when only code changed; update (migrate data) is used when the type system changed and the database schema needs to evolve; and initialize wipes the database and reloads it from scratch — appropriate for a fresh environment, never for one holding real customer or order data.

Picking the wrong mode, especially initialize against an environment that actually has production-like data, is catastrophic and effectively unrecoverable without a backup.

Performance depends on a handful of specific, testable things: platform-level caching for frequently read data (so hot paths don't hit the database every time), a CDN in front of static assets and images (so the origin isn't serving every product image to every visitor), efficient queries in custom code (a single uncached FlexibleSearch query in a hot path like pricing or cart recalculation can become the bottleneck for an entire storefront), and load testing the actual customer journeys that matter — search, product page, add to cart, checkout — at the traffic level expected during peak, with margin for upside surprises.

Release governance ties these together: a code freeze before known peak events (sales, major campaigns) so untested changes can't introduce risk at the worst possible time, a rollback plan with the previous build ready to redeploy, and post-deployment smoke tests plus active monitoring so a bad deployment is caught in minutes, not discovered by customers.

Code example

ABAP Code
{  "commerceSuiteVersion": "2211",  "extensions": ["mycommercecore", "mycommerceocc", "backoffice"],  "aspects": [    { "name": "api",         "properties": [{ "key": "occ.rewrite.overlapping.paths.enabled", "value": "true" }] },    { "name": "backoffice",  "properties": [] },    { "name": "backgroundProcessing", "properties": [] }  ]}

Watch out

Common mistakes

Using initialize data migration mode on an environment that already holds real data: this wipes the database, and it is one of the few genuinely unrecoverable mistakes in Commerce Cloud operations if there's no recent backup — always double-check the mode and the target environment before confirming a deployment.

Deploying without running the build through staging first: staging is where schema changes, data migration behavior and new code interact with production-like data before customers are exposed to the result.

Skipping load testing before a known peak event: performance problems in Commerce are almost always about one specific hot-path query or an uncached lookup, and those only surface under real concurrent load, not in a quiet staging smoke test.

Deploying during active peak traffic: even a routine, low-risk deployment carries some chance of a brief service interruption, and doing that during the one window where the business can least afford downtime turns a minor risk into a major one.

Also common: ignoring the manifest.json aspects configuration until something breaks, such as expecting a node to run backgroundProcessing jobs when its manifest never declared that aspect.

Do this

Best practices

Promote tagged, immutable builds through environments in order (dev to staging to production) rather than deploying ad hoc branches straight to production, so what was tested is exactly what ships.

Document which data migration mode each release needs and why, as part of the release notes — this turns a judgment call made under deployment pressure into a checked, reviewed decision.

Load test the customer journeys that actually drive revenue (search, PDP, cart, checkout) at expected peak traffic plus a safety margin, well before the peak event, so there's time to fix what the test finds.

Put a code freeze in place ahead of major peaks, with an explicit exception process for genuine production-breaking fixes, and always keep the previous build ready for an immediate rollback.

In the interview

Interview angle

A good interview question here is 'Walk me through how you'd prepare an SAP Commerce Cloud storefront for Black Friday.' A weak answer talks only about marketing or promotions.

A strong answer covers the engineering side end to end: freeze code changes ahead of the event, load test the critical journeys at expected-plus-margin traffic and fix whatever bottleneck the test surfaces (very often an uncached price or stock lookup), confirm the deployment pipeline's rollback path is ready, and make sure CDN and caching are actually configured for the static and semi-static content that will take the brunt of the traffic.

Mentioning data migration mode risk (never initialize against real data) and manifest.json aspects shows the candidate has actually operated a Commerce Cloud environment, not just read about the architecture.

Practice this lesson

Original educational case studies for SAP consultants, not official SAP certification exam questions. Verify product edition and implementation details against the current SAP documentation.

Quick check

0 of 4 questions attempted

Question 1 of 4

Which data migration mode must never be used on production with real data?

Practise this in an interview

Answer in your own words and get instant feedback, the way an interviewer would judge it.

1How do you deploy SAP Commerce Cloud safely?

2How would you prepare SAP Commerce for Black Friday traffic?

Was this lesson helpful?

Keep exploring

Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.