SlideShare a Scribd company logo
Fundamentals of Cloud Computing

                          Prasoon Kumar
                     Senior Technical Architect
                            Justdial Ltd




IWillStudy.com Cloud Summit Ahmedabad
Introduction
 Cloud Computing Industry is growing
   According to Gartner, worldwide cloud services revenue is on
    pace to surpass $56.3 billion in 2009, a 21.3% increase from
    2008 revenue of $46.4 billion, according to Gartner, Inc. The
    market is expected to reach $150.1 billion in 2013.

 Businesses are increasing Cloud adoption
   "We expect a great deal of migration towards cloud computing
    within the federal government in addition to the already robust
    private sector growth. The growth of the cloud should not
    outpace our ability to protect the data that goes into it..." ~
    FormerWhite House advisor Paul Kurtz, partner with Good Harbor
    Consulting, LLC

 How can IT leaders ensure security in the cloud?
IWillStudy Cloud Summit Ahmedabad
Introduction




IWillStudy Cloud Summit Ahmedabad
Cloud Basics
 Cloud Characteristics
 Service Models
   SaaS
   IaaS
   PaaS
 Deployment Models
   Public
   Private
   Community
   Hybrid



IWillStudy Cloud Summit Ahmedabad
Cloud Computing: Why Now?
 Experience with very large datacenters
    Unprecedented economies of scale
    Transfer of risk
 Technology factors
    Pervasive broadband Internet
    Maturity in Virtualization Technology
 Business factors
    Minimal capital expenditure
    Pay-as-you-go billing model



IWillStudy Cloud Summit Ahmedabad
And in a non-Cloud view, there are inefficiencies in
      addressing those issues


                                                  Allocated         Load
                                                IT-capacities      Forecast
                              “Under-supply“
                               of capacities
           IT CAPACITY




                         “Waste“ of                             Fixed cost of
                         capacities                             IT-capacities




 Barrier for
innovations                            Actual Load



                                                     TIME
However, in a Cloud View

                                                                     Load
                                                 Allocated IT       Forecast
                                                  capacities

                        No “under-supply“
          IT CAPACITY




                        Reduction of                               Possible
                        “over-supply“                            reduction of
                                                                IT-capacities
                                                                  in case of
 Reduction                                                      reduced load
  of initial
investments
                                        Actual Load



                                                      Time
Cloud Characteristics




IWillStudy Cloud Summit Ahmedabad
Cloud Service Models

 Software as a Service
   (SaaS)

 Platform as a Service
   (PaaS)

 Infrastructure as a Service
   (IaaS)


IWillStudy Cloud Summit Ahmedabad
Vendors
 IaaS                                PaaS
    Amazon Elastic Compute             Force.Com
     Cloud (EC2)                        Google App Engine
    Eucalyptus                         Windows Azure Platform
    GoGrid                             GoGrid CloudCenter
    RackSpace Cloud

                         SaaS
                           Google Apps
                           SalesForce.Com
                           Oracle On Demand
                           SQL Azure
IWillStudy Cloud Summit Ahmedabad
Natural Evolution of the Web




           IWillStudy Cloud Summit Ahmedabad
Source: Lew Tucker, Introduction to Cloud Computing for Enterprise Users
Four Deployment Models




IWillStudy Cloud Summit Ahmedabad
Four Deployment Models




IWillStudy Cloud Summit Ahmedabad
Four Deployment Models




IWillStudy Cloud Summit Ahmedabad
Four Deployment Models




IWillStudy Cloud Summit Ahmedabad
“OpenStack is a collection of open source software
                   projects that enterprises/service providers can use to
                   setup and run their cloud compute and storage
                   infrastructure.”
                                                    — docs.openstack.org

                   The OpenStack Consortium has grown rapidly in the
                   past year:

                   •   NASA           •   Intel
                   •   Rackspace      •   Cisco
                   •   Citrix         •   HP
                   •   Dell           •   Over 140 others
                   •   AMD

                   OpenStack services are available via Amazon’s S3
                   and EC2 APIs. Applications written for Amazon Web
                   Services will work with OpenStack.


