This guide is specifically for Enterprise Plan
customers who have access to the shared TestDriver AMI.
If you are on a different plan, please contact your account manager for more
information.
1
Send Us Your AWS Account ID
To begin, send your 12-digit AWS account ID to your TestDriver account manager. We’ll share the AMI directly with your AWS account using Amazon’s explicit AMI sharing process.
2
Wait for Confirmation
Your account manager will notify you when the AMI has been shared with your
account. You will receive the AMI ID (e.g.,
ami-0abcd1234efgh5678
) and your RDP Username + Password.3
Launch and Connect with RDP
Once you have the AMI ID & RDP credentials from the previous step, launch an EC2 instance and connect via RDP:
- Ensure your security group allows RDP (TCP port 3389).
- In the EC2 Console, select your instance → Connect > RDP Client.
- Download the
.rdp
file and launch it with the Windows App
Alternatively, copy the public IP and paste it into your RDP client. - Login using your RDP Username + Password (e.g.
testdriver
+•••••••••
) provided by your account manager.
You will access a full Windows desktop where TestDriver is pre-installed and ready for customization.
4
Change the Windows password
Inside the Windows desktop environment:
- Open up Powershell
- Run
C:\testdriver\RotateLocalPasswords.ps1
- Copy the password presented in the output to a safe place. This is the only chance to copy the password.
- Restart the instance and double check you can log in before continuing.
5
Customize the Instance
Inside the Windows desktop environment:
- Download and install your application using a browser, Git, PowerShell, or other tools.
- Add any required system configuration, environment variables, or startup scripts.
- Verify the full setup works correctly in the sandbox.
- Pull from GitHub or your artifact store
- Configure your app with test credentials or environment variables
- Enable logging or install monitoring tools
6
Create Your Custom AMI
Once your customizations are complete, create an AMI from your instance:
- In the EC2 Console, select your customized instance.
- Go to Actions → Image and templates → Create image.
- Provide a descriptive Image name and Description.
- Click Create image to start the AMI creation process.
- Wait for the AMI status to change from “pending” to “available”.
The AMI creation process may take several minutes depending on the instance size and customizations.
7
Share Your AMI and Use with TestDriver CLI
After creating your custom AMI:This instructs the CLI to launch a sandbox using your customized AMI, enabling test execution in your environment.
- Share the AMI ID with your TestDriver account manager so we can launch it in our infrastructure. Follow Amazon’s explicit AMI sharing process if needed.
- Once confirmed, you can reference the AMI directly from your machine using the TestDriver CLI:
🔐 Best Practices & Security
- Always use strong RDP passwords and keep your key pairs secure.
- Apply Windows Updates to stay current with patches.
- Use IAM roles with least privilege to access other AWS resources.
- Consider encrypting your volumes and AMI if handling sensitive data.
🤝 Need Help?
Your TestDriver account manager is available to support you with:- AMI access and customization
- CLI configuration
- Troubleshooting sandbox execution