LinuxFoundationX: LFS151.x Introduction to Cloud Infrastructure Technologies course notes
Last Updated: December 31, 2018 by Pepe Sandoval
If you find the information in this page useful and want to show your support, you can make a donation
Use PayPal
This will help me create more stuff and fix the existent content...
Cloud computing is a model for enabling on-demand network access to a shared pool of configurable computing resources (resources meaning networks, servers, storage, applications, and services). Cloud computing providers offer different kinds of services that usually fall into one of the following categories:
Virtual machines are created on top of a hypervisor, which runs on top of the host machine's operating system
hypervisors allow us to emulate hardware like CPU, disk, network, memory, etc
x86
hardware, low-cost, scalable and high security featuresVagrant is a cross-platform tool that helps us automate the setup and deletion of one or more VMs (using other VM providers like Virtual Box, Docker, KVM, etc.)
Vagrant commands:
vagrant up
in the folder where the vagrantfile is to setup and start a VM specified by that vagrantfilevagrant status
to check status of current VMsvagrant shh
login a VMvagrant halt
to shutdown a VMvagrant destroy
to destroy a VMVagrantfile: It is a text file with the Ruby syntax, which has all the information about configuring and provisioning a set of machines. It has details like the machine type, image, networking, provider-specific information, provisioner details, etc.
shell
will be a provisioner in Vagrant# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.
config.vm.box = "centos/7"
# Create a private network, which allows host-only access to the machine
# using a specific IP.
config.vm.network "private_network", ip: "192.168.33.10"
# config.vm.synced_folder "../data", "/vagrant_data"
config.vm.provider "virtualbox" do |vb|
# Customize the amount of memory on the VM:
vb.memory = "1024"
end
config.vm.provision "shell", inline: <<-SHELL
yum install vim -y
SHELL
end
Infrastructure as a Service (IaaS) is a form of cloud computing which provides on-demand physical and virtual computing resources (storage, network, firewall, load balancers, etc.)
Infrastructure as a Service is the backbone of all cloud services, providing the compute resources. After getting the compute resources, we provide other services on top of that.
Amazon Elastic Compute (Amazon EC2)
Azure Virtual Machine
DigitalOcean
Google Compute Engine (GCE)
OpenStack
If you find the information in this page useful and want to show your support, you can make a donation
Use PayPal
This will help me create more stuff and fix the existent content...