Post on 15-May-2015
http://www.iwillstudy.com/group/cloudcomputing
Building the Cloud - Primer
Saurabh Bhatia
CEO, Safew Labs
http://safewlabs.com
CloudSummit Ahmedabad
http://www.iwillstudy.com/group/cloudcomputing
Our Coverage
Public Cloud – IaaS & PaaSPrivate Cloud
Public Cloud Providers
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 NASfor EC2 particularly for database, file system
S3 - Store and retrieve objects Cloud Front – low latency content distribution
Other Stuff
Amazon Elastic MapReduce
Amazon Auto Scaling
Elastic Load Balancing
Amazon Virtual Private Cloud
Dynamo db, Simple db – No SQL
Amazon RDS - RDBMS
Setup Accessible Protocols
AMI Manager
Launch an Instance
Launch an Instance
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
Terminating an Instance
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.
Bundle an Image
Sending the Bundle to an S3 Bucket
Bundle tasks
Registering the Image
Electronic Block Storage
Block Level Storage for EC2
Can be provisioned for other AWS services
ISCSI disk – internet SCSI
EBS Volume
EBS Snapshot
Create an EBS Volume
Attach Volume to an Instance
EBS Snapshot
Detatching a Volume
Deleting a Volume
Deleting a Snapshot
Elastic IPs
Elastic IPs are associated with AWS account not instances. Elastic IP addresses allow you to mask your instance
Creating a new EIP
Associate it to an Instance
Private Cloud Providers
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
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
Dashboard
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
Flavours
Available Hardware configurations for each server
Diskspace, Memory, I/O level definition
Services
Shared Services Across various
OpenStack Instances
Identity Service
Image Service
Available to nova, swift
Uses
Secure In-firewall usage for
insfrastructure for Banks, financial institutions
Best use of existing hardware
Thank You
AllEvents, DIIM, WebChanakya, IMCGroup, Point10BuddyBits, LetsNurture, RTIDM, Digital Upstarts
Partners:
http://www.iwillstudy.com/group/cloudcomputing