virtual private serversc4cs.github.io/lectures/f16/week14-alex.pdf"a vps runs its own copy of...

17
Virtual Private Servers alex chojnacki

Upload: others

Post on 23-Jun-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Virtual Private Serversc4cs.github.io/lectures/f16/week14-alex.pdf"A VPS runs its own copy of an operating system, and customers have superuser-level access to that operating system

VirtualPrivateServersalexchojnacki

Page 2: Virtual Private Serversc4cs.github.io/lectures/f16/week14-alex.pdf"A VPS runs its own copy of an operating system, and customers have superuser-level access to that operating system

Thehistoryofcomputinginanutshell1. Beganwithdumbterminalsattachedtosmartmainframes

Page 3: Virtual Private Serversc4cs.github.io/lectures/f16/week14-alex.pdf"A VPS runs its own copy of an operating system, and customers have superuser-level access to that operating system

Thehistoryofcomputinginanutshell1. Beganwithdumbterminalsattachedtosmartmainframes

2. Movedtostrongerindividualcomputers,"PC's"

Page 4: Virtual Private Serversc4cs.github.io/lectures/f16/week14-alex.pdf"A VPS runs its own copy of an operating system, and customers have superuser-level access to that operating system

Thehistoryofcomputinginanutshell1. Beganwithdumbterminalsattachedtosmartmainframes

2. Movedtostrongerindividualcomputers,"PC's"

3. Backtodumbdevicesconnectedtosupercomputers.

Whatcanyouevendoonaphonewithnointernetconnection?

Page 5: Virtual Private Serversc4cs.github.io/lectures/f16/week14-alex.pdf"A VPS runs its own copy of an operating system, and customers have superuser-level access to that operating system

WhatisaVPS?

Page 6: Virtual Private Serversc4cs.github.io/lectures/f16/week14-alex.pdf"A VPS runs its own copy of an operating system, and customers have superuser-level access to that operating system

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

Page 7: Virtual Private Serversc4cs.github.io/lectures/f16/week14-alex.pdf"A VPS runs its own copy of an operating system, and customers have superuser-level access to that operating system

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

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

Page 8: Virtual Private Serversc4cs.github.io/lectures/f16/week14-alex.pdf"A VPS runs its own copy of an operating system, and customers have superuser-level access to that operating system

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

Page 9: Virtual Private Serversc4cs.github.io/lectures/f16/week14-alex.pdf"A VPS runs its own copy of an operating system, and customers have superuser-level access to that operating system

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

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

Page 10: Virtual Private Serversc4cs.github.io/lectures/f16/week14-alex.pdf"A VPS runs its own copy of an operating system, and customers have superuser-level access to that operating system
Page 11: Virtual Private Serversc4cs.github.io/lectures/f16/week14-alex.pdf"A VPS runs its own copy of an operating system, and customers have superuser-level access to that operating system

HowdoImakeone?

Page 12: Virtual Private Serversc4cs.github.io/lectures/f16/week14-alex.pdf"A VPS runs its own copy of an operating system, and customers have superuser-level access to that operating system

VagrantA"headless"VMProvisioningsupportbuilt-inOftentimesmoreconvenientwithouttheGUI

thealex::$vagrantinithashicorp/precise64

...

thealex::$vagrantup

...

thealex::$vagrantssh

Page 13: Virtual Private Serversc4cs.github.io/lectures/f16/week14-alex.pdf"A VPS runs its own copy of an operating system, and customers have superuser-level access to that operating system

DockerA"lightweight"VMQuickerthanvagrant,butmuchlesscontained

Wherevagrant/virtualboxvirtualisethehardware,dockerutilizesaclevernamespacetrickinordertorunprocessesin'isolated'environmentswhileavoidinganyhardwarevirtualisation.

Richecosystemofthird-partyimagesandenvironments

dockerrun-itubuntubash

Page 14: Virtual Private Serversc4cs.github.io/lectures/f16/week14-alex.pdf"A VPS runs its own copy of an operating system, and customers have superuser-level access to that operating system

DockerA"lightweight"VMQuickerthanvagrant,butmuchlesscontained

Wherevagrant/virtualboxvirtualisethehardware,dockerutilizesaclevernamespacetrickinordertorunprocessesin'isolated'environmentswhileavoidinganyhardwarevirtualisation.

Richecosystemofthird-partyimagesandenvironments

dockerrun-itubuntubash

AWS,Linode,DigitalOcean,etc.Disposableserversinthecloud!

CheckouttheGitHubStudentPackforfreecreditstomanycoolservices!

Page 15: Virtual Private Serversc4cs.github.io/lectures/f16/week14-alex.pdf"A VPS runs its own copy of an operating system, and customers have superuser-level access to that operating system

Alright,sowhatcanIdowiththem?

Page 16: Virtual Private Serversc4cs.github.io/lectures/f16/week14-alex.pdf"A VPS runs its own copy of an operating system, and customers have superuser-level access to that operating system

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

Page 17: Virtual Private Serversc4cs.github.io/lectures/f16/week14-alex.pdf"A VPS runs its own copy of an operating system, and customers have superuser-level access to that operating system

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

Useyourimagination!