Deleting an Environment
When an environment is no longer needed—such as a temporary feature environment, outdated staging setup, or development environment—you can delete it from Quant Cloud. This is a permanent action that removes the environment and its dedicated resources while leaving your application and other environments intact.
Before You Delete
Backup Environment-Specific Data Ensure you’ve backed up any important data that’s unique to this environment, including any environment-specific database content or files stored in persistent volumes. While shared application resources remain unaffected, data specific to this environment will be permanently lost.
Team Communication If team members are actively using this environment for development or testing, make sure they’re aware of the planned deletion and have time to complete their work or migrate to other environments.
Consider Stopping Instead If you’re uncertain about permanent deletion, consider stopping the environment first. This takes it offline and stops resource consumption while preserving the configuration and data for potential future use.
Understanding Environment Deletion
Unlike application deletion, which requires deleting all non-production environments first, individual environment deletion is more straightforward. You can delete any non-production environment directly without additional protective steps.
Environment Independence Each environment operates independently, so deleting one environment has no impact on other environments within the same application. Your production environment and other staging or development environments continue running normally.
Resource Scope Environment deletion only affects resources specific to that environment:
- The environment’s running containers and configuration
- Environment-specific database instances and data
- Persistent storage volumes dedicated to that environment
- Environment variables and secrets specific to that environment
- Logs and metrics history for that environment
Steps to Delete an Environment
Access Environment Management
- Navigate to your Applications list
- Find the application and click “Manage Environments”
- Locate the environment you want to delete
Initiate Deletion
- In the environment management interface, select the environment
- Look for the “Delete Environment” option in the environment details or actions panel
- Click the delete option to begin the process
Confirm Deletion The system will ask you to confirm the deletion, typically requiring you to type the environment name to proceed. This confirmation step helps prevent accidental deletion while being less restrictive than the application-level protection.
Read the confirmation message carefully as it explains exactly which resources will be removed and confirms that other environments will remain unaffected.
What Gets Deleted
When you delete an environment, Quant Cloud removes:
- The environment’s running containers and task definitions
- Environment-specific database instances (data will be permanently lost)
- Persistent storage volumes dedicated to this environment
- Environment variables and secrets specific to this environment
- Logs and metrics history for this environment
- Scheduled tasks and cron jobs configured for this environment
What Remains Intact
- Your application and all other environments
- Shared application-level resources
- Other environments’ databases and storage
- Application-level configuration and settings
Important Considerations
Permanent Action Environment deletion is irreversible. Once deleted, you cannot recover the environment’s configuration, data, or history through the Quant Cloud interface.
Database Data Loss If the environment has its own database instance, all data in that database will be permanently lost. Make sure you’ve exported any data you might need before proceeding.
No Impact on Other Environments Deleting an environment is isolated to that specific environment. Your production environment and other environments continue operating without any interruption or impact.
Resource Cleanup Quant Cloud automatically cleans up all resources associated with the deleted environment, ensuring you won’t incur ongoing charges for resources that are no longer in use.
Best Practices
Regular Cleanup Periodically review and delete temporary or unused environments to optimize costs and maintain a clean application structure.
Clear Communication Establish team processes for creating and deleting environments to ensure everyone is aware of environment lifecycle changes.
Data Management For environments that contain important test data or configurations, consider documenting or exporting key information before deletion.
Naming Conventions
Use clear naming conventions that indicate temporary environments (like feature-xyz
or test-abc
) to make cleanup decisions easier.
Environment deletion provides a straightforward way to manage your application’s environment lifecycle, allowing you to create and remove environments as needed without the protective constraints required for application-level changes.