IWillStudy Cloud Summit Ahmedabad
Introducing Windows Azure


   Web applications                WEB & CLOUDS                          Third party cloud




   Compute   Storage Management   Relational data   Management   Connectivity Access control




  Composite applications             ON-PREMISES                     LOB Applications

      IWillStudy Cloud Summit Ahmedabad
Google App Engine
  Based on non-proprietary technology:
      Java servlet API version 2.5 or
      Python
  Easy to learn
  Rich tooling
  Extendable (can use 3rd party tools like GWT, Guice,
   Spring, JSF, Struts, Grails, Restlet)
  Commercial support
  Google has proven they are good at this stuff




IWillStudy Cloud Summit Ahmedabad
IWillStudy Cloud Summit Ahmedabad
GAE building blocks
   Java Servlet Environment running in Java 6 sandbox
      Version 2.5
   Storing data
      Object database != relational: denormalized -> optimized for reading
      Designed for searching in very large datasets
      Multiple flavours: JDO (and JPA or native), @nnotation based
      Relationships: owned (1:1, 1:n) and unowned (1:n, n:1, n:n)
      Entity groups
      Transactions
      Indexes
   URL fetch
     Integration with other systems through HTTP
   Mail
     Send and receive email
   XMPP
     Send and receive instant messages
   Channel
              IWillStudy Cloud Summit Ahmedabad
     Persistent connection: no need for client side polling
GAE building blocks (continued)
Blobstore
     Manage large data chunks (like files, images)
   Image processing
      Transform, resize, change format
   Memcache
     Minimize datastore hits
   Cron
     Schedule repetitive, non-interactive jobs
   Task Queues
     Asynchronous, non-interactive background processing
   Authentication and SSO
     Google account
     Open ID
   Multi-tenancy
     Support different user groups
   Many 3rd party libraries
     But not all!

            IWillStudy Cloud Summit Ahmedabad
AWS Management Console
  Central location to all your aws cloud apps
  EC2
  Beanstalk
  S3
  RDS
  …




IWillStudy Cloud Summit Ahmedabad
Setting up EC2 account and tools
 Create AMI signing certificate
      mkdir ~/.ec2
      cd ~/.ec2
      openssl genrsa -des3 -out pk-<group>.pem 2048
      openssl rsa -in pk-<group>.pem -out pk-unencrypt-<group>.pem
      openssl req -new -x509 -key pk-<group>.pem -out cert-<group>.pem -days
       1095
    Share all three .pem files manually with group members
    Troubleshooting: If your client date is wrong your certs will not work
 Upload certificate to AWS via IAM page
    Login at: https://283072064258.signin.aws.amazon.com/console
       Account: 283072064258
       Username: group** (e.g. group1, group10, group18)
       Password: In email from Dr. Jin (12 digits, something like N9EzPxXGw0Gg)
    Click IAM tab -> users -> select yourself (use right arrow if needed)
    In bottom pane select “Security Credentials” tab and click “Manage Signing Certificates”
    Click “Upload Signing Certificate”
    cat ~/.ec2/cert-<group>.pem
    Copy contents into „Certificate Body‟ textbox and click „OK‟
1


2


    3




            4

                6


        5
Setting up EC2 account and tools
 Retrieve and unpack AWS tools
    wget http://s3.amazonaws.com/ec2-downloads/ec2-api-tools.zip
    unzip ec2-api-tools.zip
 Create ec2 initialization script
    vi ec2-init.sh (you can use your preferred editor)
      export JAVA_HOME=/usr
      export EC2_HOME=~/ec2-api-tools-1.5.2.4
      export PATH=$PATH:$EC2_HOME/bin
      export EC2_PRIVATE_KEY=~/.ec2/pk-unencrypt-<group>.pem
      export EC2_CERT=~/.ec2/cert-<group>.pem
    source ec2-init.sh
      This will need to be done every login
      Alternately, put it in ~/.profile to have it done automatically on login

 Test it out
    ec2-describe-regions
    ec2-describe-images -o self -o amazon
 Troubleshooting
    http://docs.amazonwebservices.com/AmazonEC2/gsg/2007-01-03/
