Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Cloud Primer

Cloud Primer

A primer to cloud

Saurabh Bhatia

October 06, 2012
Tweet

More Decks by Saurabh Bhatia

Other Decks in Technology

Transcript

  1. Amazon Web Services - IaaS • All Services are pay-as-you-go

    billed monthly based on monthly usage. • EC2 - Provides resizable compute facility on top of Amazon cloud. • EBS – Block Level storage like online NAS for EC2 particularly for database, file system • S3 - Store and retrieve objects • Cloud Front – low latency content distribution
  2. Other Stuff • Amazon Elastic MapReduce • Amazon Auto Scaling

    • Elastic Load Balancing • Amazon Virtual Private Cloud • Dynamo db, Simple db – No SQL • Amazon RDS - RDBMS
  3. Connecting to Instance • Download a shell client like Putty

    • Login via ssh using the pem (privacy enhanced mail) key pair • ssh -i xxx-keypair root@ec2-XXX-XXX-XXX- XXX.z-2.compute-1.amazonaws.com
  4. Creating Own AMIs • S3 Bucket – to save the

    AMI as an object • Bundling – taking a snapshot of the file system so it can be booted and modified.
  5. Electronic Block Storage • Block Level Storage for EC2 •

    Can be provisioned for other AWS services • ISCSI disk – internet SCSI • EBS Volume • EBS Snapshot
  6. Elastic IPs • Elastic IPs are associated with AWS account

    not instances. • Elastic IP addresses allow you to mask your instance
  7. Terminology • Hypervisors – Virtual Machine • Images – OS

    instances residing on hypervisors • Provisioning – deployment strategy for applications • Auditing – Security, Bandwidth , Usage • Monitoring – Managing cluster health • Metering – Bandwidth , Cost of Running an instance • Orchestration – Automatic Arrangement and Coordination of resources
  8. OpenStack - components • Compute(nova) – Cloud Fabric Controller •

    Storage(swift) – Redundant Storage Service • Image Service(glance) – Registration and Provisioning of Disk images • Dashboard (horizon) – Manage images and lifecycle of instances • Identity Management(keystone) – Policy, Token and Catalog
  9. Role Based Auth • Tenants – Tenants are projects for

    Consumers or Customers • Users – Users can be part of multiple tenants • Roles – role based authentication & access • Tokens – authenticaiton tokens
  10. Services • Shared Services Across various OpenStack Instances • Identity

    Service • Image Service • Available to nova, swift