Commerce Cloud Fundamentals

Master Magento Cloud hosting platform, deployment workflows, and cloud administration

Exam Important: Commerce Cloud questions appear on the AD0-E717 exam! This section covers essential Cloud fundamentals including platform features, Starter vs Pro editions, branching workflows, deployment processes, and Cloud Admin UI.

What is Magento Commerce Cloud?

Platform Overview

  • Hosting platform built on AWS
  • Based on Platform.sh
  • Managed code and environment
  • Most qualified hosting for Commerce

Two Editions

  • Starter: Shared hosting
  • Pro: Dedicated instances
  • Different workflows
  • Varying features and architecture

Domain 1: Cloud Fundamentals

5 Topics
1.1

Cloud Features & Functions

Understand Magento Cloud platform, Starter vs Pro editions, features, architecture, and deployment workflows.

  • Platform overview and features
  • Starter edition workflow
  • Pro edition structure
  • Branching strategies
1.2

Cloud Admin UI Settings

Learn to locate and configure settings in the Cloud Admin UI for project management and deployment.

  • Admin UI navigation
  • Project settings
  • Environment configuration
  • Deployment management
1.3

Manage Users

Demonstrate the ability to manage users, add SSH keys, assign roles, and configure permissions.

  • Add SSH keys
  • Add users to projects
  • User roles (Admin, Contributor, Reader)
  • Support ticket access
1.4

Cloud Plan Differences

Understand the key differences between Starter and Pro plans: isolation, infrastructure, and workflows.

  • Starter vs Pro hosting types
  • Environment isolation
  • Branch capacity differences
  • Code flow variations
1.5

Environment Types

Learn how different environment types operate: Integration, Staging, and Production with their unique characteristics.

  • Integration environments (writable)
  • Staging (read-only, production services)
  • Production (read-only, master branch)
  • Service availability

Domain 2: Local Development

2 Topics
2.1

Local Development Setup

Set up local development environment for Magento Cloud projects.

  • Local development requirements
  • Docker setup
  • Cloud CLI installation
  • SSH key configuration
2.2

Magento Cloud CLI Tool

Master the Magento Cloud CLI tool for project management and deployment.

  • CLI installation and authentication
  • Common CLI commands
  • Environment management
  • SSH and tunneling

Domain 3: Configuration

3 Topics
3.1

Cloud Configuration

Understand .magento/routes.yaml configuration, redirects, upstream routes, and domain management.

  • routes.yaml structure
  • type: redirect vs upstream
  • {default} and {all} variables
  • HTTP to HTTPS redirects
3.2

Service Configuration

Configure services in .magento/services.yaml for databases, cache, and search.

  • services.yaml structure
  • MySQL/MariaDB configuration
  • Redis and Elasticsearch setup
  • Service versions
3.3

Environment Configuration

Configure environment-specific settings and variables.

  • .magento.env.yaml configuration
  • Environment variables
  • Build and deploy settings
  • Stage-specific configuration

Domain 4: Services

2 Topics
4.1

Service Configuration

Deep dive into configuring and managing Cloud services.

  • Service relationships
  • Database configuration
  • Cache services
  • Search engines
4.2

Slave Connections

Configure slave database connections for read operations.

  • Master-slave architecture
  • Slave connection configuration
  • Read/write splitting
  • Performance optimization

Domain 5: Deployment

2 Topics
5.1

Deployment Process

Compare Cloud variable types, precedence, and configuration methods for different environments.

  • Build vs Deploy variables
  • Variable precedence
  • env.php vs Cloud variables
  • Configuration methods
5.2

Script Configurations

Configure build and deploy hooks, cron jobs, and custom scripts.

  • Build and deploy hooks
  • Cron job configuration
  • Custom deployment scripts
  • Post-deploy hooks

Domain 6: SCD Optimization

3 Topics
6.1

Move SCD to Build

Optimize deployment by moving static content deployment to build phase.

  • SCD_ON_DEMAND setting
  • Build phase SCD
  • Deploy phase optimization
  • Downtime reduction
