The recommended way to start the VisualWebArena environment is using a pre-installed Amazon Machine Image (AMI).
- Launch EC2 Instance: Use AMI ID
ami-080f6d73cfce497a1 in region us-east-2. Recommended instance type is t3a.xlarge with a 1000GB EBS root volume. - Networking: Create a security group allowing all inbound traffic and associate an Elastic IP to get a static hostname (
<your-server-hostname>). - Start Docker Services: Log into the instance and run:
docker start shopping
docker start forum
docker start kiwix33
cd classifieds_docker_compose
# Edit classifieds_docker_compose/docker-compose.yml to set CLASSIFIEDS to http://<your-server-hostname>:9980/
docker compose up --build -d
- Initialize Data: Wait ~1 minute for services to start, then run:
docker exec classifieds_db mysql -u root -ppassword osclass -e 'source docker-entrypoint-initdb.d/osclass_craigslist.sql'
docker exec shopping /var/www/magento2/bin/magento setup:store-config:set --base-url="http://<your-server-hostname>:7770"
docker exec shopping mysql -u magentouser -pMyPassword magentodb -e 'UPDATE core_config_data SET value="http://<your-server-hostname>:7770/" WHERE path = "web/secure/base_url";'
docker exec shopping /var/www/magento2/bin/magento cache:flush
### For VWA:
docker start shopping
docker start forum
docker start kiwix33
cd classifieds_docker_compose
vi classifieds_docker_compose/docker-compose.yml # Set CLASSIFIEDS to your site url `http://<your-server-hostname>:9980/`, and change the reset token if required
docker compose up --build -d