CS615 -- System Administration -- EBS BackupSummary:In this group project, we will work together to develop the ebs-backup tool as specified in this manual page. In the process, we will (hopefully) learn a few things about cloud storage, using the AWS API, writing modular system tools, using command pipelining, as well as cooperative software development practices. Distributed Collaborative Software DevelopmentWe will be using git to collaborate on the software project, but we will notably not use GitHub. Instead, we will use the git command-line tools and communicate via the class mailing list and Slack to emulate professional or open-source development flows. Our central, authoritative repository will be cs615asa.netmeister.org:~git/ebs-backup, and each student will have their own forked repository at cs615asa.netmeister.org:~<your-username>/ebs-backup, from which you can issue pull requests. For this, you will need to submit a public SSH key to me to have your account created and configured: Attach the file ~/.ssh/cs615.pub to an email to jschauma@stevens.edu.ssh-keygen -f ~/.ssh/cs615 -P '' Once your account has been provisioned, you can then follow the workflow below for your code work. Coding flowFirst, add an SSH configuration section to your ~/.ssh/config: cat >>~/.ssh/config <<EOF Host cs615asa HostName cs615asa.netmeister.org User $USER IdentityFile ~/.ssh/cs615 EOF The SSH host keys of the system are available here. You can append these directly to your ~/.ssh/known_hosts via They are, of course, also provided via DNSSEC signed SSHFP records, so you can also add VerifyHostKeyDNS yes to your ~/.ssh/config entry for this host.curl https://stevens.netmeister.org/615/cs615asa-known_hosts >> ~/.ssh/known_hosts Then, clone the authoritative upstream repository: git clone cs615asa:~git/ebs-backup Next, add your fork as a second remote repository: git remote add $USER cs615asa:ebs-backup Now you can work in this directory as usual. You can git commit your changes and git push $USER main Submitting a Pull-RequestWe will be using the Integration-Manager Workflow to collaborate. When you want to submit a pull request, you'd run these commands: and submit the resulting file /tmp/PR to the class mailing list for review.git request-pull -p HEAD $USER@cs615asa:~$USER/ebs-backup main > /tmp/PR git diff $USER/main origin/main >> /tmp/PR You may also choose to use other means to submit your pull request, such as git format-patch or git send-email (see the git docs here and here). A pull request needs to be reviewed and approved by at least one of your peers. You may add your review by replying to the email on the mailing list. Once approval has been given, I will merge the pull request into the authoritative repository. Work AreasThis project includes a number of work areas, to which each student can contribute to the best of their abilities, divided into the following directories:
Program behaviour and safe assumptionsThe program will not require any modification of the environment (i.e., you can assume the user has his/her environment set up for EC2), and exection of the program will be exactly as outlined in the manual page ebs-backup(1). Please read this manual page carefully. In addition to what the manual page notes, you may further assume the following:
Deliverables and Due DateThis is a group project and due at the end of the semester. Your participation throughout the semester will be used as a basis for your grade. On 2021-05-10, I will clone the repository; any commits pushed after that date will not be considered. Aspects important for a successful project grade:
[Course Website] |