Verification & Testing
Congratulations on deploying Ohlala SmartOps! Let’s verify everything is working and explore the capabilities.
β Deployment Checklist
Before testing commands, verify each component:
AWS Infrastructure
- CloudFormation stack shows CREATE_COMPLETE
- ECS service has 1 running task
- API Gateway endpoint responds to health check
- CloudWatch logs are being created
- Secrets Manager contains credentials
Azure & Teams
- Azure Bot shows Teams channel as Running
- Webhook URL is configured correctly
- Teams app is installed
- Bot appears in Teams chat/channel
Bedrock
- Claude Sonnet 4 shows Access granted
- Model is available in deployment region
π― Your First Commands
1. Test Connection
@Ohlala SmartOps hello
Expected Response: Friendly greeting confirming the bot is working
2. Get Help
@Ohlala SmartOps help
Expected Response: Interactive card with available commands and examples
3. Check Instance Status
@Ohlala SmartOps show me my EC2 instances
Expected Response: List of your EC2 instances with status information
4. Health Report
@Ohlala SmartOps /health
Expected Response: Detailed health metrics for your instances
5. Natural Language Query
@Ohlala SmartOps which instances are running in us-east-1?
Expected Response: Filtered list based on your query
π Advanced Testing
Test SSM Integration
@Ohlala SmartOps check disk space on i-1234567890abcdef0
- Verifies SSM command execution
- Returns disk usage information
Test Cost Analysis
@Ohlala SmartOps analyze my EC2 costs
- Checks CloudWatch metrics access
- Provides cost optimization suggestions
Test Multi-Instance Commands
@Ohlala SmartOps show me all stopped instances
- Tests filtering and analysis capabilities
- Demonstrates natural language understanding
π Monitoring Your Deployment
CloudWatch Metrics
Monitor key metrics in CloudWatch:
ECS Service
- CPU utilization (should be <50%)
- Memory utilization (should be <70%)
- Task count (should be 1)
API Gateway
- Request count
- 4XX/5XX errors (should be minimal)
- Latency (should be <3 seconds)
Bedrock Usage
- Token consumption
- API throttling events
- Model invocation errors
π¨ Common Issues & Solutions
Issue: Bot Not Responding
Quick Diagnosis:
# Check health endpoint
curl https://your-api.execute-api.region.amazonaws.com/prod-stackname/health
Solutions:
- Check ECS task is running
- Verify webhook URL in Azure
- Ensure Teams app is installed
- Review CloudWatch logs
Issue: “Model Access Required” Error
Symptom: Bot responds but shows Bedrock error
Solution:
- Go to Bedrock Console β Model access
- Enable Claude Sonnet 4
- Wait for “Access granted”
- Retry command (no restart needed)
Issue: No Instances Found
Symptom: Bot works but doesn’t see EC2 instances
Checks:
- Instances are in same region as deployment
- Instances have SSM agent installed
- IAM permissions are correct
- Try:
@Ohlala SmartOps list all instances in all regions
Issue: Commands Timeout
Symptom: Bot shows “thinking” but never responds
Solutions:
- Check ECS task memory/CPU
- Look for Bedrock throttling
- Verify network connectivity
- Scale ECS service if needed
Issue: Authentication Failures
Symptom: 401/403 errors in logs
Solutions:
- Regenerate Azure Bot credentials
- Update Secrets Manager
- Restart ECS service
- Check tenant ID is correct
Best Practices
- Start simple: Use basic commands first
- Be specific: Include instance IDs for targeted actions
- Use natural language: The bot understands context
- Review suggestions: Always verify before applying changes
π Success Indicators
Your deployment is successful when:
- β Bot responds within 2-3 seconds
- β All test commands work
- β No errors in CloudWatch logs
- β Costs align with expectations
- β Team members can use the bot
π Next Steps
Now that your bot is working:
Explore Features
- Try advanced commands
- Experiment with natural language queries
- Review health and cost reports
Train Your Team
- Share the bot with team members
- Create usage guidelines
- Document common workflows
π Getting Help
If you encounter issues:
Check Documentation
Contact Support
- Email: support@ohlala.cloud
- Include: Stack name, region, error messages
Community Resources
- Email: support@ohlala.cloud
- AWS Forums
- Teams Community
π Congratulations!
You’ve successfully deployed Ohlala SmartOps! Your AI-powered infrastructure assistant is ready to help manage your AWS environment through natural language conversations in Microsoft Teams.
Happy automating! π€