You: "Deploy the latest commit of my-api to staging"Copilot:1. Finds my-api application2. Gets latest commit from main branch3. Deploys to staging environment4. Monitors deployment progress5. Reports success
You: "Create a new environment called feature-auth for testing"Copilot:1. Creates new environment2. Configures default settings3. Confirms creation4. Provides environment details
You: "Clone production to staging-test"Copilot:1. Reads production configuration2. Creates staging-test environment3. Clones all services4. Adjusts resource allocations5. Confirms setup complete
You: "Delete all environments starting with feature- that are older than 7 days"Copilot:1. Lists matching environments2. Checks last activity dates3. Identifies candidates for deletion4. Asks for confirmation5. Deletes approved environments
You: "Deploy version 2.1.0 of the backend to production"Copilot:1. Finds backend application2. Locates version 2.1.0 tag3. Deploys to production4. Waits for health checks5. Confirms successful deployment
You: "Deploy both API and frontend to staging"Copilot:1. Identifies both services2. Deploys API first3. Waits for API to be healthy4. Deploys frontend5. Verifies both services running
You: "Rollback the API to the previous version"Copilot:1. Identifies last working version2. Initiates rollback deployment3. Monitors rollback progress4. Confirms previous version restored
You: "Scale the API service to 5 replicas"Copilot:1. Updates replica count2. Triggers redeployment3. Waits for all replicas to be ready4. Confirms scaling complete
You: "Update the DATABASE_URL environment variable for my-api"Copilot:1. Prompts for new value2. Updates environment variable3. Asks if you want to redeploy4. Redeployments if confirmed
You: "Show me logs for the API from the last 30 minutes"Copilot:1. Retrieves logs from last 30 minutes2. Displays formatted log entries3. Highlights errors if present
You: "Show me CPU and memory usage for production services"Copilot:1. Queries metrics for all production services2. Displays current resource usage3. Highlights services near limits
You: "Show me costs for the last month"Copilot:1. Retrieves usage data2. Calculates costs per environment3. Displays breakdown by service type4. Shows trends
You: "Stop all development environments overnight"Copilot:1. Identifies development environments2. Schedules stop at end of day3. Schedules start in morning4. Confirms automation setup