|
What is Cloud Computing
|
Explain concepts of centralization, outsourcing and virtualization
Discuss different cloud service models such as IaaS and SaaS
Name the important cloud service providers such as Amazon and Microsoft
|
|
Setting up a machine in the cloud
|
Understand that CPU, RAM, Disk Space, Operating System and a administrative user are needed when you create a new virtual machine
Understand that a hostname and/or IP address is needed to connect to a virtual machine, either using Secure Shell (SSH) or Remote Desktop (RDP)
Be aware that you delete/stop all resources when you are finished with you virtual machine, to avoid unexpected costs.
|
|
Connecting to a remote system
|
To connect to a remote computer system using SSH and a password, use a tool with graphical configuration (PuTTY, Mac OS Terminal) or run ssh yourUsername@remote.computer.address in an existing bash command line.
|
|
Moving around and looking at things
|
Your current directory is referred to as the working directory.
To change directories, use cd.
To view files, use ls.
You can view help for a command with man command or command --help.
Hit Tab to autocomplete whatever you’re currently typing.
|
|
Writing and reading files
|
Use nano to create or edit text files from a terminal.
Use cat file1 [file2 ...] to print the contents of one or more files to the terminal.
Use mv old dir to move a file or directory old to another directory dir.
Use mv old new to rename a file or directory old to a new name.
Use cp old new to copy a file under a new name or location.
Use cp old dir copies a file old into a directory dir.
Use rm old to delete (remove) a file.
File extensions are entirely arbitrary on UNIX systems.
|
|
(Option 1 - Python) Run your own code
|
|
|
(Option 2 - R) Run your own code
|
|
|
(Option 3 - Java) Run your own code
|
|
|
Long running and scheduled programs
|
Periodic execution of jobs can be done using cron by editing your crontab
You can create persistent terminal sessions using tmux, that keep running even if you disconnect
With htop you can check on resource consumption of the running processes
|
|
System Management and Installation
|
|
|
(BONUS) Wildcards and pipes
|
The * wildcard is used as a placeholder to match any text that follows a pattern.
Redirect a command’s output to a file with >.
Commands can be chained with |
Understand the wc,
|
|
(BONUS) Scripts, variables, and loops
|
A shell script is just a list of bash commands in a text file.
To make a shell script file executable, run chmod +x script.sh.
|