start
This guide shows you how to start a stopped Datafye Trading Environment in AWS.
Prerequisites
Before you begin, ensure:
You have previously provisioned an AWS Trading Environment (see Provision an AWS Trading Environment)
The deployment is currently stopped
AWS credentials are configured (see AWS Setup)
Start Command
Use the following command to start your AWS Trading Environment:
datafye trading aws start --name <deployment-name> --profile <aws-profile>Parameters
Required Parameters
--name <name>
Name of the deployment to start
--profile <profile>
AWS CLI profile to use
Example
Start a Trading Environment named my-paper-trading:
Start Process
When you start the deployment, the CLI will:
Verify credentials - Check AWS authentication
Locate deployment - Find the deployment by name
Start EC2 instances - Power on all stopped virtual machines
Wait for boot - Monitor instance startup
Start services - Bring up all Datafye services
Reconnect to broker - Re-establish broker connections
Run health checks - Verify all services are healthy
Display endpoints - Show deployment URLs
After Starting
Once the start process completes, you'll see:
Deployment status confirmation
API base URLs for accessing Datafye services
WebSocket endpoints for real-time data and execution updates
Broker Connector endpoints
MCP server endpoint (Full Stack only)
Your deployment will be accessible via the URLs provided.
Validate Connectivity
Test your deployment with:
Your AWS Trading Environment is now running!
Troubleshooting
AWS Credential Errors
If you see authentication errors:
Verify your AWS profile:
aws sts get-caller-identity --profile datafyeEnsure credentials have necessary permissions
Check you're using the correct profile name
Deployment Not Found
If you see an error that the deployment doesn't exist:
Verify the deployment name:
datafye trading aws list --profile datafyeEnsure you're using the correct AWS profile
Check the deployment wasn't deprovisioned
Instance Start Failures
If EC2 instances fail to start:
Check AWS service status in the region
Verify instance states in EC2 console
Ensure AWS account has no billing issues
Contact Datafye support if issues persist
Broker Connection Issues
If broker connections fail on start:
Verify broker credentials haven't expired or been revoked
Check broker service status
Ensure environment variables with credentials are still set
Review Broker Connector logs for specific errors
Verify broker account is still active
Service Health Check Failures
If services fail health checks after starting:
Wait a few more minutes for full initialization
Check instance system logs in EC2 console
Verify security group rules allow traffic
Contact Datafye support if services don't become healthy
Related Commands
Provision an AWS Trading Environment - Create a new deployment
Stop an AWS Trading Environment - Stop the running deployment
Deprovision an AWS Trading Environment - Remove the deployment
Last updated: 2025-10-22
Last updated

