Skip to main content
Resource viewer — Currently supports cost estimates with more features coming soon.

Overview

The fjall view command provides detailed insights into your infrastructure resources. Currently supports viewing cost estimates, with logs and other features planned.

Usage

fjall view [resource] [options]

Available Resources

View Cost Estimates

Display cost estimates for your applications:
fjall view cost
Interactive prompts:
? Select an application:
 app
    api-service
    web-frontend
Output example:
═══════════════════════════════════════
Cost Estimate Details for app
═══════════════════════════════════════

Estimated Monthly Cost

Total Estimated Cost: $89.43/month

Cost Breakdown by Service

Compute Resources

ECS Fargate Service
- Monthly: $72.93
- Yearly: $875.16

Storage Resources

Aurora Serverless v2 Database
- Monthly: $16.50
- Yearly: $198.00

═══════════════════════════════════════

Coming Soon

The following resources are planned:
? What would you like to view?
 Cost Estimates
    Logs (coming soon)

Options

OptionDescriptionExample
--app <name>Target application (non-interactive)--app app
-v, --verboseShow detailed informationfjall view cost -v

Non-Interactive Mode

Skip prompts by specifying the application:
fjall view cost --app app

How Cost Estimates Work

When you deploy an application, Fjall:
  1. Analyses resources - Identifies all AWS resources
  2. Calculates costs - Uses AWS pricing data
  3. Saves estimate - Stores in .fjall-cost-estimate.json
  4. Updates on changes - Recalculates when infrastructure changes
Cost estimates include:
  • Compute costs (ECS, Lambda, EC2)
  • Storage costs (RDS, Aurora, DynamoDB)
  • Network costs (Load balancers, data transfer)
  • Additional services

Understanding Cost Breakdowns

Service Categories

Compute Resources
  • ECS Fargate tasks
  • Lambda function invocations
  • EC2 instances
Storage Resources
  • Database instances
  • Storage volumes
  • Backup costs
Network Resources
  • Load balancers
  • Data transfer
  • VPC endpoints

Cost Factors

Estimates consider:
  • Instance types and sizes
  • Running hours per month
  • Storage capacity
  • Data transfer estimates
  • Regional pricing differences

Limitations

Current limitations:
  • Estimates only (not actual AWS bills)
  • Based on standard pricing (no discounts)
  • Assumes 24/7 operation for always-on resources
  • Data transfer costs are estimates
For actual costs, check AWS Cost Explorer.

Tips

  1. Regular checks - View costs before and after adding resources
  2. Compare options - Create different app types to compare costs
  3. Optimization - Use estimates to identify expensive resources
  4. Budgeting - Export estimates for budget planning

Troubleshooting

No Cost Estimate Found

If you see this error:
 No cost estimate found for app
💡 Deploy the application first with 'fjall deploy app'
Solution: Deploy your application to generate cost estimates

No Applications Found

 No applications found
💡 Create an application first with 'fjall create app'
Solution: Create an application before viewing costs

Future Features

Planned additions to the view command:
  • Logs - Real-time log streaming from CloudWatch
  • Metrics - Performance and utilisation metrics
  • Config - Detailed configuration viewing
  • Resources - List of all AWS resources
  • Status - Health checks and monitoring
Cost estimates are approximations based on resource specifications. Actual AWS charges may vary based on usage patterns, data transfer, and other factors.