Cloud Primer

Cloud Primer

A primer to cloud

E0fe062ff7f5d75b8e13773340370db5?s=128

Saurabh Bhatia

October 06, 2012
Tweet

Transcript

  1. None
  2. Building the Cloud - Primer Saurabh Bhatia CEO, Safew Labs

    http://safewlabs.com
  3. Our Coverage • Public Cloud – IaaS & PaaS •

    Private Cloud
  4. Public Cloud Providers

  5. 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
  6. Other Stuff • Amazon Elastic MapReduce • Amazon Auto Scaling

    • Elastic Load Balancing • Amazon Virtual Private Cloud • Dynamo db, Simple db – No SQL • Amazon RDS - RDBMS
  7. None
  8. Setup Accessible Protocols

  9. AMI Manager

  10. Launch an Instance

  11. Launch an Instance

  12. 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
  13. Terminating an Instance

  14. 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.
  15. Bundle an Image

  16. Sending the Bundle to an S3 Bucket

  17. Bundle tasks

  18. Registering the Image

  19. Electronic Block Storage • Block Level Storage for EC2 •

    Can be provisioned for other AWS services • ISCSI disk – internet SCSI • EBS Volume • EBS Snapshot
  20. Create an EBS Volume

  21. Attach Volume to an Instance

  22. EBS Snapshot

  23. Detatching a Volume

  24. Deleting a Volume

  25. Deleting a Snapshot

  26. Elastic IPs • Elastic IPs are associated with AWS account

    not instances. • Elastic IP addresses allow you to mask your instance
  27. Creating a new EIP

  28. Associate it to an Instance

  29. Private Cloud Providers

  30. 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
  31. 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
  32. None
  33. Dashboard

  34. 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
  35. Flavours • Available Hardware configurations for each server • Diskspace,

    Memory, I/O level definition
  36. Services • Shared Services Across various OpenStack Instances • Identity

    Service • Image Service • Available to nova, swift
  37. Uses • Secure In-firewall usage for insfrastructure for Banks, financial

    institutions • Best use of existing hardware
  38. Thank You