Ephemeral Environments
Concept
Ephemeral environments are designed to be identical replicas of production environments (except in size) and can be created automatically only based on existing primary environments.
Ephemeral environments are usually environments that live during the life of a Pull Request or are created manually to preview changes, showcase demos, or test new configurations.
A really important thing to consider is that the ability to start from the same point allows for predictability in reproducing issues.
Another really important thing to consider is that when using Ephemeral Environments, a new way of working is unlocked: you can easily perform destructive changes on an Environment, then discard it, and it will not affect your main testing flow at all. This is especially useful when testing things like connectivity issues or check for resilience of apps.
Ephemerals in Bunnyshell
With Bunnyshell, you automatically create ephemeral environments very simply, with a pull request, with a pull request comment, or via API integration with your current CI/CD solution.
Select your environment in the Bunnyshell interface.
Click the
Settings button. The settings for the selected environment are displayed.
In the Ephemeral environments section, toggle on the Create ephemeral environments on pull request option. This option is automatically saved by Bunnyshell.
Select the cluster where you ephemeral environment will be deployed by clicking the button located under Destination Kubernetes cluster and choosing an option from the drop-down menu.
Ephemeral environments will be automatically created only if the primary environment was already deployed successfully (its status is either Running or Stopped).

You can define the triggers to create ephemeral environments at a specific primary environment level. The primary environment will be used as a blueprint for generating the ephemeral environment.
As these ephemeral environments are meant to be destroyed when they are no longer needed, you can also define the triggers to automatically destroy them.
Last updated
Was this helpful?