Launching and Destroying Environments
Launching Environments in Facets
Launching an environment in Facets initiates the creation of a cluster and provisions the required resources. Through the Environment Launch Wizard, you can configure your infrastructure to match your specific needs, from development environments to production-grade deployments.
Cloud Infrastructure Setup
The launch process begins with connecting your cloud provider and configuring your network infrastructure. Facets supports:
- Multiple cloud providers with account-level isolation
- Custom VPC configurations for network security
- Region and availability zone selection for global deployment
- Flexible CIDR range definition for network planning
Kubernetes Configuration
Tailor your Kubernetes cluster to your workload requirements with options for:
- Cost optimization through Spot instances for development and testing
- High availability with On-Demand instances for production workloads
- Customizable node configurations for different workload types
- Auto-scaling capabilities with configurable node limits
Resource Management
During launch, you have complete control over your environment's resources:
- Enable or disable specific resources based on your needs
- Configure resource-specific parameters for optimal performance
- Set up environment variables and secrets for secure configuration
- Review and adjust resource dependencies before deployment
How to Launch an Environment in Facets?
- From the Projects menu, select your project and navigate to the Environment tab
- Click Launch on your chosen environment to start the Launch Wizard
- Configure your environment through the wizard's steps:
- Connect your cloud provider and select account
- Set up networking with VPC configuration
- Configure Kubernetes cluster settings
- Review and set secrets & variables, you can override/fullfill them based on your setup.
- Enable required resources
Interactive Demo of 'How to Launch an environment on Facets'
Your environment will begin provisioning once launched, and you can monitor its progress through the Control Plane.
Destroying Environments in Facets
When you destroy an environment in Facets, you remove all provisioned infrastructure while preserving the environment configuration in the Control Plane. This allows you to later relaunch the environment with the same configuration if needed.
What Happens During Destruction
When you destroy an environment:
- The Kubernetes cluster is terminated
- All dependent infrastructure resources are removed
- Environment configuration remains preserved in the Control Plane
- Environment state changes to STOPPED
- Billing for cloud resources stops
Environment States and Destruction
Environments can only be destroyed when they are in a stable state:
- Must be in RUNNING state for destruction
- Cannot destroy environments that are LAUNCHING
- Cannot destroy environments that are SCALED DOWN
The Control Plane will manage the orderly shutdown and removal of all provisioned resources.
How to Destroy an Environment
Destroying an environment removes all provisioned infrastructure while keeping the configuration in the Control Plane for future use.
- Open Projects tab and choose the Project that contains the environment
- Select the Environments tab and select the Environment you intend to destroy
- Click the Destroy button in the top right corner
- In the pop-up, enter 'Confirm' and click Confirm
Note: This action will delete the Kubernetes cluster and its dependent infrastructure resources.
Interactive Demo on 'How to Destroy an environment on Facets'
How to Delete an Environment
To permanently remove an environment from the Control Plane:
- Open Projects tab and choose the Project that contains the environment
- Select the Environments tab and select the Environment you intend to delete
- Select the Environment Settings tab and click on Danger Zone
- Click Delete Environment
- In the pop-up, enter 'Confirm' and click Confirm
Important: An environment can only be deleted after it has been destroyed.
Interactive Demo on 'How to Delete an environment on Facets'
Updated 4 days ago