← Back to Cases
Cross-border E-commerce

UBI CAPITAL

A cross-border e-commerce company migrating its SAP S/4HANA from GCP to AWS, building a highly available and elastic SAP environment.

Project Overview

UBI is a cross-border e-commerce company focused on overseas markets. Its business covers independent site operations, overseas warehouse management and multi-channel sales, serving customers across Europe, America, Southeast Asia and beyond.

UBI relies on the SAP system (S/4HANA) as its core ERP, supporting key operations such as finance, procurement, inventory and order management. The SAP system originally ran on GCP; as the business grew, pain points emerged around global low-latency access, cost control and compliance. UBI decided to migrate SAP from GCP to AWS — leveraging AWS's global infrastructure and SAP-certified instance types to build a highly available and elastic SAP environment.

Industry
Cross-border E-commerce
Services
SAP GCP → AWS Migration
Since
2025

Design DocumentSAP S/4HANA Migration from GCP to AWS

1. Client Introduction

UBI is a cross-border e-commerce company specializing in overseas markets, engaged in independent site operations, overseas warehouse management and multi-channel sales, with its business reaching Europe, America and Southeast Asia. As the business scales rapidly, the company's demands for a core ERP system also grow.

UBI uses SAP S/4HANA as its core ERP, supporting finance, procurement, inventory and order management. To align with the global business layout, the SAP system must provide stable, low-latency services to users in multiple regions, while meeting data compliance requirements in different countries and regions. With business growth, the original architecture on GCP faced several bottlenecks, prompting the decision to migrate to AWS.


2. Project Background

Customer Requirements

  1. Migrate to AWS: Move the SAP S/4HANA environment from GCP to AWS, building a stable, elastic and cloud-native ERP infrastructure.
  2. High availability & DR: Ensure the SAP system remains available during hardware failure or region outage, guaranteeing business continuity.
  3. Cost optimization: Reduce infrastructure cost through elastic scaling and right-sized resource selection while meeting SAP performance requirements.
  4. Global access: Serve users in multiple regions with low latency, improving the experience for global teams and partners.

Source Architecture (GCP)

Current GCP Architecture Components
Load Balancing Cloud Load Balancing (global HTTP(S)), providing global access for the SAP front-end and web servers
Application SAP S/4HANA application server on Compute Engine, spec n2-highmem-16 (16 vCPU / 128GB RAM)
Database Cloud SQL for PostgreSQL, 8 vCPU / 32GB RAM, total database size ~20 GB
Storage Cloud Storage (GCS) for backup and archive data

3. Business Requirements

3.1 Core Pain Points

  1. Cross-region latency: GCP's nodes are concentrated in a few regions, causing poor access for users in Europe and America and affecting daily operations.
  2. Cost pressure: SAP requires high-memory instances; running them as fixed VMs on GCP leaves little room to optimize the large license and compute bills.
  3. Insufficient HA: The original single-node deployment lacks a complete HA and DR mechanism, with business-interruption risk during failure.
  4. Compliance complexity: Cross-border data flows must meet the compliance requirements of different regions, demanding finer-grained permission and audit management.

3.2 Optimization Goals

Goal: Build an SAP S/4HANA environment on AWS around EC2 + EBS, achieving high availability, elastic scaling and global low-latency access, while meeting the security and compliance requirements of cross-border e-commerce.

4. AWS Service Mapping

AWS ServicePurposePriority
Amazon EC2SAP-certified instances (e.g. memory-optimized) hosting the SAP S/4HANA application and database tierP0
Amazon EBSBlock storage for the SAP system, using gp3 for general workloads and io2 for high IOPSP1
Amazon S3Backup and archive storage for SAP data, supporting low-cost long-term retentionP2
Amazon RDS (PostgreSQL)Replaces Cloud SQL, holding peripheral business dataP1
Elastic Load BalancingReplaces Cloud Load Balancing, providing L7 load balancing and health checksP1
Amazon VPCNetwork isolation, dividing public and private subnets, controlling access securityP1
Amazon CloudWatchMonitors EC2, EBS and RDS metrics, supporting alarms and auto-actionsP2
AWS LambdaAutomated orchestration: SAP start/stop, backup scheduling, auto-scaling triggersP2
Amazon Route 53DNS resolution and traffic management, supporting multi-region failoverP3
AWS Certificate ManagerSSL certificate management, providing HTTPS encryptionP3
AWS KMSData encryption key management, meeting data security complianceP1

