Enables Copilot to SSH into the Fizz EC2 instance and manage Docker containers for the fyzz.dev production app.
This skill enables you to manage the Fizz lead generation application running on AWS EC2.
Fizz is a Next.js application deployed on EC2 with the following components:
fizz-worker-discovery: Lead discoveryfizz-worker-screenshots: Website screenshotsfizz-worker-lighthouse: Performance analysisfizz-worker-vision: AI vision analysisfizz-worker-sections: Section extractionfizz-worker-email: Email generationfizz-worker-followup: Follow-up email handlingFirst, import the module:
Import-Module .\FizzAws.psm1
Connect to the server:
Connect-FizzServer
View container status:
Get-FizzContainers
Get-FizzHealth
View logs:
Get-FizzLogs -Container app -Tail 100
Get-FizzLogs -Container worker-discovery -Follow
Watch-FizzLogs # All containers
Debug errors:
Get-FizzErrors
Get-FizzStats
Restart containers:
Restart-FizzContainer -Container app
Invoke-FizzCompose -Action restart
Enter container shell:
Enter-FizzContainer -Container app
Enter-FizzContainer -Container postgres -Shell /bin/bash
Run commands in containers:
Invoke-FizzDocker -Container app -Command "npx prisma studio"
Invoke-FizzDocker -Container postgres -Command "psql -U fizz -d fizz"
When investigating production issues:
Get-FizzHealthGet-FizzErrorsGet-FizzLogs -Container <name>Test-FizzDatabaseGet-FizzStatsThe app uses these key environment variables:
DATABASE_URL: PostgreSQL connection stringREDIS_URL: Redis connection stringANTHROPIC_API_KEY: For AI featuresSERPAPI_API_KEY: For search functionalityPAGESPEED_API_KEY: For Lighthouse analysisAUTH_SECRET: Authentication secretSMARTLEAD_API_KEY: For email campaigns