Intro to Cloud
Sign In! Please sign-in via QR Code or
https://goo.gl/U46rfU
The Problem
3
The Problem
4
What is da cloud
● Online collection of software and services
● Runs on servers throughout the world
● Alternative to local physical hardware
● Driven by virtualization
5
Benefits of cloud
● Low initial investment
○ Economy of scale
● Scalable/Flexible
○ provide more servers when needed
● Rapid Deployment
● Very consistent, 99.99+% uptime for AWS
6
why cloud bad
● Expensive once scaled
○ on-premise solution might be
cheaper at a certain point
● Vendor lock-in
● Improper configurations can be very
harmful
● Giving up control
7
Saas, PaaS, and IaaS
● Software as a Service
(SaaS)
○ Ex. Shopify, Slack
● Platform as a Service (Paas)
○ Ex. Heroku, Netlify
● Infrastructure as a Services
(IaaS)
○ Ex. DigitalOcean,
Sketchy minecraft
server hosting site
8
Cloud Providers
9
● Cloud market is booming
● Azure carried by enterprises
● AWS and GCP most familiar to college
students
Compute Services
● Fall under IaaS
○ Usually Specced/Billed
by hardware (CPUs,
Memory, GPU)
● Provisioned virtual machine
or bare metal server
● Often used with docker
● Costing you money as long
as they’re running
10
AWS EC2/Google
Compute Engine
● Probably the most used cloud service in
existence (EC2)
● Choose from a number of machines with the
resources that you expect to use
● Can easily resize and stop instances
● Autoscale computing resources based on
metrics
● Free tiers are actually pretty good
11
DigitalOcean/Linode
● Solid alternatives if you just
need a server
● Generally cheaper and
shallower learning curve
than mainstream providers
● Most economic if you expect
to have a consistent
workload
12
Databases
● Relational (SQL)
○ Structured data
○ Better for queries
○ Tends to favor AWS
● Key-Value (noSQL)
○ Nested data
○ Generally better
performance
○ Tends to favor GCP
13
Storage
GCP Offerings:
● Nearline, Coldline, Archive
○ Used for backups
○ Tiered based on
availability and cost
● Persistent disks
○ Unmanaged
○ Scale when read only
● Filestore
○ Managed
○ Read/Write capable
○ Built on NFS
AWS Offerings:
● Simple Storage Service (S3)
○ static web content
● S3 Glacier
○ low cost storage
○ rarely accessed data
● Storage Gateway
○ link on-prem and online
services
14
Additional Services
● ML
● Data analysis
● BigQuery
● ML SageMaker
● Serverless with Lambda
● App Development/Deployment
with Amplify
15
Free Stuff
● Github Student Developer Pack
○ Digitalocean, Azure - $100
○ https://education.github.com/pack?
○ Tons of other useful stuff
● AWS
○ $100 from Educate
○ https://aws.amazon.com/free/
○ $100 Aws credit for Alexa skill
■ Possible to have recurring monthly
● GCP Free
○ https://cloud.google.com/free
○ Free GPU in google collab
● Azure Free Tier
○ https://azure.microsoft.com/en-us/free/
● Hackathon Credit - Look for cloud sponsors
16
“
Which one do I choose?
17
Don’t do this
18
:(
● Remember to close your instances
● Never expose your API keys
○ Put keys in .env file
○ Put .env file in .gitignore
Questions?
Sources
● https://www.statista.com/chart/18819/worldwide-market-share-
of-leading-cloud-infrastructure-service-providers/
20
Demo Links
● https://cloud.google.com/sdk
● https://cloud.google.com/free
● https://cloud.google.com/compute/docs/gcloud-
compute/common-commands
21

Cloud talk

  • 1.
  • 2.
    Sign In! Pleasesign-in via QR Code or https://goo.gl/U46rfU
  • 3.
  • 4.
  • 5.
    What is dacloud ● Online collection of software and services ● Runs on servers throughout the world ● Alternative to local physical hardware ● Driven by virtualization 5
  • 6.
    Benefits of cloud ●Low initial investment ○ Economy of scale ● Scalable/Flexible ○ provide more servers when needed ● Rapid Deployment ● Very consistent, 99.99+% uptime for AWS 6
  • 7.
    why cloud bad ●Expensive once scaled ○ on-premise solution might be cheaper at a certain point ● Vendor lock-in ● Improper configurations can be very harmful ● Giving up control 7
  • 8.
    Saas, PaaS, andIaaS ● Software as a Service (SaaS) ○ Ex. Shopify, Slack ● Platform as a Service (Paas) ○ Ex. Heroku, Netlify ● Infrastructure as a Services (IaaS) ○ Ex. DigitalOcean, Sketchy minecraft server hosting site 8
  • 9.
    Cloud Providers 9 ● Cloudmarket is booming ● Azure carried by enterprises ● AWS and GCP most familiar to college students
  • 10.
    Compute Services ● Fallunder IaaS ○ Usually Specced/Billed by hardware (CPUs, Memory, GPU) ● Provisioned virtual machine or bare metal server ● Often used with docker ● Costing you money as long as they’re running 10
  • 11.
    AWS EC2/Google Compute Engine ●Probably the most used cloud service in existence (EC2) ● Choose from a number of machines with the resources that you expect to use ● Can easily resize and stop instances ● Autoscale computing resources based on metrics ● Free tiers are actually pretty good 11
  • 12.
    DigitalOcean/Linode ● Solid alternativesif you just need a server ● Generally cheaper and shallower learning curve than mainstream providers ● Most economic if you expect to have a consistent workload 12
  • 13.
    Databases ● Relational (SQL) ○Structured data ○ Better for queries ○ Tends to favor AWS ● Key-Value (noSQL) ○ Nested data ○ Generally better performance ○ Tends to favor GCP 13
  • 14.
    Storage GCP Offerings: ● Nearline,Coldline, Archive ○ Used for backups ○ Tiered based on availability and cost ● Persistent disks ○ Unmanaged ○ Scale when read only ● Filestore ○ Managed ○ Read/Write capable ○ Built on NFS AWS Offerings: ● Simple Storage Service (S3) ○ static web content ● S3 Glacier ○ low cost storage ○ rarely accessed data ● Storage Gateway ○ link on-prem and online services 14
  • 15.
    Additional Services ● ML ●Data analysis ● BigQuery ● ML SageMaker ● Serverless with Lambda ● App Development/Deployment with Amplify 15
  • 16.
    Free Stuff ● GithubStudent Developer Pack ○ Digitalocean, Azure - $100 ○ https://education.github.com/pack? ○ Tons of other useful stuff ● AWS ○ $100 from Educate ○ https://aws.amazon.com/free/ ○ $100 Aws credit for Alexa skill ■ Possible to have recurring monthly ● GCP Free ○ https://cloud.google.com/free ○ Free GPU in google collab ● Azure Free Tier ○ https://azure.microsoft.com/en-us/free/ ● Hackathon Credit - Look for cloud sponsors 16
  • 17.
    “ Which one doI choose? 17
  • 18.
    Don’t do this 18 :( ●Remember to close your instances ● Never expose your API keys ○ Put keys in .env file ○ Put .env file in .gitignore
  • 19.
  • 20.
  • 21.
    Demo Links ● https://cloud.google.com/sdk ●https://cloud.google.com/free ● https://cloud.google.com/compute/docs/gcloud- compute/common-commands 21

Editor's Notes

  • #4 lathe
  • #5 lathe
  • #6 jerry
  • #7 jerry
  • #8 jerry
  • #9 lathe
  • #10 jerry
  • #11 lathe
  • #12 jerry
  • #13 lathe
  • #14 lathe
  • #15 lathe/jerry
  • #16 lathe/jerry
  • #17 Lathe
  • #18 Lathe Literally any of them, just pick one you like and try to learn it as best as possible. If you’re looking for a certification go with AWS since it’s the most widely respected, but cloud skills will translate well to any platform.
  • #19 jerry