Testing with Tensor9 involves validating releases in test appliances before deploying to customer appliances. Test appliances are isolated environments that mirror customer deployment targets, allowing you to verify functionality, performance, and compatibility without affecting production customers.
A test appliance is an automatically managed environment that Tensor9 provisions for testing purposes. Test appliances:
Run in vendor-controlled infrastructure (your cloud account)
Mirror the form factor and configuration of customer appliances
Allow you to validate releases before production deployments
Can be created and retired on demand
Support the full deployment lifecycle (compile, deploy, observe, operate)
Test appliances function identically to customer appliances but are designed for pre-production validation. This ensures what you test matches what customers will experience.
This creates a test appliance named after your form factor and region. Tensor9 automatically provisions the infrastructure and the appliance becomes available within 10-15 minutes.
Example: Create test appliances for multiple form factors
To test across different cloud providers, create multiple test appliances:
Copy
Ask AI
# Test appliance for AWStensor9 test appliance create \ -appName my-app \ -formFactorName aws-connected \ -region aws:us-west-2# Test appliance for Google Cloudtensor9 test appliance create \ -appName my-app \ -formFactorName gcp-connected \ -region gcp:us-central1# Test appliance for Azuretensor9 test appliance create \ -appName my-app \ -formFactorName azure-connected \ -region azure:eastus
Each test appliance operates independently, allowing you to validate your application across all supported environments.
Tensor9 compiles your origin stack for the test appliance and downloads the deployment stack into a directory named after your test appliance.
4
Deploy to test appliance
Deploy the compiled stack using standard tooling:
Copy
Ask AI
cd test-aws-us-west-2tofu inittofu apply
The deployment executes in your test appliance.
5
Validate the release
Test your application in the test appliance:
Copy
Ask AI
# Check outputs from deploymenttofu output# Test API endpointscurl https://api.test-aws-us-west-2.my-app.acme.com/health# Run integration tests./scripts/integration-test.sh https://api.test-aws-us-west-2.my-app.acme.com# Verify observability# Check logs, metrics, and traces in your observability sink
Validate functionality, performance, and observability before proceeding.
6
Deploy to customer appliances
Once validated, deploy the same release to customer appliances:
Maintain long-running test appliances for each form factor you support rather than creating them on demand. This speeds up testing and provides consistent validation environments.
Test before every customer deployment
Always validate releases in test appliances before deploying to customer appliances. This catches issues early and reduces customer-facing incidents.
Integrate test appliances into your CD pipeline
Integrate test appliances into CI/CD pipelines. Automatically deploy to test appliances and run validation tests on every commit or pull request. Regularly deploy to test appliances to keep them in sync with your latest changes - stale test appliances may not accurately reflect production behavior.
Test all form factors
If you support multiple cloud providers, test in all of them. Service equivalents may behave differently across providers, and testing catches these differences.
Monitor test appliances
Use the same observability setup for test appliances as you do for customer appliances. This validates that telemetry flows correctly and your monitoring works.
Retire unused test appliances
Retire test appliances you no longer need to reduce costs and clutter in your reports.