Overview
The Decision Control Sandbox provides a rapid way to test and evaluate Decision Control in your AWS environment with auto-login enabled for ease of use.Before You Start
You’ll need:-
Your public IP address
Run:Note the result. You’ll use it asYOUR_IP/32(example:203.0.113.45/32) - AWS Account with an active AWS Marketplace subscription
- EC2 Key Pair in your target region (for SSH access)
- VPC with a public subnet (the subnet must have an internet gateway route)
Security Model
Decision Control Sandbox uses auto-login for fast evaluation. There is no login screen. Security is enforced at the network layer. The CloudFormation template creates a Security Group that restricts access to the IP range you specify. Only traffic from your allowed CIDR can reach the application. This means:- You must restrict access to your IP or corporate network
- You should not use
0.0.0.0/0(this would expose the application to the public internet with no authentication) exposing what your sandbox has published to it. Using AWS Security Groups allows the restriction of the instance to be tied to an individual or corporate network
Deployment Steps
Step 1: Subscribe on AWS Marketplace
- Go to AWS Marketplace
- Click Continue to Subscribe
- Accept terms and wait 1 to 2 minutes for processing
- Click Continue to Configuration
- Select your AWS region
- Click Continue to Launch
- Under “Choose Action”, select Launch CloudFormation
- Click Launch
Step 2: Configure CloudFormation Parameters
Stack name: Choose something descriptive (example:decision-control-sandbox)
Instance Configuration:
Network Configuration:
Domain Configuration:
Custom domain configuration is supported in the Sandbox edition, and can be used
Step 3: Launch the Stack
- Click Next (Stack options page, no changes needed)
- Click Next (Review page)
- Check the acknowledgment box for IAM resource creation
- Click Submit
Step 4: Wait for Completion
Monitor the Events tab. The stack typically completes in 3 to 5 minutes. When you see CREATE_COMPLETE, proceed to the next step.Step 5: Access the Application
- Click on your stack name
- Go to the Outputs tab
- Find the ApplicationUrl output
- Click the URL or copy it to your browser
- IP-Restricted (No Custom Domain):
http://ec2-XX-XX-XX-XX.compute-1.amazonaws.com(the public DNS address using HTTP) - Custom Domain (No SSL):
http://your-domain.example.com(HTTP protocol) - Custom Domain (With SSL):
https://your-domain.example.com(HTTPS protocol, after manual SSL setup)
Outputs Reference
After deployment, the Outputs tab provides:Retrieving Credentials
Credentials are generated during deployment and stored on the instance. You may need them for API access. Via SSH:Common Configurations
Single User (Recommended for POC)
Team Access (Corporate Network)
Adding Additional IPs After Deployment
If you need to grant access to additional users:Domain and SSL Options
Three Supported Options
Option 1: IP-Restricted HTTP (Default URL)
http://ec2-XX-XX-XX-XX.compute-1.amazonaws.com
(The public DNS address assigned to your EC2 instance, accessible via HTTP protocol)
Best For: Quick POCs, testing, demos via screen share
Option 2: IP-Restricted HTTP (Custom Domain)
http://demo.example.com
(Your custom domain, accessible via HTTP protocol)
Best For: Easier-to-remember URLs, still IP-restricted and secure
Option 3: IP-Restricted HTTPS (Two-Step SSL Setup)
This is the SAFE way to add SSL to your sandbox deployment. Step 1: Deploy with IP restriction + custom domain- Get your security group ID from CloudFormation Resources tab
-
Temporarily open port 80 for Let’s Encrypt validation (2-3 minutes):
-
Run SSL setup on the instance:
-
IMMEDIATELY close port 80 after SSL completes:
https://demo.example.com
(Your custom domain, accessible via HTTPS protocol with SSL certificate)
Why This IS Safe:
- You control exactly when port 80 is open (2-3 minutes)
- You’re watching it happen
- You close it immediately after SSL completes
- Minimal risk window
What’s NOT Supported
Automatic SSL during stack creation (AllowedCidr=0.0.0.0/0 in template) This is NOT safe because:- Port 80 would be open to the world during stack creation
- Application is accessible without authentication
- 5-10 minute window where anyone can access
- High security risk
Troubleshooting
Cannot connect to application
- Wait for startup: The application needs 2 to 3 minutes after stack creation
- Check your IP: Run
curl https://checkip.amazonaws.comand compare with your AllowedCidr - Verify subnet is public: The subnet must have a route to an internet gateway
IP address changed
If your IP changed, update the Security Group:Cannot SSH to instance
- Check key permissions:
chmod 400 ~/.ssh/your-key.pem - Verify AllowedCidr includes your IP (SSH uses port 22, which is also restricted)
- Alternative: Use AWS Systems Manager Session Manager instead
Application shows errors
Check application logs:Stack creation failed
Check the Events tab for the specific error. Common causes:- Subnet not public: Use a subnet with an internet gateway route
- Invalid CIDR format: Must include the prefix (example:
203.0.113.45/32, not just the IP) - Key pair not found: Create or select an existing EC2 key pair in your region
Cleanup
When you’re finished testing, delete the stack to stop charges. Via Console:- Go to CloudFormation
- Select your stack
- Click Delete
- Confirm
Authoring perspective.
Cost Reference
Sandbox billing is hourly. You pay only while the instance is running. To minimize cost: Delete the stack when not in use. Redeployment takes only 5 minutes. Just note that the models that are deployed will need to be redeployed since the persistence in Decision Control Sandbox is ephemeral.Quick Reference
Support
- Documentation: https://docs.aletyx.ai
- Support Email: aws-support@aletyx.ai
- Support Portal: https://my.aletyx.ai
Important: Security Model
The Sandbox Has NO Login Screen
Key Facts:- Auto-login enabled for fast POC/testing without password management
- NO authentication - No username/password required to access
- MUST be IP-restricted - Security enforced ONLY by AWS Security Group
- Cannot be exposed to public internet - Would allow anyone full access
How Security Works
Security is enforced at the AWS network layer (Security Group), NOT at the application layer.AllowedCidr: YOUR_IP/32:
- AWS Security Group blocks ALL traffic except from your IP
- Your IP is the ONLY one that can reach the application
- This is secure (equivalent to VPN access)
Quick Start (5 Minutes)
Prerequisites
- Your IP address: Run
curl https://checkip.amazonaws.com - AWS Account with marketplace subscription
- EC2 Key Pair for SSH access
- VPC with public subnet
Deploy Now
- Subscribe to product in AWS Marketplace
- Launch with CloudFormation
- Use these parameters:
- Wait 5 minutes for stack to complete
- Go to “Outputs” tab → Click “ApplicationUrl”
- Done!
Step-by-Step Deployment
Step 1: Get Your IP Address
From command line:YOUR_IP/32 (e.g., 203.0.113.45/32)
Step 2: Subscribe to AWS Marketplace
- Go to AWS Marketplace
- Search “Aletyx Decision Control Sandbox”
- Click “Continue to Subscribe”
- Accept terms (wait 1-2 minutes for processing)
- Click “Continue to Configuration”
- Select your region (e.g.,
us-east-1) - Click “Continue to Launch”
- Select “Launch CloudFormation”
- Click “Launch”
Step 3: CloudFormation Parameters
Stack Name:aletyx-sandbox-dev (or your preferred name)
Instance Configuration:
Step 4: Review and Launch
- Click “Next” (Configure stack options - no changes needed)
- Click “Next” (Review)
- Check “I acknowledge that AWS CloudFormation might create IAM resources”
- Click “Submit”
Step 5: Wait for Completion
Watch the Events tab:- You’ll see resources being created
- Wait for status: CREATE_COMPLETE (takes 3-5 minutes)
- Check “Events” tab for error message
- Common issues: Subnet not public, AllowedCidr format wrong
Step 6: Access the Application
Once status is CREATE_COMPLETE:- Click on your stack name
- Go to “Outputs” tab
- You’ll see these outputs:
- Click ApplicationUrl (or copy/paste into browser)
- IP-Restricted (No Custom Domain):
http://ec2-XX-XX-XX-XX.compute-1.amazonaws.com(public DNS address with HTTP) - Custom Domain (No SSL):
http://your-domain.example.com(HTTP protocol) - Custom Domain (With SSL):
https://your-domain.example.com(HTTPS protocol, after manual SSL setup)
- Wait 2-3 minutes after stack creation for application to start
- You’re in! No login needed - auto-login enabled
Getting Your Credentials
Even though there’s no login screen, credentials are generated and stored on the instance. You might need them for API access or other features.Method 1: SSH to Get Credentials
Method 2: Systems Manager (No SSH Key Needed)
Supported Deployments
Option 1: Personal IP-Restricted (RECOMMENDED)
- Personal POC/testing
- Development
- Customer demos (via screen share)
Option 2: Corporate Network
- Team testing
- Internal demos
- Multi-user POCs
10.0.0.0/8- Large networks172.16.0.0/12- Medium networks192.168.0.0/16- Small networks
NOT SUPPORTED Deployments
Public Access (Open to Internet)
- No login screen - anyone can access
- Full application access to public internet
- High security risk
- Data exposure
Custom Domain with SSL
- Let’s Encrypt requires port 80 open to world
- No login screen - application fully accessible during setup
- 3-5 minute window where anyone can access
- High security risk
Demo Scenarios
Scenario: Show to a Customer
Solution: Screen Share (BEST APPROACH)- Deploy IP-restricted (YOUR_IP/32)
- Access the application from your computer
- Share your screen during the demo (Zoom, Teams, etc.)
- Customer sees everything - full application functionality
- Zero security risk - application never exposed to public
Scenario: Customer Wants Hands-On Access
Option A: Customer’s IP or NetworkScenario: Need HTTPS URL
Answer: Sandbox doesn’t support SSL securely (no login screen). Better Approach:- Use IP-restricted HTTP (it’s secure when restricted!)
- Screen share for demos
- For production with SSL, use Production edition (has authentication)
Troubleshooting
Can’t Access Application
Symptom: Browser times out or “cannot connect” Solutions:- Wait 2-3 minutes after stack creation for app to start
-
Check your IP hasn’t changed:
-
Update Security Group if IP changed:
-
Check application status via SSH:
Can’t SSH to Instance
Symptom: “Permission denied” or “Connection timed out” Solutions:-
Fix key permissions:
-
Check AllowedCidr allows port 22:
- CloudFormation parameter
AllowedCidrmust include your IP - Security group allows SSH (port 22) from your CIDR
- CloudFormation parameter
-
Use Systems Manager instead (no key needed):
Application Shows Error Page
Symptom: Application loads but shows error Check logs via SSH:Stack Creation Failed
Check CloudFormation Events tab for error message. Common Issues:-
“Subnet not public”:
- Solution: Use a subnet with internet gateway route
- Or create new public subnet
-
“Invalid CIDR format”:
- Solution: Use format like
203.0.113.45/32(IP/32) - Not just IP without /32
- Solution: Use format like
-
“Key pair not found”:
- Solution: Create EC2 key pair first
- Or select existing key pair
Cleanup
Delete Your Deployment
When you’re done testing, delete the stack to stop charges.Via AWS Console
- Go to CloudFormation Console
- Select your stack
- Click “Delete”
- Confirm deletion
- Wait 3-5 minutes
Via AWS CLI
What Gets Deleted
- EC2 instance (stops hourly charges)
- Security group
- IAM role and instance profile
- All associated resources
What Doesn’t Get Deleted
- SSH key pair (reusable - keep it)
- VPC and subnets (shared resources)
- Your data (not backed up - save before deleting!)
Cost Information
Hourly Cost (us-east-1)
- t3.medium: ~30/month if left running)
- t3.large: ~60/month if left running)
Save Money
- Delete when not in use - Redeploy takes only 5 minutes
- Stop instance (keeps data, still charges for storage)
- Use t3.medium for light testing
Common Commands Reference
Check Application Status
View Logs
Restart Application
Get Credentials
Check Your Current IP
Summary
The Sandbox Is
- Fast to deploy (5 minutes)
- Easy to use (auto-login, no password management)
- Secure when IP-restricted
- Perfect for POCs, testing, demos
Remember
- MUST be IP-restricted - Use YOUR_IP/32 or corporate CIDR
- Do NOT use 0.0.0.0/0 - Not secure (no login screen)
- Do NOT configure SSL - Not supported securely
- Screen share for demos - Professional and secure
Quick Deploy Checklist
- Get IP:
curl https://checkip.amazonaws.com - Deploy CloudFormation with
AllowedCidr: YOUR_IP/32 - Wait 5 minutes
- Click ApplicationUrl in Outputs
- Done!
Need Help?
Logs:/var/log/aletyx-sandbox.log
Status: sudo systemctl status aletyx-sandbox
Restart: sudo systemctl restart aletyx-sandbox
Credentials: sudo cat /etc/aletyx/credentials
Ready to deploy? Try Decision Control on AWS