Moving Data from Pi to Chameleon Node
The steps for the student in order to sync the data from the pi to the remote cloud instance.
Note: If the teacher does not want the students to touch anything related to edge-cloud computing, then this step can be done by the TA.
If you have a lot of data, it may be time-efficient to compress the data into a zip file before syncing it.
cd ~/car/data
zip -r data.zip ~/car/data
Then sync them from the pi to the Chameleon Node:
rsync -r ~/car/data/data.zip cc@<Chameleon_Node_Floating_IP_Address>:~/mycar/data
Note: may need to add key before syncing
ssh-add <file path/name of private key>
Wait for the rsync command to finish (could take a few minutes), then, on the Chameleon node, unzip the data:
unzip data.zip -d ~/mycar/data
Note: if the files are not found, it could be due to a wrong saving location and this requires the individual to find their zip file by browsing with UNIX Commands.
Last updated