Sorry-cypress installation instructions for AWS
It takes just 5 minutes to deploy full sorry-cypress kit on AWS using AWS Cloud Formation template.
- 1.Click the link, follow on-screen instructions
- 2.Wait for deployment to complete
- 3.Go to "Output" section of Cloud Formation task to see access URLs
- 4.Reconfigure cypress to use
DirectorURLfrom the previous step.
- 5.That's it!
Deploying sorry-cypress to AWS
Alternatively, use the commands below
aws cloudformation create-stack --template-url https://s3.amazonaws.com/agoldis.dev/sorry-cypress/sorry-cypress-stack.yml --capabilities CAPABILITY_IAM --stack-name sorry-cypress-2
The Cloud Formation stack uses AWS Elastic Container Service (ECS) to run sorry-cypress services. The configuration includes networks and Load Balancer for secure and convenient access.
The artifacts created by the stack are:
- Dashboard URL - web dashboard access URL
- API URL - GraphQL API access URL
- S3 Bucket - for storing tests video recordings and screenshots
- Cloudwatch log groups for debugging and troubleshooting
StackName (default: "sorry-cypress")
Defines the stack name, also serves a prefix name for all the entities created by the stack. Please keep it short and no special characters as AWS limits service names.
TaskCpu (default: 1024)
The amount of CPU units dedicated to running the services. Sorry-cypress uses AWS Fargate as compute platform, and runs all the services as a single task, i.e. those CPU units are shared among all the services. Read more about at AWS Documentation
TaskMemory (default: 2048)
DirectorPort (default: 8080)
The stack creates AWS Application Load Balancer to provide access to the underlying services. By default, AWS LB URL points to the web dashboard (on port
80). The director service is available via the same URL but different port.
For example, if the access URL created by the stack is
directorservice will be available at
You're only paying for AWS resources. Here's a rough estimator of price / month for using the resources used . The actual usage might be higher (or lower) based on actual usage