In the final milestone for the first half of class you will add some instructions on how to perform a backup of your database and compile the last seven milestones into a document. The final document should be a complete guide for how to setup and deploy Mediawiki on a Google Cloud Instance. You will rely on the document when you learn how to automate the process in the second half of class.
In class today you will see how to do the following tasks:
New Tasks for This Milestone#
For the last milestone taks you should document the following:
The steps you took to create a storage bucket
The permissions you assigned to the bucket
Record the commands you used to make a backup and combine them into a script
The commands you used to install the script into
This milestone will not be posted into the discussion forum. Just put the instructions into your final document.
The assignment for this milestone is to create a complete document. The document should be everything you need to recreate your project from scratch. The document can be written using any program you like. If your instructions contain screenshots you should make sure they’re included. You do not need to document the screenshots that prove you did the work. For example, in Milestone #3 you turned in a screenshot of running
gcloud instances list, this one is not necessary.
Your document should be formatted into sections:
Setup tasks. These tasks are done once to establish a project. Those tasks include:
Creating a new GCP project
Creating and uploading SSH keys
Installing any necessary software
Infrastructure tasks. These tasks are things you do on GCP, including:
Creation of an Instance
Creation of any persistent disks and their names
Creation of VPC, subnets and firewall rules
Creation of storage buckets
Linux tasks. These tasks are done on the command line, including:
Installation of all new packages
Where persistent disks are mounted and what filesystem they use
The process of setting up MediaWiki
You do not need to detail how you setup the visit counter site, only MediaWiki
After you submit your document you will be assigned others to peer review. Your review will not count for their grade but you will be asked to rate the instructions on completeness and clarity.