Commerce Cloud Fundamentals
Master Magento Cloud hosting platform, deployment workflows, and cloud administration
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 TopicsCloud 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
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
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
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
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 TopicsLocal Development Setup
Set up local development environment for Magento Cloud projects.
- Local development requirements
- Docker setup
- Cloud CLI installation
- SSH key configuration
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 TopicsCloud 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
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
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 TopicsService Configuration
Deep dive into configuring and managing Cloud services.
- Service relationships
- Database configuration
- Cache services
- Search engines
Slave Connections
Configure slave database connections for read operations.
- Master-slave architecture
- Slave connection configuration
- Read/write splitting
- Performance optimization
Domain 5: Deployment
2 TopicsDeployment 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
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 TopicsMove 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
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
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 TopicsChange Configurations
Modify Magento configuration in Cloud environments.
- Configuration management
- Environment-specific config
- config.php vs env.php
- Admin config changes
Change Locale
Configure locale and language settings for Cloud stores.
- Locale configuration
- Language packages
- Multi-store locales
- Deployment considerations
Add Extensions
Install and manage third-party extensions in Cloud environments.
- Composer-based installation
- Extension compatibility
- Deployment considerations
- Testing extensions
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
Multisite Configuration
Configure multiple websites, stores, and store views in Cloud.
- Multi-website setup
- Domain routing
- MAGE_RUN variables
- Store view configuration
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 TopicsLocate 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
Snapshots and Backups
Create and manage environment snapshots and backups.
- Creating snapshots
- Restoring from backup
- Automated backups
- Backup best practices
Debug with XDebug
Configure and use XDebug for debugging in Cloud environments.
- XDebug configuration
- SSH tunneling setup
- IDE integration
- Debugging best practices
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
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 TopicsConfigure 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
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
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
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