Sandbox Pools
Sandbox pools in sfp are designed to provide instantly available Salesforce environments for development, testing, and review processes. By maintaining a pool of pre-created sandboxes, teams can significantly reduce wait times and streamline their development workflows.
Key Benefits
Immediate Availability: Eliminate waiting times for sandbox creation, allowing developers to start work instantly.
Reduced Overhead: Minimize the administrative burden of creating and managing individual sandboxes for each task.
Consistent Environment: Ensure all team members work with standardized, pre-configured sandbox environments.
Seamless Integration: Easily incorporate sandbox allocation into automated CI/CD pipelines and development workflows.
Sandbox Lifecycle
The following diagram illustrates the lifecycle of a sandbox within a pool:
Commands Overview
1. Sandbox Pool Initialization
Initializes sandbox pools based on configuration files.
2. Fetch a Sandbox
Fetches an available sandbox from a pool and assigns it to an issue.
3. Monitor Sandbox Pools
Monitors sandbox status, handles activations, expirations, and deletions.
Continuous Monitoring
The sfp sandbox monitor
command is designed to be run as a continuous cron job. This ensures that:
Newly created sandboxes are activated promptly.
Expired sandboxes are identified and marked for deletion.
Marked sandboxes are deleted, freeing up resources.
The pool is kept in a healthy state, always ready for use.
It's recommended to set up this command to run at regular intervals (e.g., every 15-30 minutes) to maintain an up-to-date and efficient sandbox pool.
For detailed information on each command and the expiration process, please refer to the individual command documentation.
Last updated