Add the following required components to your project by editing the customize(name) function inside commands/up.js. You will want to take advantage of the VBoxManage.execute wrapper to execute VirtualBox commands.
- Add a NIC with NAT networking.
- Add a port forward from 2800 => 22 for guestssh.
- Add a port forward from 8080 => 9000 for a node application.
Post-Configuration
Add the following required components to your project by editing the postconfiguration(name) function inside the commands/up.js. You will want to take advantage of the ssh command wrapper to send commands to the VM.
- Install nodejs, npm, git
- Clone https://github.com/CSCDevOps/App
- Install the npm packages
SSH and App
Add a new command by creating a ssh.js inside the commands directory. When running v ssh it should ssh into your VM (25 points).
- Implement and demonstrate running v ssh.
- Manually run node main.js start 9000.
- Demonstrate you can visit localhost:8080 to see your running App.
Extra Requirements
You can complete some or all of the following activities for extra credit by modifying your code.
- Create a second NIC with either host-only or bridged networking enabled. Demonstrate that you can use your IP address to visit <address>:9000 to see your running App. (5 points)
- Create a shared sync folder. This is fairly involved, only attempt if experiencedlimited help will be provided from teaching staff. (10 points)
Screencast
Create a screencast of your assignment:
Demonstrate running your code to provision the VM (v up), running your customization and post-configuration steps, and ssh (v ssh) and a starting your App. Demonstrate your app running on your browser. Demonstrate any extra requirements fulfilled.
For guidelines, software, and recommendations see Screencasts.
Evaluation
- Compete VM setup (40)
- Post-Configuration (25)
- SSH/APP (25)
- Screencast (10)
- Extra requirements (+5/+10)
- Answer a question (+5) Max possible score: 120/100.
Reviews
There are no reviews yet.