16
http://www.opensourcetechnologies.com 1 Cloud Computing, Cloud Computing, Amazon EC2 Amazon EC2 & & S3 S3

Cloud Computing Amazon

Embed Size (px)

DESCRIPTION

This PPT is about Cloud Computing.

Citation preview

Page 1: Cloud Computing Amazon

http://www.opensourcetechnologies.com 1

Cloud Computing,Cloud Computing, Amazon EC2Amazon EC2 && S3S3

Page 2: Cloud Computing Amazon

Cloud ComputingCloud Computing

http://www.opensourcetechnologies.com 2

Cloud computing is the use of computing resources (hardware and software) that are delivered as services over a network (typically the Internet).

These services are broadly divided into three categories:

1) Infrastructure-as-a-Service (IaaS)

2) Platform-as-a-Service (PaaS)

3) Software-as-a-Service (SaaS)

The goal of cloud computing is to provide easy, scalable access to computing resources and IT services.

Page 3: Cloud Computing Amazon

Defining the CloudDefining the Cloud

http://www.opensourcetechnologies.com 3

In the context of cloud hosting there is no physical object which you can point to and label as the cloud. It’s more of an electronic structure where data is stored over many different computers and served up via a network connection, typically the Internet.

When you get into cloud hosting these server farms behave as one large storage space and processor. The actual website data (such as HTML/CSS files, images, etc.) is spread out over a cluster of hard drives connected together, much like one virtual disk with tremendous capacity. Server clusters can provide a cloud setup with literally unlimited machines to run through.

Page 4: Cloud Computing Amazon

Benefits of Cloud HostingBenefits of Cloud Hosting

http://www.opensourcetechnologies.com 4

1) Elasticity: This is the most important attribute of the Cloud. A user might start running host application on just a single server. But in no time, Cloud Computing enables user to scale the application to run on 100’s of servers. Once the traffic and usage of the application decreases, user can scale down to 10’s of servers. All this happens almost instantly and the best thing is the application and its users don’t even realize that.

2) Pay-By-Use: Elasticity and Pay-By-Use attributes go hand in hand. When users are scaling up or down their application by adding more resources, they know how much it is going to cost.

3) Self Service: When users are able to enjoy the capability of scaling up and scaling down and only pay for what they use, they never want to wait for someone in the datacenter to add an additional server for their application. Through the use of a web portal, cloud customers are able to automatically provision specific servers and network storage without human interaction, submit payment and invoice for services, and manage infrastructure and equipment inventories.

Page 5: Cloud Computing Amazon

Types of CloudsTypes of Clouds

http://www.opensourcetechnologies.com 5

A cloud can be private, public, community or hybrid.

A public cloud sells services to anyone on the Internet. (Currently, Amazon Web Services is the largest public cloud provider.)

Public Cloud is implemented on thousands of servers running across hundreds of data centers deployed across tens of locations around the world. The best thing about Public Cloud is that the customers can choose a location for his application to be deployed. This reduces the latency when the consumers access the application.

For example, a London based business can choose to deploy their app at the Europe data center and an American company prefers a data center in North America.

Page 6: Cloud Computing Amazon

http://www.opensourcetechnologies.com 6

A private cloud is a proprietary network or a data center that supplies hosted services to a limited number of people.

Private Clouds are normal data centers within an enterprise with all the 4 attributes of the Cloud – Elasticity, Self Service, Pay-By-Use and Programmability.

By setting up a Private Cloud, enterprises can consolidate their IT infrastructure.

Private Cloud borrows some of the best practices of Public Cloud but limited to an organizational boundary.

Private Cloud can be setup using a variety of offerings from vmWare, Microsoft, IBM, SUN and others. There are also some of the Open Source implementations like Eucalyptus and Ubuntu Enterprise Cloud.

Page 7: Cloud Computing Amazon

http://www.opensourcetechnologies.com 7

Community Cloud is implemented when a set of businesses have a similar requirement and share the same context. This would be made available to a set of select organizations.

So, a Community Cloud is a sort of Private Cloud but goes beyond just one organization.

Page 8: Cloud Computing Amazon

http://www.opensourcetechnologies.com 8

Hybrid Cloud: The hybrid cloud infrastructure is a composition of two or more clouds (private, community, or public) that remain unique entities but are bound together by standardized or proprietary technology that enables data and application portability.

Using a Hybrid approach companies can maintain control of an internally managed private cloud while relying on the public cloud as needed.

Page 9: Cloud Computing Amazon

Cloud Hosting vs. Traditional HostingCloud Hosting vs. Traditional Hosting

