Agent Skills: Salesforce Hyperforce Architecture (2025)

Salesforce Hyperforce public cloud infrastructure and architecture (2025)

UncategorizedID: josiahsiegel/claude-plugin-marketplace/hyperforce-2025

Install this agent skill to your local

pnpm dlx add-skill https://github.com/JosiahSiegel/claude-plugin-marketplace/tree/HEAD/plugins/salesforce-master/skills/hyperforce-2025

Skill Files

Browse the full folder contents for hyperforce-2025.

Download Skill

Loading file tree…

plugins/salesforce-master/skills/hyperforce-2025/SKILL.md

Skill Metadata

Name
hyperforce-2025
Description
|

🚨 CRITICAL GUIDELINES

Windows File Path Requirements

MANDATORY: Always Use Backslashes on Windows for File Paths

When using Edit or Write tools on Windows, you MUST use backslashes (\) in file paths, NOT forward slashes (/).

Examples:

  • ❌ WRONG: D:/repos/project/file.tsx
  • βœ… CORRECT: D:\repos\project\file.tsx

This applies to:

  • Edit tool file_path parameter
  • Write tool file_path parameter
  • All file operations on Windows systems

Documentation Guidelines

NEVER create new documentation files unless explicitly requested by the user.

  • Priority: Update existing README.md files rather than creating new documentation
  • Repository cleanliness: Keep repository root clean - only README.md unless user requests otherwise
  • Style: Documentation should be concise, direct, and professional - avoid AI-generated tone
  • User preference: Only create additional .md files when user specifically asks for documentation

Salesforce Hyperforce Architecture (2025)

What is Hyperforce?

Hyperforce is Salesforce's next-generation infrastructure architecture built on public cloud platforms (AWS, Azure, Google Cloud). It represents a complete re-architecture of Salesforce from data center-based infrastructure to cloud-native, containerized microservices.

Key Innovation: Infrastructure as code that can be deployed anywhere, giving customers choice, control, and data residency compliance.

Five Architectural Principles

1. Immutable Infrastructure

Traditional: Patch and update existing servers Hyperforce: Destroy and recreate servers with each deployment

Old Architecture:
Server β†’ Patch β†’ Patch β†’ Patch β†’ Configuration Drift

Hyperforce:
Container Image v1 β†’ Deploy
New Code β†’ Build Container Image v2 β†’ Replace v1 with v2
Result: Every deployment is identical, reproducible

Benefits:

  • No configuration drift
  • Consistent environments (dev = prod)
  • Fast rollback (redeploy previous image)
  • Security patches applied immediately

2. Multi-Availability Zone Design

Architecture:

Region: US-East (Virginia)
β”œβ”€ Availability Zone A (Data Center 1)
β”‚  β”œβ”€ App Servers (Kubernetes pods)
β”‚  β”œβ”€ Database Primary
β”‚  └─ Load Balancer
β”œβ”€ Availability Zone B (Data Center 2)
β”‚  β”œβ”€ App Servers (Kubernetes pods)
β”‚  β”œβ”€ Database Replica
β”‚  └─ Load Balancer
└─ Availability Zone C (Data Center 3)
   β”œβ”€ App Servers (Kubernetes pods)
   β”œβ”€ Database Replica
   └─ Load Balancer

Traffic Distribution: Round-robin across all AZs
Failure Handling: If AZ fails, traffic routes to remaining AZs
RTO (Recovery Time Objective): <5 minutes
RPO (Recovery Point Objective): <30 seconds

Impact on Developers:

  • Higher availability (99.95%+ SLA)
  • Transparent failover (no code changes)
  • Regional data residency guaranteed

3. Zero Trust Security

Traditional: Perimeter security (firewall protects everything inside) Hyperforce: No implicit trust - verify everything, always

Zero Trust Model:
β”œβ”€ Identity Verification (MFA required for all users by 2025)
β”œβ”€ Device Trust (managed devices only)
β”œβ”€ Network Segmentation (micro-segmentation between services)
β”œβ”€ Least Privilege Access (minimal permissions by default)
β”œβ”€ Continuous Monitoring (real-time threat detection)
└─ Encryption Everywhere (TLS 1.3, data at rest encryption)

Code Impact:

// OLD: Assume internal traffic is safe
public without sharing class InternalService {
    // No auth checks - trusted network
}

// HYPERFORCE: Always verify, never trust
public with sharing class InternalService {
    // Always enforce sharing rules
    // Always validate session
    // Always check field-level security

    public List<Account> getAccounts() {
        // WITH SECURITY_ENFORCED prevents data leaks
        return [SELECT Id, Name FROM Account WITH SECURITY_ENFORCED];
    }
}

2025 Requirements:

  • MFA Mandatory: All users must enable MFA
  • Session Security: Shorter session timeouts, IP restrictions
  • API Security: JWT with short expiration (15 minutes)

4. Infrastructure as Code (IaC)

Everything defined as code, version-controlled:

# Hyperforce deployment manifest (conceptual)
apiVersion: hyperforce.salesforce.com/v1
kind: SalesforceOrg
metadata:
  name: production-org
  region: aws-us-east-1
