sorry-cypress
  • Documentation
  • Guide
    • Get Started
    • Dashboard and API
    • Cloud Setup
  • Cloud
    • AWS
      • Basic AWS Setup
      • Advanced AWS Setup
      • AWS Networking
      • AWS S3 Manual Setup
    • Google Cloud
      • Google Cloud & MinIO - Deprecated
    • Microsoft Azure
    • Heroku
    • Kubernetes
    • Docker Images
  • Integrating Cypress
    • Integration options
    • cy2 - Deprecated
    • Agent Configuration - Deprecated
    • CLI One Liners - Deprecated
  • Configuration
    • Basic Setup
    • Full Setup
    • Director Service
      • AWS Role Assumption via Service Account
      • AWS S3 Configuration
      • Minio Configuration
      • Azure Blob Storage Configuration
    • API Service
    • Web Dashboard
      • Configuration
    • MongoDB Configuration
    • Troubleshooting
  • Integrations
    • Events
    • Webhooks
    • Slack Integration
    • GitHub Integration
    • BitBucket Integration
    • MS Teams Integration
  • Concepts
    • Parallelization Explained
    • Flaky Tests
    • Test Details
    • Test Status
  • CI
    • GitHub Actions
    • Travis
    • Jenkins
    • AWS Codebuild
  • Development
    • Changelog
    • Development Guide
  • Community Content
  • ❤️ Contributions
  • Support
  • Legal
  • FAQ
Powered by GitBook
On this page
  • Cloud Formation Stack
  • Stack Overview
  • Template Configuration
  • AWS Pricing
Edit on GitHub
  1. Cloud
  2. AWS

Basic AWS Setup

Basic Setup of Sorry Cypress on AWS

PreviousAWSNextAdvanced AWS Setup

Last updated 1 year ago

The basic installation is designed to be plug-n-play - it creates the bare minimum of resources to run Sorry Cypress on AWS.

If you are looking for a more comprehensive deployment please process to Advanced AWS Setup

Cloud Formation Stack

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 deloyment to complete

  3. Go to "Output" section of Cloud Formation task to see access URLs

  4. Reconfigure cypress to use DirectorURL from the previous step.

  5. That's it!

Alternatively, use the commands below

aws cloudformation create-stack --template-url https://s3.amazonaws.com/sorry-cypress.dev/cf/sorry-cypress.yml --capabilities CAPABILITY_IAM --stack-name sorry-cypress-2

Stack Overview

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

Template Configuration

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)

TaskMemory (default: 2048)

DirectorPort (default: 8080)

For example, if the access URL created by the stack is http://sorry-cypress-1502240720.us-east-1.elb.amazonaws.com, and DirectorPort=8080 then director service will be available at http://sorry-cypress-1502240720.us-east-1.elb.amazonaws.com:8080

AWS Pricing

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

  • S3 + Cloudwatch = varies based on usage

Director URL - this is what you provide when

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

The amount of memory units dedicated to running the services. This resource is also shared between the services and defined at task-level. Read more at ``

The port number for accessing the director service. You'll need to use it as a destination when .

The stack creates 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.

Fargate pricing based on 35.546 USD (1 vCPU, 2GB RAM) or 17.773 USD (0.5 vCPU, 1GB RAM)

EC2 Application Load Balancer based on 19.35 USD (0.5 GB / hour, 0.5 connections / second)

Too expensive? Try .

configure cypress agent to use the alternative dashboard.
AWS Documentation
AWS Documentation
configuring cypress agents
AWS Application Load Balancer
calculator
calculator
free Heroku setup
Deploying sorry-cypress to AWS