.
├── db_scripts : stores sql scripts to create databases
├── docs : stores architecture diagram of the cluster
├── kubernetes-manifests : stores all the yaml files that define different components of the cluster
├── monitoring : stores scripts and codes required for the monitoring framework for the honeypot
├── release : stores the release version of the yaml files for the microservices. This version has the links to the pre-compiled images of the microservices to make deployment faster.
├── scripts : stores the different scripts used in deploying, installation and other automated actions.
└── src : stores the code for all the individual microsevices.
- create_productcatalog.sql : Script to create the database to store the product catalogs and insert in all the products in the database.
- create_user.sql : Script to create the users for the databases.
- create_userdb.sql : Script to create the database to store user information entered by the users when registering for the platform.
- create_volume_directories.sh : Creates the directories on the system to match to the persistent volumes for the databases and the pcap files.
- delete_cluster.sh : Delete the deployed cluster and all of its components.
- deploy_gke.sh : Script to deploy the cluster on the GKE platform.
- deploy_local.sh : Script to deploy the cluster locally using kind.
- install_reqs.sh : Script to install all the required dependencies in the system.
- retrieve_pcap_files.sh : Script to retrieve pcap files from the pod containers to the host system.
- ssh_node.sh : Script to SSH into the nodes in the GKE cluster by naming the cluster and the node number.
- start_k8_dashboard.sh : Script to start a k8s dasboard on a locally deployed cluster.
- tcpdump_script.sh : Script that is run on the sidecar container for all microservices to record the incoming and outgoing network traffic from the pods.
- Run the script to install all the dependencies.
./install_reqs.sh
- Run the script to deploy the honeypot locally. Run it from the home directory of the repository.
sudo ./scripts/deploy_local.sh
- Run the script to deploy on GKE and give the path to the home directory of the repository.
sudo ./scripts/deploy_gke.sh {HOME_DIR}
Send an email to [email protected] to get access to the data collected by our experiment.