https://github.com/mendhak/selenium-grid-ecs
Selenium Grid in ECS using Fargate Spot Containers
https://github.com/mendhak/selenium-grid-ecs
Last synced: 6 months ago
JSON representation
Selenium Grid in ECS using Fargate Spot Containers
- Host: GitHub
- URL: https://github.com/mendhak/selenium-grid-ecs
- Owner: mendhak
- Created: 2020-02-21T18:39:28.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-01T21:53:12.000Z (almost 3 years ago)
- Last Synced: 2025-02-12T06:38:45.364Z (11 months ago)
- Language: HCL
- Homepage: https://code.mendhak.com/selenium-grid-ecs/
- Size: 16.6 KB
- Stars: 14
- Watchers: 2
- Forks: 18
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Selenium Grid in ECS using Fargate Spot Containers
Replace the variables at the top of main.tf: the VPC ID, private subnets and public subnets.
Then run `terraform apply`
Wait a few minutes, then look at the ECS cluster page in AWS Console. Ensure everything is running. You can view browser logs in Cloudwatch.
## Run a test
Grab the `output` laod balancer DNS address. Then run a test
```bash
npm install smashtest
npx smashtest --test-server=http://your-load-balancer-12345.eu-west-1.elb.amazonaws.com/wd/hub --max-parallel=7
```
## Destroy
Run `terraform destroy` to tear down the infrastructure created here.
## Details
More info available in the [writeup](https://code.mendhak.com/selenium-grid-ecs/)