You are on page 1of 42

Unit 4

Working with Public Cloud

PUBLIC Copyright @ 2018, Infosys Limited


Copyright Guideline
© 2017-2018 Infosys Limited, Bangalore, India. All Rights Reserved.

Infosys believes the information in this document is accurate as of its publication date;
such information is subject to change without notice. Infosys acknowledges the
proprietary rights of other companies to the trademarks, product names and such other
intellectual property rights mentioned in this document. Except as expressly permitted,
neither this documentation nor any part of it may be reproduced, stored in a retrieval
system, or transmitted in any form or by any means, electronic, mechanical, printing,
photocopying, recording or otherwise, without the prior permission of Infosys Limited
and/ or any named intellectual property rights holders under this document.

PUBLIC Copyright @ 2018, Infosys Limited 2


• What is Public Cloud
• Public Cloud Advantages
• Public Cloud – Why and When?
• Public Cloud Drawbacks
Working with Public • Public Cloud Vendors and Offerings
Cloud - Offerings by IAAS
- Offerings by PAAS
- Offerings by SAAS
• Public Cloud Vendors
- Amazon Web Services
- Google App Engine
- Windows Azure Platform
PUBLIC Copyright @ 2018, Infosys Limited 3
What is Public Cloud?

PUBLIC Copyright @ 2018, Infosys Limited


Public Cloud

• Open for General Public


• Free and Paid Models - Register yourself at CSP’s website
• Highest level of efficiency
• Owned by a user, an industry, a government organization
• Shared Data Center- Security is a big concern!!

PUBLIC Copyright @ 2018, Infosys Limited 5


Public Cloud Advantages

PUBLIC Copyright @ 2018, Infosys Limited


Advantages of Public Cloud

• Data Availability and Continuous Uptime


• Utility Price Model
• Configure & Pay Online
• API access
• On Demand Scalability
• 24/7 technical expertise
• No physical network boundaries

PUBLIC Copyright @ 2018, Infosys Limited 7


Public Cloud – Why and When?

PUBLIC Copyright @ 2018, Infosys Limited


Why Public Cloud?

• Reduce costs
ƒ Avoid Capital expense of owning servers

• Minimize financial and business risks


ƒ Simplify the planning required on identifying the correct number of servers
ƒ To minimize both the financial risk of owning too many servers and the business risk
of not owning enough servers

• Conserve resources for Core projects instead of IT


ƒ Spend more time on Core business instead of IT Infrastructure

PUBLIC Copyright @ 2018, Infosys Limited 9


When Public Cloud?

• For startups to grow fast instantly


• For periodic processing at certain period of times
• For pre-defined burst events which demands high utilization
• For unpredictable utilizations by users

PUBLIC Copyright @ 2018, Infosys Limited 10


Public Cloud Drawbacks

PUBLIC Copyright @ 2018, Infosys Limited


Drawbacks of Public Cloud

• Security & Compliance


– Large enterprises prefer private over public cloud. Security and compliance is their top
priority
• Data Loss – No High Availability Fail Over
– Public cloud offer less availability when compared to private cloud. Also if the host
server fails, all tenants have a risk of loosing their data.
• Fraud & Spammers
– There are 100s of public cloud providers in the market. Because of less control over the
data, fraud rates are higher in case of public cloud
– Quick reach and ease of deployment lead to fraudulent users launching cloud servers
on a stolen credit card.

PUBLIC Copyright @ 2018, Infosys Limited 12


Public Cloud Vendors and Offerings

PUBLIC Copyright @ 2018, Infosys Limited


Public Cloud Vendors

Cloud Integration - Integration of Hybrid


Clouds, value added services etc.

SAAS – Multitenant functional


applications

PAAS - Development and Testing Stacks

IAAS - Virtualization, public, private or


hybrid computing and storage as a
service

PUBLIC Copyright @ 2018, Infosys Limited


Offerings By IAAS Vendors – Compute

• A Public Cloud IAAS vendor provides compute capacity in the cloud

• The compute capacity is offered as Virtual Machines with complete control of the virtual
machines

• The virtual machines can be provisioned on-demand and the users pay only for what
they use.

