This week we’ll begin to separate the various forms of data in our application into different storage media. Separation of our application data is critical to our application’s ability to scale. This week you’ll update your project to separate the storage in
/var/www/html onto the cloud version of an extra hard disk. You’ll also learn how to format and mounts disks on Linux using the command line. This will be mostly a practice run for next week when we create a space for structured storage in an SQL database.
Capacities and Filesystems#
After you’ve done the labs you should be able to implement an additional disk on your VM with the following features:
10 GB of storage
Formatted with the
Keep track of your steps and document the resutls.
To meet the project requirements for this week you have to accomplish the following tasks:
Create a persistent disk for storage of your application code and state
Attach the storage to your devbox
Format and mount the persistent disk
/etc/fstabto make sure the disk is mounted at boot
Document your progress with the following required items:
The output of the
dfcommand with your disk mounted
The contents of your