Upload
mae-jones
View
214
Download
0
Tags:
Embed Size (px)
Citation preview
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.
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.
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.
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.
Types of Cloud ServicesBased on
cloud location, we can classify
cloud as:
Public Private Hybrid Community
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
Amazon Web Services (AWS) & EC2
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.
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.
Demo- Amazon EC2 Url: - http://aws.amazon.com/
Sign Up or Login.
Launch an instance Login to AWS Management Console -> Click on Services -> Amazon EC2.
Click on Region to launch -> Launch Instance.
Choose an AMI Follow Steps.
Choose Instance Type
Configuration Details
Storage Details
Tag Instance
Security Group
Review Launch Instance
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.
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.
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.
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.
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.
EC2 – Types of instances
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
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:
Small Giveaway – eBooks
Thank You all …!
Questions & Feeback?