PUBLIC Copyright @ 2018, Infosys Limited 15


Offerings By IAAS Vendors – Storage

• A Public Cloud IAAS vendor provides storage capacity in the cloud to store and retrieve
data

• Data stored can be either structured or unstructured

• The consumer is charged only for the amount of storage allocated (reserved) or data
stored

PUBLIC Copyright @ 2018, Infosys Limited 16


Offerings By IAAS Vendors – Network

• A Public Cloud IAAS vendor provides the network infrastructure to access other
resources such as Compute, Storage etc. over the internet

• The consumer is charged for the amount of data transferred through the provider’s
infrastructure.

• The data transfer can be:


• Client network to Public Cloud provider’s network. Client can also be end users.
• Between the resources within the Public Cloud provider’s network

PUBLIC Copyright @ 2018, Infosys Limited 17


Offerings By PaaS Vendors

AWS provides its users a fully managed PAAS which is called Beanstalk.
EBS is a blessing for programmers which can handle the deployment
details, provisioning the capacity automatically, balance the load between
nodes ,take care of scaling the application automatically and monitor the
application health for you.

Appistry reduces the delivery time of any application by 60%. Also it helps
reducing the cost heaving and increasing the management efficiency.

GCP is a perfect platform for developers which lets users develop, build
and deploy applications with ease.

Azure is one of the leaders in PAAS that offers seamless hosting and
management services.

PUBLIC Copyright @ 2018, Infosys Limited 18


Offerings By SaaS Vendors

• There are many types of services that are offered by SAAS mainly in these core
areas

Business
Collaboration Demand
Intelligence & CRM
Generation
Analytics

Document Finance & Human Social


Management Accounting Resources Enterprise
Tools

PUBLIC Copyright @ 2018, Infosys Limited 19


Public Cloud Vendors:

AWS- Amazon web services

PUBLIC Copyright @ 2018, Infosys Limited


Amazon Web Services (AWS) Overview

• Launched in 2006
• Collection of remote computing services offered over the Internet by Amazon
• Accessible over HTTP/HTTPS, using REST or SOAP
• Billed on usage
• Data centers in US, Europe (Ireland) and Asia-Pacific(Singapore)

PUBLIC Copyright @ 2018, Infosys Limited 21


Global Reach

• Hundreds of thousands of customers


• Over 190 countries
• Over 800 government agencies
• Over 3000 Academic institutions
• 280 significant features and services launched in 2013.

PUBLIC Copyright @ 2018, Infosys Limited 22


AWS Architecture

Source: http://aws.amazon.com

PUBLIC Copyright @ 2018, Infosys Limited 23


AWS Services

Amazon primarily offers services in six different domains:


• Networking
• Compute
• Storage
• Database
• Application services
• Deployment and management

We will discuss about Compute and Storage Services.

PUBLIC Copyright @ 2018, Infosys Limited 24


AWS Compute Services

• AWS offers several services that address the computational needs of users operating in
the cloud.
• It includes computing instances which can scale up and down automatically to meet the
needs of the application, load balancing services, as well as fully managed desktops in the
cloud
• The below are the AWS compute services:
– Amazon EC2
– Auto Scaling
– Elastic Load Balancing

PUBLIC Copyright @ 2018, Infosys Limited 25


AWS Compute Services: EC2

• EC2 is a web service that provides its users with resizable compute capacity
• EC2 instances = Virtual Servers (Virtual Machines)
• It provides
– Resizable compute capacity in 22 instance types
– Reduces the time required to obtain and boot new server instances to minutes or
seconds

PUBLIC Copyright @ 2018, Infosys Limited 26


How EC2 Works

• Virtualization is employed to create ‘Virtual Machines’


• Each Virtual Machine functions as a Virtual Private Server
• EC2 uses XEN Virtualization to create the ‘instances’ or Virtual Machines

PUBLIC Copyright @ 2018, Infosys Limited 27


AWS Compute Services: Elastic Load Balancing(ELB)

• Automatically distributes incoming application traffic across multiple Amazon EC2


