Clean Up Environment
Stopping the Cluster
To stop the cluster, you can use the standard Docker commands to stop the running containers.
To Stop WeScale
docker stop wescale
To Remove WeScale
docker rm wescale
To Stop WeSQL-Server
docker stop wesql-server-0
docker stop wesql-server-1
docker stop wesql-server-2
To Remove WeSQL-Server
docker rm wesql-server-0
docker rm wesql-server-1
docker rm wesql-server-2
To Remove the Local Directory
rm -rf ~/wesql-local-dir-0
rm -rf ~/wesql-local-dir-1
rm -rf ~/wesql-local-dir-2
To Remove the S3 Bucket
aws s3 rb s3://wesql-storage --force
note
Keep the S3 bucket and empty its contents:
aws s3 rm s3://wesql-storage --recursive