5. Architecture Design

The target architecture is built in the AWS Frankfurt region (eu-central-1), adopting a highly available deployment across two Availability Zones to support global business access.

Target Architecture Layers
Access Layer
Route 53 ACM Certificate ALB
SAP Application Layer
EC2 (SAP HANA) EC2 (SAP PAS) Auto Recovery VPC Private Subnet
Data Layer
RDS PostgreSQL S3 Backup/Archive KMS Encryption
High Availability & Backup
EBS Snapshots S3 Cross-region Archive Multi-AZ Deployment
Operations & Monitoring
CloudWatch Lambda Automation

Key Design Decisions


6. Non-Functional Requirements

Availability

Core SAP services target 99.95%; multi-AZ deployment ensures failover in case of single-point failure.

Performance

HANA query response < 1 second; batch jobs run in parallel; EBS io2 meets high IOPS for the database.

Security

VPC isolation, Security Group least-privilege, KMS encryption, CloudTrail audit — meeting cross-border data compliance.

Cost

On-demand for the SAP tier, scheduled stop/start for non-production, S3 for cheap archive — estimated 30–40% lower cost.

Maintainability

Infrastructure as code, automated backup and recovery, full monitoring/alerting across all key components.

Scalability

EC2 supports vertical scaling; RDS and S3 scale horizontally; architecture adapts to future business growth.


7. Migration Plan

The overall migration is divided into five phases, expected to complete in 12 weeks. Migrate non-core data first, then the SAP environment, and finally cut over traffic.

Phase 1 · Preparation (Week 1-2)
Environment Setup & Assessment
Set up VPC, subnets and security groups on AWS; prepare SAP-certified EC2 and EBS; assess the current GCP SAP environment and produce a detailed migration checklist.
Phase 2 · Data Migration (Week 3-5)
Database & Backup Migration
Migrate 20GB from Cloud SQL to RDS PostgreSQL via logical backup + incremental sync; copy backup data from GCS to S3, ensuring consistency and integrity.
Phase 3 · SAP Deployment (Week 6-8)
SAP Environment Build
Deploy SAP S/4HANA on EC2 in the AWS Frankfurt region; configure EBS storage and multi-AZ high availability; complete connectivity tests with RDS and S3.
Phase 4 · Cutover (Week 9-10)
Traffic Switch & Validation
Cut over the SAP system from GCP to AWS via Route 53; monitor availability and performance throughout; keep GCP as a rollback backup.
Phase 5 · Wrap-up (Week 11-12)
Optimization & Ops Handover
Tune EC2/EBS specs and Auto Scaling; configure CloudWatch alarms; complete ops documentation; decommission GCP once billing stops.

Migration Risks & Mitigations

RiskImpactMitigation
Long SAP migration windowBusiness interruptionComplete non-core migration first; cut over SAP in a maintenance window with rollback plan
Data inconsistencyData lossDual-write during migration (GCP + AWS); verify consistency before cutover
Performance degradationPoor user experiencePerformance test in AWS environment before cutover; tune EC2/EBS specs
Rollback neededBusiness interruptionKeep GCP running 30 days after AWS is stable, switchable back at any time

8. Project Team

Project Manager
Liu Siyuan
Oversees project schedule, coordinates client and internal resources
Architect
Zhao Mingzhe
AWS architecture design, SAP high-availability solution, migration technical review
SAP Basis Engineer
Sun Jiayi
SAP S/4HANA deployment, HANA configuration and tuning
DevOps Engineer
Zhou Yuhang
Automated migration scripts, monitoring/alerting, ops handover

Key Milestones

MilestoneTimeDeliverable
Migration plan approvedWeek 2Architecture design doc, migration plan
Data migration completeWeek 5Data consistency report
SAP deployment completeWeek 8Environment acceptance, test records
Cutover go-liveWeek 10Go-live confirmation, monitoring report
Project acceptanceWeek 12Ops documentation, project summary

Need SAP migration or cloud architecture optimization?

We provide a free SAP-on-AWS assessment and cost-saving analysis.

Contact Us