instances
• Dynamically grows and shrinks resources based on traffic
• Seamlessly integrates with Auto scaling to add/remove instances based on scaling
activities
• Support load balancing of applications using HTTP, HTTPS, SSL and TCP protocols

PUBLIC Copyright @ 2018, Infosys Limited 28


AWS ELB Features

• High Availability
• Health Checks
• Security Features
• SSL Offloading
• Sticky Sessions
• Operational Monitoring
• Logging
• lPv6 Support

PUBLIC Copyright @ 2018, Infosys Limited 29


AWS Compute Services: Auto Scaling

• Automatically scale Amazon EC2 capacity.


• Scale customer’s Amazon EC2 capacity automatically and shed unneeded Amazon EC2
instances automatically.
• Well suited for applications that experience variability in usage.
• Is enabled by Amazon Cloud Watch and carries no additional fees.

PUBLIC Copyright @ 2018, Infosys Limited 30


AWS Storage Services

• Amazon Elastic Block Store: Persistent block store for use with Amazon EC2.
• Amazon Simple Storage Service: A durable, scalable object store.
• Amazon Glacier: A storage service that provides secure and durable data archiving and
backup.

PUBLIC Copyright @ 2018, Infosys Limited 31


AWS Storage Services : Elastic Block Store

• Block Storage Volumes


• Block storage volumes from 1 GB to I TB for use with Amazon EC2instances.
• Create a file system on top of Amazon EBS.
• Attach to running instances - expose as block storage device.
• Volumes can be backed-up as snapshots to Amazon S3 durability.
• Provision a specific level of I/O performance.

PUBLIC Copyright @ 2018, Infosys Limited 32


Object Storage vs. Block Storage

PUBLIC Copyright @ 2018, Infosys Limited 33


AWS Storage Services : Simple Storage Service

• Scalable Storage in the Cloud


• Durable, scalable object store.
• Store and retrieve any amount of data, any time, from anywhere on the web.
• Store data with up to 99.99999999999% durability, with 99.99% availability.
• Store objects in buckets and retrieve using a unique developer assigned key.
• Store buckets in one of several AWS Regions.

PUBLIC Copyright @ 2018, Infosys Limited 34


AWS Storage Services : Glacier

• Secure and durable data archiving and backup


• Optimized for data that is infrequently access and for which retrieval times of several hours
are suitable.
• Designed to provide average durability of 99.99999999999% for an archive

PUBLIC Copyright @ 2018, Infosys Limited 35


Public Cloud Vendors:

Google Cloud Platform(GCP)

PUBLIC Copyright @ 2018, Infosys Limited


Google Cloud Platform(GCP)

• GCP is Google’s public cloud, provides a platform on Google’s infrastructure for building
and hosting web applications
• It uses multiple servers to run an application and store data using virtualization technology
• Automatically adjusts the number of servers to handle requests reliably

PUBLIC Copyright @ 2018, Infosys Limited 37


Public Cloud Vendors:

Windows Azure Platform

PUBLIC Copyright @ 2018, Infosys Limited


Windows Azure Platform

• Windows Azure platform is Microsoft’s Platform as a Service (PAAS) offering


• It is Microsoft’s platform to create applications that can run on the cloud and to use
services provided by the cloud
• The components of Azure platform can be accessed by both the applications running in the
cloud and by on premise applications

PUBLIC Copyright @ 2018, Infosys Limited 39


Azure Architecture

Source: https://azure.microsoft.com/en-in/documentation/
PUBLIC Copyright @ 2018, Infosys Limited 40
Learning Outcomes
After going through this unit, you are able to :
• Identify the scenarios when to migrate to a public cloud
• Compare the different public cloud vendors based on their service offering
• Create and configure a virtual machine (VM) using AWS EC2 service
• Host a web application on AWS
• Create and configure a load balancer using AWS ELB service
• Use the Autoscaling service to manage the increased traffic
• Expand the block level storage capacity of AWS EC2 instance using EBS volume
• Efficiently store and retrieve data in real time using the object storage service S3

PUBLIC Copyright @ 2018, Infosys Limited 41


Thank You

PUBLIC Copyright @ 2018, Infosys Limited 42

You might also like