Setting up EC2 account and tools
 Create a new keypair (allows cluster login)
     ec2-add-keypair <group>-keypair | grep –v KEYPAIR > ~/.ec2/id_rsa-<group>-
      keypair
     chmod 600 ~/.ec2/id_rsa-<group>-keypair
     Only do this once! It will create a new keypair in AWS every time you run it
     Share private key file between group members, keep it private
     Don’t delete other groups’ keypairs!
     Everyone has access to everyone else’s keypairs from the AWS console
         EC2 tab ->Network and Security -> Keypairs

 Troubleshooting
   http://docs.amazonwebservices.com/AmazonEC2/gsg/2007-01-03/
Cleanup


Terminate your clusters when you’re done!
  They cost <personX> grant money ($1/hour for a full cluster of 9 nodes)
                   You can always create more later

             hadoop-ec2 terminate <group>-cluster

      They can also be terminated manually from the AWS->EC2 console
GAE Demo
 Course Builder on Google App engine




http://www.iwillstudy.com/group/cloudcomputing
IWillStudy Cloud Summit Ahmedabad
Join and Connect!

http://www.iwillstudy.com/group/cloudcomputing




IWillStudy Cloud Summit Ahmedabad

More Related Content

PDF
Cloud Workshop - Presentation
PPTX
Cloud computing Fundamentals
PPTX
Cloud architecture
PDF
Cloud Computing Technology Overview 2012
PPT
Cloud computing simple ppt
PDF
Summer School Scale Cloud Across the Enterprise
PDF
Cloud Architecture
PPTX
Introduction to cloud computing
Cloud Workshop - Presentation
Cloud computing Fundamentals
Cloud architecture
Cloud Computing Technology Overview 2012
Cloud computing simple ppt
Summer School Scale Cloud Across the Enterprise
Cloud Architecture
Introduction to cloud computing

What's hot (20)

PPTX
What Is Cloud Computing? | Cloud Computing For Beginners | Cloud Computing Tr...
PPTX
Cloud Computing & CloudStack Open Source
PPTX
Cloud Computing Fundamentals
PPTX
Cloud Computing
PDF
Application of Cloud Computing
PDF
Cloud Computing - An Introduction
PPTX
What is cloud computing
PPT
Introduction to Cloud Computing
PPTX
Cloud Computing for college presenation project.
PPTX
Cloud computing lecture 1
PPTX
Cloud computing ppt
PDF
Ima Cloud Computing Mar2010 V8
PPT
Cloud computing and service models
PPTX
Research in Cloud Computing
KEY
Cloud Computing and your Data Warehouse
PPTX
Cloud Computing An introduction
PPT
Cloud computing What Why How
PPTX
Unit 1
PPTX
Cloud Computing
PPTX
Cloud Computing in a Nutshell
What Is Cloud Computing? | Cloud Computing For Beginners | Cloud Computing Tr...
Cloud Computing & CloudStack Open Source
Cloud Computing Fundamentals
Cloud Computing
Application of Cloud Computing
Cloud Computing - An Introduction
What is cloud computing
Introduction to Cloud Computing
Cloud Computing for college presenation project.
Cloud computing lecture 1
Cloud computing ppt
Ima Cloud Computing Mar2010 V8
Cloud computing and service models
Research in Cloud Computing
Cloud Computing and your Data Warehouse
Cloud Computing An introduction
Cloud computing What Why How
Unit 1
Cloud Computing
Cloud Computing in a Nutshell
Ad

Viewers also liked (16)

PPTX
Oh! Session on Amazon cloud
PDF
Cloud Fundamentals
PDF
Fundamentals of Cloud Computing
PPTX
Introduction to Security in the Cloud - Mark Brooks, Alert Logic
PPTX
Cloud Computing - Amazon Web Services
PDF
AWS re:Invent 2016 Recap: What Happened, What It Means
PPTX
Fundamental cloud security
PPTX
Visibility, Optimization & Governance for Cloud Services
PDF
AWS Cost Allocation best practices: How high-growth businesses succeed
PDF
Information Security in AWS - Dave Walker
PPTX
Shared Security in AWS
PPTX
Modern Cloud Fundamentals: Misconceptions and Industry Trends
PDF
AWS vs Azure - A high level comparison between the giants in cloud computing
PPTX
Security in Cloud Computing
PDF
RightScale 2017 State of the Cloud
PPTX
AWS vs Azure - Cloud Services Comparison
Oh! Session on Amazon cloud
Cloud Fundamentals
Fundamentals of Cloud Computing
Introduction to Security in the Cloud - Mark Brooks, Alert Logic
Cloud Computing - Amazon Web Services
AWS re:Invent 2016 Recap: What Happened, What It Means
Fundamental cloud security
Visibility, Optimization & Governance for Cloud Services
AWS Cost Allocation best practices: How high-growth businesses succeed
Information Security in AWS - Dave Walker
Shared Security in AWS
Modern Cloud Fundamentals: Misconceptions and Industry Trends
AWS vs Azure - A high level comparison between the giants in cloud computing
Security in Cloud Computing
RightScale 2017 State of the Cloud
AWS vs Azure - Cloud Services Comparison
Ad