spec:
  edition: enterprise
  features:
    - agentforce
    - dataCloud
    - einstein
  compute:
    pods: 50
    autoScaling:
      min: 10
      max: 100
      targetCPU: 70%
  storage:
    size: 500GB
    replication: 3
  backup:
    frequency: hourly
    retention: 30days
  networking:
    privateLink: enabled
    ipWhitelist:
      - 203.0.113.0/24

Benefits for Developers:

  • Reproducible: Recreate exact environment anytime
  • Version Controlled: Track all infrastructure changes in Git
  • Testable: Validate infrastructure before deployment
  • Automated: No manual configuration, eliminates human error

5. Clean Slate (No Legacy Constraints)

Hyperforce rebuilt from scratch:

  • Modern Kubernetes orchestration
  • Cloud-native services (managed databases, object storage)
  • API-first design (everything accessible via API)
  • Microservices architecture (independent scaling)
  • No legacy code or technical debt

Public Cloud Integration

AWS Hyperforce Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                  AWS Region (us-east-1)                β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  VPC (Virtual Private Cloud)                           β”‚
β”‚  β”œβ”€ Public Subnets (3 AZs)                             β”‚
β”‚  β”‚  └─ Application Load Balancer (ALB)                 β”‚
β”‚  β”œβ”€ Private Subnets (3 AZs)                            β”‚
β”‚  β”‚  β”œβ”€ EKS Cluster (Kubernetes)                        β”‚
β”‚  β”‚  β”‚  β”œβ”€ Salesforce App Pods (autoscaling)            β”‚
β”‚  β”‚  β”‚  β”œβ”€ Metadata Service Pods                        β”‚
β”‚  β”‚  β”‚  β”œβ”€ API Gateway Pods                             β”‚
β”‚  β”‚  β”‚  └─ Background Job Pods (Batch, Scheduled)       β”‚
β”‚  β”‚  β”œβ”€ RDS Aurora PostgreSQL (multi-AZ)                β”‚
β”‚  β”‚  β”œβ”€ ElastiCache Redis (session storage)             β”‚
β”‚  β”‚  └─ S3 Buckets (attachments, documents)             β”‚
β”‚  └─ Database Subnets (3 AZs)                           β”‚
β”‚     └─ Aurora Database Cluster                         β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  Additional Services                                   β”‚
β”‚  β”œβ”€ CloudWatch (monitoring, logs)                      β”‚
β”‚  β”œβ”€ CloudTrail (audit logs)                            β”‚
β”‚  β”œβ”€ AWS Shield (DDoS protection)                       β”‚
β”‚  β”œβ”€ AWS WAF (web application firewall)                 β”‚
β”‚  β”œβ”€ KMS (encryption key management)                    β”‚
β”‚  └─ PrivateLink (secure connectivity)                  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

AWS Services Used:

  • Compute: EKS (Elastic Kubernetes Service)
  • Database: Aurora PostgreSQL (multi-master)
  • Storage: S3 (object storage), EBS (block storage)
  • Networking: VPC, ALB, Route 53, CloudFront CDN
  • Security: IAM, KMS, Shield, WAF, Certificate Manager

Azure Hyperforce Architecture

Azure Region (East US)
β”œβ”€ Virtual Network (VNet)
β”‚  β”œβ”€ AKS (Azure Kubernetes Service)
β”‚  β”‚  └─ Salesforce workloads
β”‚  β”œβ”€ Azure Database for PostgreSQL (Hyperscale)
β”‚  β”œβ”€ Azure Cache for Redis
β”‚  └─ Azure Blob Storage
β”œβ”€ Azure Front Door (CDN + Load Balancer)
β”œβ”€ Azure Monitor (logging, metrics)
β”œβ”€ Azure Active Directory (identity)
└─ Azure Key Vault (secrets, encryption)

Google Cloud Hyperforce Architecture

GCP Region (us-central1)
β”œβ”€ VPC Network
β”‚  β”œβ”€ GKE (Google Kubernetes Engine)
β”‚  β”œβ”€ Cloud SQL (PostgreSQL)
β”‚  β”œβ”€ Memorystore (Redis)
β”‚  └─ Cloud Storage (GCS)
β”œβ”€ Cloud Load Balancing
β”œβ”€ Cloud Armor (DDoS protection)
β”œβ”€ Cloud Monitoring (Stackdriver)
└─ Cloud KMS (encryption)

Data Residency and Compliance

Geographic Regions (2025)

Available Hyperforce Regions:

Americas:
β”œβ”€ US East (Virginia) - AWS, Azure
β”œβ”€ US West (Oregon) - AWS
β”œβ”€ US Central (Iowa) - GCP
β”œβ”€ Canada (Toronto) - AWS
└─ Brazil (SΓ£o Paulo) - AWS

Europe:
β”œβ”€ UK (London) - AWS
β”œβ”€ Germany (Frankfurt) - AWS, Azure
β”œβ”€ France (Paris) - AWS
β”œβ”€ Ireland (Dublin) - AWS
└─ Switzerland (Zurich) - AWS

