Virtual Private Serversc4cs.github.io/lectures/f16/week14-alex.pdf"A VPS runs its own copy of an...

Post on 23-Jun-2020

0 views 0 download

Transcript of Virtual Private Serversc4cs.github.io/lectures/f16/week14-alex.pdf"A VPS runs its own copy of an...

VirtualPrivateServersalexchojnacki

Thehistoryofcomputinginanutshell1. Beganwithdumbterminalsattachedtosmartmainframes

Thehistoryofcomputinginanutshell1. Beganwithdumbterminalsattachedtosmartmainframes

2. Movedtostrongerindividualcomputers,"PC's"

Thehistoryofcomputinginanutshell1. Beganwithdumbterminalsattachedtosmartmainframes

2. Movedtostrongerindividualcomputers,"PC's"

3. Backtodumbdevicesconnectedtosupercomputers.

Whatcanyouevendoonaphonewithnointernetconnection?

WhatisaVPS?

WhatisaVPS?Okay,yeah,it'sa"virtualprivateserver"...

WhatisaVPS?Okay,yeah,it'sa"virtualprivateserver"...

Virtual...Private...Server...

WhatdoesWikipediasayaboutit?"AVPSrunsitsowncopyofanoperatingsystem,andcustomershavesuperuser-levelaccesstothatoperatingsysteminstance,sotheycaninstallalmostanysoftwarethatrunsonthatOS.Formanypurposestheyarefunctionallyequivalenttoadedicatedphysicalserver,andbeingsoftware-defined,areabletobemuchmoreeasilycreatedandconfigured."--Wikipedia

WhatdoesWikipediasayaboutit?"AVPSrunsitsowncopyofanoperatingsystem,andcustomershavesuperuser-levelaccesstothatoperatingsysteminstance,sotheycaninstallalmostanysoftwarethatrunsonthatOS.Formanypurposestheyarefunctionallyequivalenttoadedicatedphysicalserver,andbeingsoftware-defined,areabletobemuchmoreeasilycreatedandconfigured."--Wikipedia

AdvantagesTheyareeasilyconfigurable...Wecanmakeasmanyaswewant...Wecanmakethemaspowerfulasweneed...Wecancreateanddestroytheminstantly...

HowdoImakeone?

VagrantA"headless"VMProvisioningsupportbuilt-inOftentimesmoreconvenientwithouttheGUI

thealex::$vagrantinithashicorp/precise64

...

thealex::$vagrantup

...

thealex::$vagrantssh

DockerA"lightweight"VMQuickerthanvagrant,butmuchlesscontained

Wherevagrant/virtualboxvirtualisethehardware,dockerutilizesaclevernamespacetrickinordertorunprocessesin'isolated'environmentswhileavoidinganyhardwarevirtualisation.

Richecosystemofthird-partyimagesandenvironments

dockerrun-itubuntubash

DockerA"lightweight"VMQuickerthanvagrant,butmuchlesscontained

Wherevagrant/virtualboxvirtualisethehardware,dockerutilizesaclevernamespacetrickinordertorunprocessesin'isolated'environmentswhileavoidinganyhardwarevirtualisation.

Richecosystemofthird-partyimagesandenvironments

dockerrun-itubuntubash

AWS,Linode,DigitalOcean,etc.Disposableserversinthecloud!

CheckouttheGitHubStudentPackforfreecreditstomanycoolservices!

Alright,sowhatcanIdowiththem?

Alright,sowhatcanIdowiththem?Hostpersonalwebsite/app"Rent"amorepowerfulPCHostchatbotslikeGitHub's hubot

Alright,sowhatcanIdowiththem?Hostpersonalwebsite/app"Rent"amorepowerfulPCHostchatbotslikeGitHub's hubot

Useyourimagination!