Similar to Cloud Computing (20)

PDF
The Modern Web Part 4: Cloud Computing
PDF
20141021 AWS Cloud Taekwon - Startup Best Practices on AWS
PPTX
AWS IoT: From Testing to Scaling
PPTX
Windows Azure and the cloud: What it’s all about
PDF
Jeff barr Seattle_interactive_2011_q4
PPT
Cloud Computing Integration Introduction
PPTX
Cloud computing with AWS
PPSX
Cloud Computing
PDF
NCOIC Enterprise Cloud Computing - Kevin Jackson
PPTX
Avner algom igt cloud igtdld event
PDF
Accelerate Digital Transformation with IBM Cloud Private
PDF
AWS re:Invent 2016 recap (part 1)
PDF
Cloudy Ajax 08 10
PPT
Presentación Carlos Spera Cablevisión Day 2010
PPTX
Cloud & GCP 101
PDF
Windows Azure For Architects
PPTX
Azure Storage
PPT
Cloud Computing
PDF
Comparison Between Top Five Cloud Service Provider In 2020
PDF
AWS re:Invent 2016 Day 1 Keynote re:Cap
The Modern Web Part 4: Cloud Computing
20141021 AWS Cloud Taekwon - Startup Best Practices on AWS
AWS IoT: From Testing to Scaling
Windows Azure and the cloud: What it’s all about
Jeff barr Seattle_interactive_2011_q4
Cloud Computing Integration Introduction
Cloud computing with AWS
Cloud Computing
NCOIC Enterprise Cloud Computing - Kevin Jackson
Avner algom igt cloud igtdld event
Accelerate Digital Transformation with IBM Cloud Private
AWS re:Invent 2016 recap (part 1)
Cloudy Ajax 08 10
Presentación Carlos Spera Cablevisión Day 2010
Cloud & GCP 101
Windows Azure For Architects
Azure Storage
Cloud Computing
Comparison Between Top Five Cloud Service Provider In 2020
AWS re:Invent 2016 Day 1 Keynote re:Cap

More from NAILBITER (20)

PPTX
Social Media Strategies
PPTX
jQuery for Beginners
PPTX
GBGahmedabad - Create your Business Website
PPTX
Mapathon 2013 - Google Maps Javascript API
PPTX
iWillStudy.com - Light Pitch
PPTX
Cloud Summit Ahmedabad
PPTX
Android Fundamentals & Figures of 2012
PPTX
The iPhone development on windows
PDF
Ambastha EduTech Pvt Ltd
PPTX
Branding
PPTX
Advertising
PPTX
Develop open source search engine
PDF
Location based solutions maps & your location
PDF
Html5 workshop part 1
PDF
Android Workshop - Session 2
PDF
Android Workshop Session 1
PDF
Linux Seminar for Beginners
PDF
Linux advanced concepts - Part 2
PDF
Linux advanced concepts - Part 1
PDF
Linux concepts
Social Media Strategies
jQuery for Beginners
GBGahmedabad - Create your Business Website
Mapathon 2013 - Google Maps Javascript API
iWillStudy.com - Light Pitch
Cloud Summit Ahmedabad
Android Fundamentals & Figures of 2012
The iPhone development on windows
Ambastha EduTech Pvt Ltd
Branding
Advertising
Develop open source search engine
Location based solutions maps & your location
Html5 workshop part 1
Android Workshop - Session 2
Android Workshop Session 1
Linux Seminar for Beginners
Linux advanced concepts - Part 2
Linux advanced concepts - Part 1
Linux concepts