Asia Pacific:
β”œβ”€ Japan (Tokyo) - AWS
β”œβ”€ Australia (Sydney) - AWS
β”œβ”€ Singapore - AWS
β”œβ”€ India (Mumbai) - AWS
└─ South Korea (Seoul) - AWS

Middle East:
└─ UAE (Dubai) - AWS

Data Residency Guarantees

What stays in region:

  • All customer data (records, attachments, metadata)
  • Database backups
  • Transaction logs
  • Audit logs

What may leave region:

  • Telemetry data (anonymized performance metrics)
  • Security threat intelligence
  • Platform health monitoring

Code Implication:

// Data residency automatically enforced
// No code changes needed - Hyperforce handles it

// Example: File stored in org's region
ContentVersion cv = new ContentVersion(
    Title = 'Customer Contract',
    PathOnClient = 'contract.pdf',
    VersionData = Blob.valueOf('contract data')
);
insert cv;

// File automatically stored in:
// - AWS S3 in org's region
// - Encrypted at rest (AES-256)
// - Replicated across 3 AZs in region
// - Never leaves region boundary

Compliance Certifications

Hyperforce maintains:

  • SOC 2 Type II: Security, availability, confidentiality
  • ISO 27001: Information security management
  • GDPR: EU data protection compliance
  • HIPAA: Healthcare data protection (BAA available)
  • PCI DSS: Payment card data security
  • FedRAMP: US government cloud security (select regions)

Performance Improvements

Latency Reduction

Old Architecture (data center-based):

User (Germany) β†’ Transatlantic cable β†’ US Data Center β†’ Response
Latency: 150-200ms

Hyperforce:

User (Germany) β†’ Frankfurt Hyperforce Region β†’ Response
Latency: 10-30ms

Result: 5-10x faster for regional users

Auto-Scaling

Traditional: Fixed capacity, must provision for peak load Hyperforce: Dynamic scaling based on demand

Business Hours (9 AM - 5 PM):
β”œβ”€ High user load
β”œβ”€ Kubernetes scales up pods: 50 β†’ 150
└─ Response times maintained

Off Hours (6 PM - 8 AM):
β”œβ”€ Low user load
β”œβ”€ Kubernetes scales down pods: 150 β†’ 30
└─ Cost savings (pay for what you use)

Black Friday (peak event):
β”œβ”€ Extreme load
β”œβ”€ Kubernetes scales to maximum: 30 β†’ 500 pods in minutes
└─ No downtime, no performance degradation

Governor Limits - No Change:

// Hyperforce does NOT change governor limits
// Limits remain the same as classic Salesforce:
// - 100 SOQL queries per transaction
// - 150 DML statements
// - 6 MB heap size (sync), 12 MB (async)

// But: Infrastructure scales to handle more concurrent users

Migration and Developer Workflow

Detailed Hyperforce migration phases, readiness checks, pre/post-migration testing, rollback considerations, developer workflow changes, CLI/API notes, sandbox strategy, endpoint handling, and deployment considerations live in references/migration-and-developer-workflow.md. Load that reference when planning or executing a Hyperforce move.

Best Practices for Hyperforce

Security

  • Enable MFA: Required for all users in 2025
  • Use WITH SECURITY_ENFORCED: Field-level security in SOQL
  • Implement IP whitelisting: Restrict access to known IPs
  • Monitor audit logs: Setup β†’ Event Monitoring
  • Rotate credentials: API keys, certificates, passwords regularly

Performance

  • Leverage caching: Platform Cache for frequently accessed data
  • Optimize queries: Use indexed fields, selective queries
  • Async processing: Use @future, Queueable for non-critical work
  • Bulkification: Always design for 200+ records
  • Monitor limits: Use Limits class to track governor limit usage

Data Residency

  • Understand requirements: Know your compliance obligations
  • Choose correct region: Select region meeting your needs
  • Validate configurations: Ensure integrations respect boundaries
  • Document decisions: Maintain records of data residency choices

Cost Optimization

  • Right-size storage: Archive old data, delete unnecessary records
  • Optimize API calls: Batch API calls, use composite APIs
  • Schedule batch jobs efficiently: Run during off-peak hours
  • Monitor usage: Track API calls, storage, compute usage

Resources

  • Hyperforce Trust Site: https://trust.salesforce.com/en/infrastructure/hyperforce/
  • Hyperforce FAQ: Salesforce Help documentation
  • Available Regions: https://help.salesforce.com/s/articleView?id=sf.getstart_domain_overview.htm
  • Migration Guide: Provided by Salesforce 90 days before migration
  • Trust & Compliance: https://compliance.salesforce.com/

Future Roadmap (2025+)

Expected Enhancements:

  • More regions (Africa, additional Asia Pacific)
  • Bring Your Own Cloud (BYOC) - use your own AWS/Azure account
  • Multi-region active-active (write to multiple regions simultaneously)
  • Edge computing (Salesforce at CDN edge locations)
  • Kubernetes cluster API (direct pod management for enterprises)

Hyperforce represents Salesforce's commitment to modern, cloud-native infrastructure that scales globally while meeting the most stringent compliance and performance requirements.