Skip to main content
15 min Common issues and solutions for AWS Marketplace deployments of Aletyx Decision Control.

CloudFormation Stack Issues

Stack Creation Failed

Check the Events Tab:
  1. Go to CloudFormation console
  2. Select your stack
  3. Click Events tab
  4. Look for resources with CREATE_FAILED status
  5. Read the “Status reason” column for error details

Common CloudFormation Errors

”The subnet ID ‘subnet-xxx’ does not exist”

Cause: Selected subnet is in wrong region or doesn’t exist Fix: Verify you selected a subnet in the same region as your stack

”Subnets specified should be in distinct availability zones”

Cause: Both subnets are in the same Availability Zone (Production only) Fix: Select Subnet2 from a different AZ than Subnet1

”Cannot find version 14.9 for postgres”

Cause: Invalid PostgreSQL version Fix: Template should use PostgreSQL 15.x (verify template is latest version)

“The volume ‘vol-xxx’ is not in the same availability zone”

Cause: EBS volume and instance in different AZs Fix: This is a template bug - update to latest template version

Application Not Accessible

Symptom: Cannot reach http://ec2-xxx.compute-1.amazonaws.com/

Diagnosis Steps

1. Verify instance is running:
2. Check security group allows your IP:
3. Test port connectivity:
4. Check application logs (via SSH or SSM):
5. Check application is running:

Solution: Application Still Starting

Symptom: Connection refused immediately after stack creation Cause: Application takes 2-3 minutes to start Fix: Wait and retry

Solution: Security Group Blocking

Symptom: Connection times out Cause: Security group doesn’t allow your IP Fix: Update security group or stack parameter

HTTPS/SSL Issues

Symptom: HTTPS not working, certificate errors

DNS Not Resolving

Symptom: DNS problem: NXDOMAIN looking up A for my-app.example.com Diagnosis:
Causes & Fixes:
  1. Route 53 hosted zone doesn’t exist:
  1. DNS record not created:
  1. DNS propagation delay (wait up to 5 minutes):

Let’s Encrypt Validation Failed

Symptom: Failed to verify challenge or The client lacks sufficient authorization Diagnosis:
Causes & Fixes:
  1. Port 80 not accessible from 0.0.0.0/0:
  1. nginx not configured properly:
  1. Application blocking ACME challenge:

Certificate Expired

Symptom: SSL certificate problem: certificate has expired Diagnosis:
Causes & Fixes:
  1. Auto-renewal failed:
  1. Port 80 blocked during renewal:
  2. Ensure security group allows HTTP from 0.0.0.0/0
  3. Force manual renewal:

nginx Not Starting

Symptom: nginx: [emerg] cannot load certificate Diagnosis:
Fixes:

Database Connection Issues (Production)

Symptom: Application cannot connect to RDS

RDS Instance Not Available

Diagnosis:
If status is “creating”: Wait 8-10 minutes for RDS to finish provisioning

Security Group Blocking EC2→RDS

Diagnosis:
Expected: Should allow port 5432 from EC2 security group Fix (if missing):

Test Database Connectivity

From EC2 instance:

Wrong Database Credentials

Diagnosis:
Fix: Update credentials to match RDS parameters

Performance Issues

High CPU Usage

Diagnosis:
Solutions:
  1. Upgrade instance type:
  2. Sandbox: t3.medium → t3.large
  3. Production: m5.xlarge → m5.2xlarge
  4. Check for runaway processes:
  1. Review application logs for errors:

High Database Connections (Production)

Diagnosis:
Solutions:
  1. Increase max_connections:
  1. Check for connection leaks:
  1. Upgrade RDS instance class:
  2. db.t3.medium → db.m5.large

Slow Application Response

Diagnosis:
Solutions:
  1. Check application logs for slow queries
  2. Increase instance size (more vCPU, RAM)
  3. Upgrade to c5 series (compute-optimized)
  4. Enable RDS read replicas (production high traffic)

Access and Permission Issues

SSM Session Manager Not Working

Symptom: TargetNotConnected error when starting session Diagnosis:
Causes & Fixes:
  1. Instance doesn’t have internet access:
  2. Needs NAT Gateway or IGW for SSM
  3. Or use VPC endpoints for SSM
  4. IAM role not attached:
  1. SSM agent not running:

SSH Connection Refused

Symptom: Connection refused when trying to SSH Diagnosis:
  1. Check security group allows port 22 from your IP
  2. Verify you have the correct private key
  3. Check instance is running
Solutions:

Billing and Cost Issues

Unexpected Charges

Diagnosis:
Common Causes:
  1. Forgot to stop/delete instances
  2. EBS volumes not deleted with instances
  3. RDS backups accumulating
  4. Elastic IP charges (when not attached)
Solutions:

Getting Help

Collect Diagnostic Information

Before contacting support, gather this information:

Support Channels

For AWS Marketplace Issues:
  • Email: aws-support@aletyx.com
  • Subject: Include “AWS Marketplace” and your stack name
  • Include: All diagnostic information above
For AWS Infrastructure Issues: Documentation:

Next Steps