This checkpoint is intended to help you assess what you have learned from our introductory articles to Cloud Servers, where we introduced cloud computing, cloud servers, and the Linux command line. You can use this checkpoint to assess your knowledge on these topics, review key terms and commands, and find resources for continued learning.
Cloud computing typically uses virtualization for hosting needs. This abstraction from physical hardware (often on-premises) means that projects can be built and maintained at scale without making large financial and time investments to maintain your own hardware. Once you have learned the fundamentals of cloud servers, you will be ready to begin exploring other key concepts and technologies of cloud computing, such as databases, containers, web servers, and security.
In this checkpoint, you’ll find three sections that synthesize the central topics across the articles in the Cloud Servers section: defining the cloud and its delivery models, using the Linux command line, and using SSH with remote servers. You can test your knowledge with interactive components. At the end of this checkpoint, you will find opportunities for continued learning and Linux server management.
Cloud computing is the delivery of computing resources as a service, meaning that the resources are owned and managed by the cloud provider rather than the end user. You’ve likely used the cloud to watch streaming media, store your personal data such as photos and files, or even create your own web apps or other projects.
In A General Introduction to Cloud Computing, you learned about cloud computing as it is defined by the National Institute of Standards and Technology (NIST), a non-regulatory agency of the United States Department of Commerce.
What are the five essential characteristics of cloud computing?
NIST defines the following as the five key principles of cloud computing:
These characteristics are relevant across all types of cloud environments: public cloud, private cloud, hybrid cloud, and multicloud.
Through each of the articles, you have developed a vocabulary with common terms related to cloud computing.
Define each of the following terms, then use the dropdown feature to check your work.
A server is the computer hardware or software that can run services to other computers and that allows client machines to function.
See the glossary entry for server for a longer definition.
A virtual private server, or VPS, is a virtual server that emulates a real computer with its own operating system. The software on a virtual machine is allocated by a host and disconnected from the computer’s hardware.
They are sometimes called virtual machines, or VMs. When hosted in the cloud, they are sometimes called cloud servers or remote servers.
Virtualization is a process that abstracts computer environments from physical hardware, making it possible to host in the cloud. This process facilitates the relationship between the virtual servers that apps and websites can be hosted on and the physical hosts that manage the virtual servers.
A hypervisor is software that deploys, manages, and grants resources to virtual servers under its control. The physical hardware that a hypervisor is running on is referred to as a host. The hypervisor shares the host’s resources among various guest VMs.
An Introduction to Cloud Hosting specifies four common hypervisors available today. Can you name them?
See the glossary entry for hypervisor for a longer definition.
The kernel is the foundation of a computer’s operating system. The kernel facilitates memory allocation as well as device and resource management.
See the glossary entry for kernel for a longer definition.
You can also identify how cloud resources are provided through delivery models such as Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS).
IaaS provides complete control over your infrastructure without maintaining your own hardware. Benefits include flexible hosting, scaling with demand, and building across multiple datacenters.
With PaaS, you use deployment platforms on your cloud provider’s back-end infrastructure. Benefits include predictable scaling, pre-configured runtime environments, and a simplified experience with API integrations.
SaaS provides software applications in cloud environments. You can access the software but not its production, maintenance, or modification. As a result, users can use the platform directly without needing to install or maintain software on their device.
Match the following products to their delivery model:
You can now explain what the cloud is and describe why it has become ubiquitous in the modern day. You know the benefits and considerations necessary when building projects in the cloud, as well as which types of projects are available in which cloud delivery model. To build projects in the cloud, many developers use Linux-based virtual machines.
In A Linux Command Line Primer, you began the journey to love your terminal. With the initial server setup, you configured a Linux environment with SSH, a firewall configured with
ufw, a package manager, and a non-root user with
You can now navigate the command line interface (CLI) on both your local machine and a remote server using commands such as:
catto review file contents.
cdto move between directories.
curlto transfer data using URL syntax.
echoto display strings of text.
lsto list files.
mkdirto make new folders.
mvto move or rename files.
nanoto create and edit text files.
pwdto review your current working directory path.
rmdirto delete files and folders.
sudoto run commands as a superuser.
usermodto change user permissions.
And options (also known as flags or switches) like:
-ato list all files, including hidden files.
--human-readableto print memory sizes in a human readable format.
-lto print extra details about files.
-oto output text to a file.
-rto run commands recursively.
You can review all the commands you have run in your terminal with the
history command. You can also use the
man command in Linux to display user manuals or the
--help flag to review additional information about any command.
Once you’ve chosen your Linux distribution, you can explore tutorials in the Linux Basics series, manage processes on your Linux server, and otherwise monitor your server resources. If you are running a Linux-based remote server, you will use SSH to access and perform operations on the remote server from your local terminal.
The Secure Shell protocol (SSH) allows you to log in to a remote server and run command line execution from an unsecured network.
In SSH Essentials, you generated an SSH key pair to connect to your remote server. The SSH key provides a secure access credential when using SSH login. Your keys are stored in an authorized key file, usually in the
/.ssh directory in each user’s home directory.
ssh-keygen, you can use the
rsync (remote sync) and
scp (secure copy program) commands for file transfer between systems. During your initial server setup, you used
rsync to copy files between users, but you can also use it to copy files between systems.
What is the difference between
rsync copy files:
scp between hosts on a network using SSH;
rsync on the local host or bidirectionally between the local host and a remote host. Both encrypt file transfer when used with SSH, and
rsync is known for its delta-transfer algorithm, which results in optimized transfer speed.
scp, you select which files and directories are to be transferred, whereas
rsync transfers all files and directories initially and then only the changed files and directories. You can use additional options with
rsync, such as the
The Secure File Transfer Protocol (
sftp) is another option for file transfer, but it is not used frequently these days as
rsync are more flexible.
You can host a cloud server on a DigitalOcean Droplet. Once you’re familiar with the fundamentals of Linux, you can try securing your VPS and setting up Fail2ban to protect your server. You’ll also want to decide which package management system to use.
If you’d like to develop your Linux skills further, follow these tutorials:
If you run into issues as you work, you can also troubleshoot common site issues.
Thanks for learning with the DigitalOcean Community. Check out our offerings for compute, storage, networking, and managed databases.
This curriculum introduces open-source cloud computing to a general audience along with the skills necessary to deploy applications and websites securely to the cloud.