Cloud Computing

  • 1. Fundamentals of Cloud Computing Prasoon Kumar Senior Technical Architect Justdial Ltd IWillStudy.com Cloud Summit Ahmedabad
  • 2. Introduction  Cloud Computing Industry is growing  According to Gartner, worldwide cloud services revenue is on pace to surpass $56.3 billion in 2009, a 21.3% increase from 2008 revenue of $46.4 billion, according to Gartner, Inc. The market is expected to reach $150.1 billion in 2013.  Businesses are increasing Cloud adoption  "We expect a great deal of migration towards cloud computing within the federal government in addition to the already robust private sector growth. The growth of the cloud should not outpace our ability to protect the data that goes into it..." ~ FormerWhite House advisor Paul Kurtz, partner with Good Harbor Consulting, LLC  How can IT leaders ensure security in the cloud? IWillStudy Cloud Summit Ahmedabad
  • 4. Cloud Basics  Cloud Characteristics  Service Models  SaaS  IaaS  PaaS  Deployment Models  Public  Private  Community  Hybrid IWillStudy Cloud Summit Ahmedabad
  • 5. Cloud Computing: Why Now?  Experience with very large datacenters  Unprecedented economies of scale  Transfer of risk  Technology factors  Pervasive broadband Internet  Maturity in Virtualization Technology  Business factors  Minimal capital expenditure  Pay-as-you-go billing model IWillStudy Cloud Summit Ahmedabad
  • 6. And in a non-Cloud view, there are inefficiencies in addressing those issues Allocated Load IT-capacities Forecast “Under-supply“ of capacities IT CAPACITY “Waste“ of Fixed cost of capacities IT-capacities Barrier for innovations Actual Load TIME
  • 7. However, in a Cloud View Load Allocated IT Forecast capacities No “under-supply“ IT CAPACITY Reduction of Possible “over-supply“ reduction of IT-capacities in case of Reduction reduced load of initial investments Actual Load Time
  • 9. Cloud Service Models  Software as a Service (SaaS)  Platform as a Service (PaaS)  Infrastructure as a Service (IaaS) IWillStudy Cloud Summit Ahmedabad
  • 10. Vendors  IaaS  PaaS  Amazon Elastic Compute  Force.Com Cloud (EC2)  Google App Engine  Eucalyptus  Windows Azure Platform  GoGrid  GoGrid CloudCenter  RackSpace Cloud  SaaS  Google Apps  SalesForce.Com  Oracle On Demand  SQL Azure IWillStudy Cloud Summit Ahmedabad
  • 11. Natural Evolution of the Web IWillStudy Cloud Summit Ahmedabad Source: Lew Tucker, Introduction to Cloud Computing for Enterprise Users
  • 12. Four Deployment Models IWillStudy Cloud Summit Ahmedabad
  • 13. Four Deployment Models IWillStudy Cloud Summit Ahmedabad
  • 14. Four Deployment Models IWillStudy Cloud Summit Ahmedabad
  • 15. Four Deployment Models IWillStudy Cloud Summit Ahmedabad
  • 16. “OpenStack is a collection of open source software projects that enterprises/service providers can use to setup and run their cloud compute and storage infrastructure.” — docs.openstack.org The OpenStack Consortium has grown rapidly in the past year: • NASA • Intel • Rackspace • Cisco • Citrix • HP • Dell • Over 140 others • AMD OpenStack services are available via Amazon’s S3 and EC2 APIs. Applications written for Amazon Web Services will work with OpenStack. IWillStudy Cloud Summit Ahmedabad
  • 17. Introducing Windows Azure Web applications WEB & CLOUDS Third party cloud Compute Storage Management Relational data Management Connectivity Access control Composite applications ON-PREMISES LOB Applications IWillStudy Cloud Summit Ahmedabad
  • 18. Google App Engine  Based on non-proprietary technology:  Java servlet API version 2.5 or  Python  Easy to learn  Rich tooling  Extendable (can use 3rd party tools like GWT, Guice, Spring, JSF, Struts, Grails, Restlet)  Commercial support  Google has proven they are good at this stuff IWillStudy Cloud Summit Ahmedabad
  • 20. GAE building blocks  Java Servlet Environment running in Java 6 sandbox  Version 2.5  Storing data  Object database != relational: denormalized -> optimized for reading  Designed for searching in very large datasets  Multiple flavours: JDO (and JPA or native), @nnotation based  Relationships: owned (1:1, 1:n) and unowned (1:n, n:1, n:n)  Entity groups  Transactions  Indexes  URL fetch  Integration with other systems through HTTP  Mail  Send and receive email  XMPP  Send and receive instant messages  Channel IWillStudy Cloud Summit Ahmedabad  Persistent connection: no need for client side polling
  • 21. GAE building blocks (continued) Blobstore  Manage large data chunks (like files, images)  Image processing  Transform, resize, change format  Memcache  Minimize datastore hits  Cron  Schedule repetitive, non-interactive jobs  Task Queues  Asynchronous, non-interactive background processing  Authentication and SSO  Google account  Open ID  Multi-tenancy  Support different user groups  Many 3rd party libraries  But not all! IWillStudy Cloud Summit Ahmedabad
  • 22. AWS Management Console  Central location to all your aws cloud apps  EC2  Beanstalk  S3  RDS  … IWillStudy Cloud Summit Ahmedabad
  • 23. Setting up EC2 account and tools  Create AMI signing certificate  mkdir ~/.ec2  cd ~/.ec2  openssl genrsa -des3 -out pk-<group>.pem 2048  openssl rsa -in pk-<group>.pem -out pk-unencrypt-<group>.pem  openssl req -new -x509 -key pk-<group>.pem -out cert-<group>.pem -days 1095  Share all three .pem files manually with group members  Troubleshooting: If your client date is wrong your certs will not work  Upload certificate to AWS via IAM page  Login at: https://283072064258.signin.aws.amazon.com/console  Account: 283072064258  Username: group** (e.g. group1, group10, group18)  Password: In email from Dr. Jin (12 digits, something like N9EzPxXGw0Gg)  Click IAM tab -> users -> select yourself (use right arrow if needed)  In bottom pane select “Security Credentials” tab and click “Manage Signing Certificates”  Click “Upload Signing Certificate”  cat ~/.ec2/cert-<group>.pem  Copy contents into „Certificate Body‟ textbox and click „OK‟
  • 24. 1 2 3 4 6 5
  • 25. Setting up EC2 account and tools  Retrieve and unpack AWS tools  wget http://s3.amazonaws.com/ec2-downloads/ec2-api-tools.zip  unzip ec2-api-tools.zip  Create ec2 initialization script  vi ec2-init.sh (you can use your preferred editor)  export JAVA_HOME=/usr  export EC2_HOME=~/ec2-api-tools-1.5.2.4  export PATH=$PATH:$EC2_HOME/bin  export EC2_PRIVATE_KEY=~/.ec2/pk-unencrypt-<group>.pem  export EC2_CERT=~/.ec2/cert-<group>.pem  source ec2-init.sh  This will need to be done every login  Alternately, put it in ~/.profile to have it done automatically on login  Test it out  ec2-describe-regions  ec2-describe-images -o self -o amazon  Troubleshooting  http://docs.amazonwebservices.com/AmazonEC2/gsg/2007-01-03/
  • 26. Setting up EC2 account and tools  Create a new keypair (allows cluster login)  ec2-add-keypair <group>-keypair | grep –v KEYPAIR > ~/.ec2/id_rsa-<group>- keypair  chmod 600 ~/.ec2/id_rsa-<group>-keypair  Only do this once! It will create a new keypair in AWS every time you run it  Share private key file between group members, keep it private  Don’t delete other groups’ keypairs!  Everyone has access to everyone else’s keypairs from the AWS console  EC2 tab ->Network and Security -> Keypairs  Troubleshooting  http://docs.amazonwebservices.com/AmazonEC2/gsg/2007-01-03/
  • 27. Cleanup Terminate your clusters when you’re done! They cost <personX> grant money ($1/hour for a full cluster of 9 nodes) You can always create more later hadoop-ec2 terminate <group>-cluster They can also be terminated manually from the AWS->EC2 console
  • 28. GAE Demo  Course Builder on Google App engine http://www.iwillstudy.com/group/cloudcomputing IWillStudy Cloud Summit Ahmedabad