29
Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

Embed Size (px)

Citation preview

Page 1: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

Cloud Computing & Amazon Web Services – EC2

Arpita Patel

Software Engineer

Page 2: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

Agenda

• Cloud Computing Basics

• Advantages of Cloud Computing

• Types of Cloud Computing

• Amazon Web Services• Amazon EC2 -Demo

• AMI, instance, key pairs, security group, Availability Zone, Regions etc.

Page 3: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

What is Cloud Computing? A model for delivering information technology services, in which

resources like services, storage, networking, apps etc. are retrieved from the internet, through web based tools and applications, rather than a direct connection to a server.

The term “moving to cloud” refers to an organization moving away from traditional CAPEX model (buy the dedicated hardware and depreciate it over a period of time) to the OPEX model (use a shared cloud infrastructure ) with state of the art technology, OS and “pay as you go” features.

In cloud computing, the word cloud is used as a metaphor for “the Internet” so the phrase cloud computing means “ a type of internet based shared computing” where different services – such as web services, storage and applications are delivered to an organization’s computers and devices through the internet.

Page 4: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

Advantages of Cloud Computing

Agility – where users has independence to re-provision a technological infrastructure of the organization.

Cost – pay as you go service, no need to purchase any heavy server and storage equipment.

Device and location independence – As cloud infrastructure is offsite and an access via the internet, user can connect from anywhere and any device.

Maintenance – As organization does not need to install any physical device on their location, so there is no pain of maintenance or IT support.

Page 5: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

Advantages of Cloud ComputingMulti-tenancy – Enables sharing of cloud resources (server, storage & apps) among large number of users without worrying about load capacity, efficiency and utilisations.

Performance - is good because of consistent and loosely coupled architecture.

Security – is more than owing an infrastructure as cloud providers always follows disaster recovery, latest operating systems, high end data storage, backup services, networking services, mirrored websites, internet based clusters.

Unlimited Computing Power and storage – Organization as ability to increase the memory, processing power and another hardware configuration at any point during their usage.

Page 6: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

Types of Cloud ServicesBased on

cloud location, we can classify

cloud as:

Public Private Hybrid Community

Page 7: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

Types of Cloud ComputingBased on a service

that the cloud is offering:

IaaS (Infrastructure-as-a-Service) = Cloud Infrastructure Servicee.g. :- AWS(Amazon web services), Windows Azure, Google Compute Engine (GCE)

PaaS (Platform-as-a-Service) = Cloud Platform Service e.g. :- Google App Engine, Engine Yard. Google claims it has 200,000 developers building applications on top of its App Engine PaaS.

SaaS (Software-as-a-Service) = Cloud Application Servicee.g. :- Google Docs, Gmail, Cisco Webex, Salesforce, Citrix GoToMeeting

Page 8: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

Amazon Web Services (AWS) & EC2

Page 9: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

Welcome to Amazon Web Services AWS is a collection of remote computing services or known as web services that

together make a cloud computing platform and offer various different services like storage, large computing capacity, content delivery, deployment, security etc. over the Internet.

Most of the AWS are offering functionality via HTTP, REST and SOAP protocols.

It is one of the early and also the most successful implementations of Public

Cloud.

AWS offers a flexibility where organization has full freedom of selecting Operating System, Storage configuration, applications etc.

The most central, common and well known AWS are EC2 and S3.

Page 10: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

What is Amazon EC2?

1

• Amazon EC2 also known as Amazon Elastic Compute Cloud provides resizable computing capacity in the Amazon Web Services (AWS) cloud. Allows users to rent virtual computers on Amazon Cloud.

2

• Using EC2, it eliminates the need to invest in computing hardware up front, which saves money but also allows applications to develop and deploy faster.

3

• EC2 allows scalable deployment of applications by providing a web service, through which a user can boot an AMI (Amazon machine image) to create a virtual machine, which Amazon calls an "instance“

4

• EC2 instance will automatically scale up to add capacity to handle the extra traffic. It supports Elastic load balancing for better service.

5

• Amazon EC2 has Elastic Block Store (Amazon EBS) and Auto Scaling capabilities to make it easy for better performance and availability for your applications.

Page 11: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

Demo- Amazon EC2 Url: - http://aws.amazon.com/

Sign Up or Login.

Bhavin Patel
Page 12: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

Launch an instance Login to AWS Management Console -> Click on Services -> Amazon EC2.

Click on Region to launch -> Launch Instance.

Page 13: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

Choose an AMI Follow Steps.

Page 14: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

Choose Instance Type

Page 15: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

Configuration Details

Page 16: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

Storage Details

Page 17: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

Tag Instance

Page 18: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

Security Group

Page 19: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

Review Launch Instance

Page 20: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

Public and Private KeyPair AWS uses public key cryptography to encrypt and decrypt login information.

AWS stores public key and gives us private key to store.

Page 21: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

Products in AWS Management ConsoleC

om

pute

EC2 Provides virtual, scalable private servers using Xen

Sto

rage

S3 Simple Storage Service - It provides the storage based on the web service calls.

Glacier

It provides long term data storage option where

organization has to access the data with low frequent access time.

Netw

ork

ing

VPC Virtual Private Cloud – It creates logically virtual VPC

instance of EC2 for each VPN connection.

Data

base

RDS Relational Database Service – RDS provides database

solution with MySQL, Oracle, SQL Server, PostgreSQL etc.

Simple DB

Allows developers to run query on structure data. It operates

in EC2 and S3 environment.

Dynamic DB

It is no SQL online database service.

Page 22: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

Regions and Availability Zones (AZ) Amazon EC2 resources are either global, tied to

a region, or tied to an Availability Zone. 

Amazon EC2 is running in multiple regions.

Each region has multiple, isolated locations knows as Availability Zone.

Each availability zone runs on its own physically distinct, independent infrastructure, and is engineered to be highly reliable.

They are physically separate, such that any disasters such as fires, tornados or flooding would only affect a single Availability Zone.

Page 23: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

What is AMI & Instances? AMI is Amazon Machine Image.

It is a template that contains a software configuration. (e.g. OS, App Server and Apps)

Instances – From an AMI, you can launch an instance.

You can launch multiple instances of an AMI.

Instance could be turned on or off based on the usage.

Page 24: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

Private, Public and Elastic IP

Private IP – Amazon provides Private IP when you launch an instance. This can be used for communication

between the interfaces.

Public IP – Amazon also provides public IP to communicate between instance and internet.

Elastic IP – To assign static IP address to your EC2 instance. If you reboot the instance a new Public IP address is assigned. To reserve the IP address, use

Elastic IP.

Page 25: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

EC2 – Types of instances

Page 26: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

Use CaseTraditional Capacity Server - 2

Capacity of only 1 server

1 server instance for 8 hrs. 1 server instance for 8 hrs. 1 server instance for 8 hrs.

2nd server instance for high traffic 8 hrs.

At the end of the day, 1/3rd savings with EC2

Page 27: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

What next ? Visit my blog : http://arpitapatel.wordpress.com

Get started free : http://aws.amazon.com/

More info : http://docs.aws.amazon.com/AWSEC2/latest/UserGuide

Videos:

Page 29: Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer

Thank You all …!

Questions & Feeback?