http://www.opensourcetechnologies.com 9

In Cloud hosting, the user have the ability to control how many resources are in use at any given point in time.

Traditional hosting services generally provide a fixed number of resources for a fixed amount of time, meaning that users have a limited ability to easily respond when their usage is rapidly changing, unpredictable, or is known to experience large peaks at various intervals.

Secondly, many hosting services don’t provide full control over the compute resources being provided.

Using cloud hosting, developers can choose not only to initiate or shut down instances at any time, they can completely customize the configuration of their instances to suit their needs – and change it at any time.

Page 10: Cloud Computing Amazon

http://www.opensourcetechnologies.com 10

Finally, with cloud hosting, developers enjoy the benefit of paying only for their actual resource consumption – and at very low rates. Most hosting services require users to pay a fixed, up-front fee irrespective of their actual computing power used, and so users risk overbuying resources to compensate for the inability to quickly scale up resources within a short time frame.

Page 11: Cloud Computing Amazon

Popular ProvidersPopular Providers

http://www.opensourcetechnologies.com 11

-Amazon Web Services

-Rackspace

-CenturyLink/Savvis

-Salesforce.com

-Verizon/Terremark

-Joyent

-Citrix

-Bluelock

-Microsoft

-VMware

Page 12: Cloud Computing Amazon

Amazon EC2Amazon EC2

http://www.opensourcetechnologies.com 12

Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud.

EC2 allows users to rent virtual computers on which to run their own computer applications.

To use the EC2, a subscriber creates an Amazon Machine Image (AMI) containing the operating system, application programs and configuration settings. Then the AMI is uploaded to the Amazon Simple Storage Service (Amazon S3) and registered with Amazon EC2, creating a so-called AMI identifier (AMI ID).

Once this has been done, the subscriber can request virtual machines on an as-needed basis. Capacity can be increased or decreased in real time from as few as one to more than 1000 virtual machines simultaneously. Billing takes place according to the computing and network resources consumed.

Page 13: Cloud Computing Amazon

AmazonAmazon SimpleSimple StorageStorage Service (AmazonService (Amazon S3)S3)

http://www.opensourcetechnologies.com 13

Amazon S3 provides a simple web services interface that can be used to store and retrieve any amount of data, at any time, from anywhere on the web.

It gives any developer access to the same highly scalable, reliable, secure, fast, inexpensive infrastructure that Amazon uses to run its own global network of web sites. The service aims to maximize benefits of scale and to pass those benefits on to developers.

Just like a bucket holds water, Amazon S3 buckets are like a container for your files.

S3 stores arbitrary objects (computer files) up to 5 terabytes in size, each accompanied by up to 2 kilobytes of metadata. Objects are organized into buckets (each owned by an Amazon Web Services or AWS account), and identified within each bucket by a unique, user-assigned key.

Page 14: Cloud Computing Amazon

Spreading images in S3Spreading images in S3

http://www.opensourcetechnologies.com 14

The AWS account provides an option to create buckets.

FTP

images

Site developed in Joomla. All the images are stored

in an directory on FTP server. S3

JA Amazon S3 is a component provided to interact with the AWS account. It can be associated with AWS account (using account id,accessKeyId, SecretKey) and the buckets created in the account can be fetched. These buckets can then be associated with the required directory to be uploaded to S3 and data transferred to cloud.

Bucket

Bucket

Bucket

Bucket

Lorem ipsum dolor sit amet,consectetur adipisicing elit,

sed do eiusmod tempor incididuntut labore et dolore magna aliqua.

When the user views the site, the imagesare then fetched from the nearest S3 storageinstead of ftp server directory thus making itfaster to load the webpage.

Page 15: Cloud Computing Amazon

Using Amazon S3 classesUsing Amazon S3 classes

http://www.opensourcetechnologies.com 15

Once the ftp directories are sync with S3 though JA Amazon S3 component, a copy of image is placed on S3.

When admin or user uploads new images to website, the bucket sync is processed again and the newly uploaded images are copied to S3.

So first the images are copied to ftp and then to S3. However, once the images are copied to S3, the same are not deleted from the ftp server thus consuming space on ftp as well as S3.

At OSTOST, we extended the use of Amazon S3 classes to upload image directly to S3 and in the process by-passing the ftp folder. This way the images are only on S3 and thus reducing the load on ftp.

Page 16: Cloud Computing Amazon

Thank YouThank You

E-mail us at: [email protected]

+91-9312222750 +1 330-775-2493

http://www.opensourcetechnologies.com 16