6.2

Avoid SCD Both Phases

Prevent static content deployment from running in both build and deploy phases.

  • SKIP_SCD variable
  • Phase-specific SCD
  • Build-only deployment
  • Performance optimization
6.3

SCD On Demand

Configure on-demand static content generation for faster deployments.

  • On-demand generation
  • Real-time compilation
  • Zero-downtime deployment
  • First-request generation

Domain 7: Development

6 Topics
7.1

Change Configurations

Modify Magento configuration in Cloud environments.

  • Configuration management
  • Environment-specific config
  • config.php vs env.php
  • Admin config changes
7.2

Change Locale

Configure locale and language settings for Cloud stores.

  • Locale configuration
  • Language packages
  • Multi-store locales
  • Deployment considerations
7.3

Add Extensions

Install and manage third-party extensions in Cloud environments.

  • Composer-based installation
  • Extension compatibility
  • Deployment considerations
  • Testing extensions
7.4

Enable/Disable Module

Understand when and how to use module:enable and module:disable commands in Cloud environments.

  • bin/magento module:enable/disable
  • config.php management
  • Build vs deploy phase
  • Best practices
7.5

Multisite Configuration

Configure multiple websites, stores, and store views in Cloud.

  • Multi-website setup
  • Domain routing
  • MAGE_RUN variables
  • Store view configuration
7.6

Use Variables

Utilize environment variables for configuration management.

  • Environment variable types
  • Variable configuration
  • Sensitive data management
  • Build vs deploy variables

Domain 8: Setup/Configuring

5 Topics
8.1

Locate and Use Logs

Find and analyze log files for debugging and troubleshooting.

  • Log file locations
  • Log types and purposes
  • CLI log commands
  • Real-time monitoring
8.2

Snapshots and Backups

Create and manage environment snapshots and backups.

  • Creating snapshots
  • Restoring from backup
  • Automated backups
  • Backup best practices
8.3

Debug with XDebug

Configure and use XDebug for debugging in Cloud environments.

  • XDebug configuration
  • SSH tunneling setup
  • IDE integration
  • Debugging best practices
8.4

Apply Patches

Learn to apply Magento patches using m2-hotfixes directory, git apply, and ece-tools patches.

  • m2-hotfixes/ directory
  • Patch testing with git apply
  • Build phase application
  • ece-tools built-in patches
8.5

Branch Synchronization

Master sync and merge workflows, environment hierarchies, and conflict resolution.

  • Sync (loads DB & code)
  • Starter vs Pro hierarchy
  • Merge workflows
  • Conflict resolution

Domain 9: Cloud CLI Tool

4 Topics
9.1

Configure DNS

Understand DNS configuration for going live: TTL, CNAME records, Fastly endpoints, and root domain limitations.

  • Lower TTL before launch
  • CNAME to Fastly endpoint
  • Root domain cannot use CNAME
  • Redirect root to www
9.2

Setup and Configure Fastly

Learn Fastly installation, API keys, VCL snippets, Shield configuration, and GeoIP mapping.

  • composer require fastly/magento2
  • API keys location (/mnt/shared/fastly_tokens.txt)
  • Upload VCL snippets
  • Shield location and GeoIP
9.3

Upgrade to New Version

Master version range syntax, composer update, and integration → staging → production upgrade workflow.

  • Version range: >=X.Y.Z
  • magento-cloud-metapackage
  • Deployment path workflow
  • ece-tools upgrade
9.4

Upsize Environment

Understand capacity scaling, 72-hour advance notice, 5-day duration, and contracted days calculation.

  • 12-120 CPUs capacity range
  • 72-hour advance notice required
  • 5 days at a time
  • ECE24: 45 days, ECE48: 22 days

Study Recommendations

  • Get hands-on experience with a Cloud sandbox (Partner or Community Insider access)
  • Practice branching and deployment workflows
  • Familiarize yourself with git commands and cloud CLI
  • Understand data flow: Production → Staging → Integration
  • Review architecture differences between Starter and Pro