Testing the kill-switch¶
Testing the Kill Switch and Re-enabling Billing¶
This guide explains how to test the kill switch functionality in Flame Shield, which simulates a billing limit being reached, and how to subsequently re-enable the billing connection to restore services.
Testing the Kill Switch¶
- Navigate to Service Running Card:
- Ensure you are on the main Dashboard for your project.
- Locate the Service running card. Initially, it should indicate that the Kill-switch is NOT active.
- Initiate Kill Switch Test:
- Click the Test kill-switch button within the Service running card.

- Confirm Test Action:
- A confirmation pop-up window will appear with the message: "Are you sure you want to test the kill switch? This will stop your project from working on any services except free tiers until you re-connect."
- Click OK to proceed with the test.
- Monitor Kill Switch Activation:
- The Service running card will momentarily display Loading Kill Switch.
- After a short period, the card will update to show a KILLED status with a red 'X' icon, indicating Emergency shutdown activated. The timestamp of the shutdown will be displayed.
- The buttons on the card will change; the
Test kill-switch
button may become inactive, and a red Re-connect button will appear.
Re-enabling Billing Account¶

- Billing Account Detached Alert:
- Immediately after the kill switch activates, you will likely be redirected to a full-screen CRITICAL ALERT.
- This alert displays the message Billing Account Detached, explaining that the project has been automatically suspended, services are inactive (except potentially free tiers), and billing needs to be restored.
- Initiate Re-connection:
- Click the red Re-enable Billing Account button at the bottom of the alert screen.
- Monitor Re-connection Progress:
- The button text will change to Reconnecting... and display a loading spinner.
- Return to Dashboard:
- Once the billing account is successfully re-enabled, the alert screen will disappear, and you will be returned to the project Dashboard.
- The dashboard cards (Current Spend, Operational, Service running, Setup Notifications) will briefly show loading indicators as the system refreshes the connection and status.
- Confirm Restoration:
- The dashboard will reload, showing the previous state:
- Billing Protection card displays the previously set limit.
- Service running card shows Kill-switch is NOT active again.
- Operational card shows All checks successful.
- (Optional: The video shows the user clicking Re-scan on the Operational card again, which briefly shows "Checking Connection" before returning to "All checks successful", confirming the connection is fully restored.)
This process simulates the automatic shutdown triggered by reaching a billing limit and demonstrates the steps required to bring the project back online by re-enabling the billing connection through Flame Shield.