SlideShare a Scribd company logo
THE IOT ACADEMY
The IoT Academy_awstraining_part2_aws_ec2_iaas
An overview of AWS
 AWS is Amazon’s umbrelladescription of all of their web-based
technology services.
 Mainly infrastructure services:
◦ Amazon Elastic Compute Cloud (EC2)
◦ Amazon Simple Storage Service (S3)
◦ Amazon Simple Queue Service (SQS)
◦ Amazon CloudFront
◦ Amazon SimpleDB
 Amazon EC2 is hiring
◦ http://aws.amazon.com/ec2-jobs/
Amazon EC2
 EC2 provides web services API for provisioning, managing, and
deprovioning virtual servers inside amazon cloud.
 Applicationsanywhere on the Internet can launch a virtual server in the
amazon cloud with a single web services call (either REST or SOAP WS
call)
 Where is SOAP API? For example,http://docs.amazonwebservices.com/AmazonEC2/dg/2006-06-
26/using-soap-api.html
Storage
 Instance –store : disappearswith the instance (transient)
 Block storage: SAN-like,persists across time
 S3 is independentof an instance: for archival purposes: vault: store it now
and retrieve it at a later date
 Amazon: SimpleDB: Relational database better than MySQl or Oracle for
reliability.
Amazon Cloud-front
 Cloud-basedcontent distributing network enablesyou to place the
content at the edges of the network for rapid delivery.
 Place the contents in S3 and run the applicationfrom anywhere and the
content is moved to where the application is (to the edges).
S3
 Amazon web services API support the ability to:
 Find buckets and objects
 Discover their meta data
 Create new buckets
 Upload new objects
 Delete existing buckets and objects
 When manipulating the buckets you can optionally specify where they should
be stored.
 Use REST API preferably something that abstracts out even that: Jets3t; s3cmd
(command line)
 BitTorrent access to S3 is also available
Bucket Naming
 Flat namespace
 Names may contain only lowercase letters, numbers, periods,
underscores, and dashes, and must start with a number or letter
 Create your own namespace with your own bcukets
EC2 concepts
 See figure 2.1
 Instance: virtual server running a guest os of your choice
 AMI: Pristine image of your server so that you can launch any numberof
instance from this. Minimallymachine image will operating systems +
pre-installed tools.
 Elastic IP address: Not static not dynamic but elastic; an IP reserved for
your use; disappearsonce the server is terminated.
EC2 (contd.)
 Availability zone: Any two availability zones are guaranteed to share
any common points of failure ( US, EU, Asia/Pacific)
 Security group: define the firewall/security. Defines what can talk to
your instances. (Ex; http, and not sftp etc.)
 Snap shot: You can take snapshots of block volume (that can be
formatted etc) and is stored in S3 for later use or for rollback etc.
 What is the difference between instances and machine images?
How to access Ec2?
 AWS console http://console.aws.amazon.com
 The ElasticFox firefox plugin
 The amazon command line tool
Typical Use in an organization
 Maintain a library of AMIs for the business
 May contain legacy systems or company-specific systems
 Harden AMIs using such software as Bastille
 Launch instances for non-technical but domain experts to work
with.
 What will you provide them so that they can start working?
 Use S3 for archival storage and shared storage
What is Infrastructure as a Service ?
 A categoryof cloud services which providescapabilityto
provisionprocessing, storage, intra-cloudnetworkconnectivity
services, and otherfundamental computing resources of the
cloud infrastructure.
Source- [ITU –Cloud Focus Group]
Diagram Source: Wikipedia
Highlights of IaaS
 On demand computing resources
 Eliminate the need of far ahead planning
 No up-front commitment
 Start small and grow as required
 No contract, Only credit card!
 Pay for what you use
 No maintenance
 Measured service
 Scalability
 Reliability
What is EC2 ?
 Amazon Elastic Compute Cloud (EC2) is a web
service that provides resizeablecomputing capacity
that one uses to build and host different software
systems.
 Designed to make web-scalecomputing easier for
developers.
 A user can create, launch, and terminate server
instances as needed, paying by the hour for active
servers, hence the term "elastic".
 Provides scalable, pay as-you-go compute capacity
 Elastic - scales in both direction
EC2 Infrastructure Concepts
EC2 Concepts  AMI & Instance
 Region & Zones
 Storage
 Networking and Security
 Monitoring
 Auto Scaling
 Load Balancer
Amazon Machine Images (AMI)
 Is an immutablerepresentation of a set of disks that contain an operating
system, userapplications and/or data.
 From an AMI, one can launch multiple instances,which are running copies
of the AMI.
AMI and Instance
 Amazon Machine Image (AMI) is a template for
software configuration (Operating System,
Application Server, and Applications)
 Instance is a AMI running on virtual servers in the
cloud
 Each instance type offers different compute and
memory facilities
Diagram Source: http://docs.aws.amazon.com
The IoT Academy_awstraining_part2_aws_ec2_iaas
Region and Zones
 Amazon have data centers in different region across the globe
 An instance can be launched in different regions depending on the need.
 Closer to specific customer
 To meet legal or other requirements
 Each region has set of zones
 Zones are isolated from failure in other zones
 Inexpensive, low latency connectivity between zones in same region
Storage
 Amazon EC2 provides three typeof storageoption
 Amazon EBS
 Amazon S3
 Instance Storage
Diagram Source: http://docs.aws.amazon.com
Elastic Block Store(EBS) volume
 An EBS volume is a read/write disk that can be created by an AMI and mounted
by an instance.
 Volumes are suited for applications that require a database, a file system, or
access to raw block-level storage.
Amazon S3
 S3 = Simplestorage Service
 A SOA – Service Oriented Architecture which provides online storage
using web services.
 Allowsread, write and delete permissions on objects.
 Uses REST and SOAP protocols for messaging.
Amazon SimpleDB
 Amazon SimpleDB is a highly available, flexible,and
scalablenon-relational data store that offloadsthe
work of databaseadministration.
 Creates and manages multiplegeographically
distributed replicas of your data automaticallyto
enable high availabilityand data durability.
 The service charges you only for the resources
actuallyconsumed in storing your data and serving
your requests.
Networking and Security
 Instances can be launchedon one of the two platforms
 EC2-Classic
 EC2-VPC
 Each instance launched is assignedtwo addresses a privateaddress and a public IP address.
 A replacement instance has a different public IP address.
 Instance IP address is dynamic.
 new IP address is assigned every time instance is launched
 Amazon EC2 offers ElasticIP addresses (staticIP addresses) for dynamiccloud computing.
 Remap the Elastic IP to new instance to mask failure
 Separate pool for EC2-Classic and VPC
 Security Groups toaccess control to instance
Monitoring, Auto Scaling, and Load Balancing
 Monitor statistics of instances and EBS
 CloudWatch
 Automatically scales amazon EC2 capacity up and down based on rules
 Add and remove compute resource based on demand
 Suitable for businesses experiencing variability in usage
 Distribute incoming traffic across multiple instances
 Elastic Load Balancing
How to access EC2
 AWS Console
 http://console.aws.amazon.com
 Command Line Tools
 Programmatic Interface
 EC2 APIs
 AWS SDK
AWS Management Console
The IoT Academy_awstraining_part2_aws_ec2_iaas
References
 Mobile cloud computing: Big Picture by M. Reza Rahimi
 http://aws.amazon.com/ec2,
http://docs.aws.amazon.com
 Amazon Elastic Compute Cloud – User Guide, API
Version 2011-02-28.
 Above the Clouds: A Berkeley View of Cloud Computing -
Michael Armbrust et.al 2009
 International telecommunication union – Focus Group
Cloud Technical Report
The IoT Academy_awstraining_part2_aws_ec2_iaas

More Related Content

PPTX
Case study of amazon EC2 by Akash Badone
Akash Badone
 
PDF
Amazon EC2
sonal parmar
 
PPTX
Amazon Web Service EC2 & S3
Pravin Vaja
 
PPTX
Aws101
Shaimaa Esmaeil
 
PDF
Cloud Computing With Amazon Web Services, Part 1: Introduction - When It's Sm...
white paper
 
PPTX
Amazon services ec2
Ismaeel Enjreny
 
PDF
The Advantages of Using a Private Cloud Over a Virtual Private Cloud
Whizlabs
 
PPTX
Amazon ec2
Joydip Ghosh
 
Case study of amazon EC2 by Akash Badone
Akash Badone
 
Amazon EC2
sonal parmar
 
Amazon Web Service EC2 & S3
Pravin Vaja
 
Cloud Computing With Amazon Web Services, Part 1: Introduction - When It's Sm...
white paper
 
Amazon services ec2
Ismaeel Enjreny
 
The Advantages of Using a Private Cloud Over a Virtual Private Cloud
Whizlabs
 
Amazon ec2
Joydip Ghosh
 

What's hot (16)

DOCX
Amazon cloud
Narendra
 
PPTX
Amazon ec2
Anu DeeP
 
PDF
Cloud Computing With Amazon Web Services, Part 3: Servers on Demand With EC2
white paper
 
PDF
Aws cli
Anh Vu Pham
 
PDF
July in aws
Bansi Pathak
 
PPTX
AWS Elastic Compute Cloud (EC2)
zekeLabs Technologies
 
PPTX
AWS Basics
OptimalBI Limited
 
PDF
Aws services terminology
n191975
 
PPT
Aws oct18
Praveen Thakur
 
PPTX
Amazon elastic compute cloud
kavyagaur3
 
PPTX
Aws tutorial for beginners- tibacademy.in
TIB Academy
 
ODP
Amazon EC2: What is this and what can I do with it?
Juan Vicente Herrera Ruiz de Alejo
 
PDF
How To Create instances in AWS EC2 | Edureka
Edureka!
 
PDF
Fault Tolerant Applications on AWS
Amazon Web Services LATAM
 
PPTX
13h00 aws 2012-fault_tolerant_applications
infolive
 
PDF
IBM Spectrum Scale on the Cloud
Tony Pearson
 
Amazon cloud
Narendra
 
Amazon ec2
Anu DeeP
 
Cloud Computing With Amazon Web Services, Part 3: Servers on Demand With EC2
white paper
 
Aws cli
Anh Vu Pham
 
July in aws
Bansi Pathak
 
AWS Elastic Compute Cloud (EC2)
zekeLabs Technologies
 
AWS Basics
OptimalBI Limited
 
Aws services terminology
n191975
 
Aws oct18
Praveen Thakur
 
Amazon elastic compute cloud
kavyagaur3
 
Aws tutorial for beginners- tibacademy.in
TIB Academy
 
Amazon EC2: What is this and what can I do with it?
Juan Vicente Herrera Ruiz de Alejo
 
How To Create instances in AWS EC2 | Edureka
Edureka!
 
Fault Tolerant Applications on AWS
Amazon Web Services LATAM
 
13h00 aws 2012-fault_tolerant_applications
infolive
 
IBM Spectrum Scale on the Cloud
Tony Pearson
 
Ad

Similar to The IoT Academy_awstraining_part2_aws_ec2_iaas (20)

PPT
Aws coi7
Jeevan Dongre
 
PPTX
cloudcomputing.pptx
Siva453615
 
PPTX
Cloud Computing
Biswajit Pratihari
 
PPTX
cloud computing notes for engineering.pptx
pradeena937556
 
PPTX
Amazon Web Services and its Global Infrastructure.pptx
GSCWU
 
PPTX
Amazon Web Services(AWS) in cloud Computing .pptx
GSCWU
 
PPTX
Cloudcomputing
sree raj
 
PPT
Fowa Miami 09 Cloud Computing Workshop
Mark Masterson
 
PPTX
AWS Distilled
Jeyaram Gurusamy
 
PDF
Introduction to AWS
Angel Borroy López
 
PDF
Amazon Web Service.pdf
Pyingkodi Maran
 
PPTX
AWS Cloud Computing Tech Talks By Halieb Andemichael
Halieb Andemichael
 
PDF
AWS Primer and Quickstart
Manish Pandit
 
PPTX
Amazon Clouds in Action
zenyk
 
PPT
AWS Terms
LadderMinds
 
PPTX
Amazon web services(aws)
jayesh18saini
 
PPTX
cse40822-amazon.pptx
prathamgunj
 
PPTX
AWS GLOBAL INFRA AND SERVICE LIST01.pptx
susilmoharana621
 
PPTX
AWS cloud computing internship training.pptx
ROHANBANSAL55
 
PPTX
amazon web servics in the cloud aws and its categories compute cloud and stor...
soundharya59
 
Aws coi7
Jeevan Dongre
 
cloudcomputing.pptx
Siva453615
 
Cloud Computing
Biswajit Pratihari
 
cloud computing notes for engineering.pptx
pradeena937556
 
Amazon Web Services and its Global Infrastructure.pptx
GSCWU
 
Amazon Web Services(AWS) in cloud Computing .pptx
GSCWU
 
Cloudcomputing
sree raj
 
Fowa Miami 09 Cloud Computing Workshop
Mark Masterson
 
AWS Distilled
Jeyaram Gurusamy
 
Introduction to AWS
Angel Borroy López
 
Amazon Web Service.pdf
Pyingkodi Maran
 
AWS Cloud Computing Tech Talks By Halieb Andemichael
Halieb Andemichael
 
AWS Primer and Quickstart
Manish Pandit
 
Amazon Clouds in Action
zenyk
 
AWS Terms
LadderMinds
 
Amazon web services(aws)
jayesh18saini
 
cse40822-amazon.pptx
prathamgunj
 
AWS GLOBAL INFRA AND SERVICE LIST01.pptx
susilmoharana621
 
AWS cloud computing internship training.pptx
ROHANBANSAL55
 
amazon web servics in the cloud aws and its categories compute cloud and stor...
soundharya59
 
Ad

More from The IOT Academy (20)

PPTX
Embedded Systems Programming
The IOT Academy
 
PDF
Introduction to Digital Marketing Certification Course.pdf
The IOT Academy
 
PDF
Google SEO 2023: Complete SEO Guide
The IOT Academy
 
PDF
Embedded C The IoT Academy
The IOT Academy
 
PPTX
Basics of c++ Programming Language
The IOT Academy
 
PPTX
MachineLlearning introduction
The IOT Academy
 
PDF
IoT Node-Red Presentation
The IOT Academy
 
PDF
IoT Introduction Architecture and Applications
The IOT Academy
 
PDF
UCT IoT Deployment and Challenges
The IOT Academy
 
PDF
UCT Electrical Vehicle Infrastructure
The IOT Academy
 
PDF
Uct 5G Autonomous Cars
The IOT Academy
 
PDF
Fdp uct industry4.0_talk
The IOT Academy
 
PDF
Success ladder to the Corporate world
The IOT Academy
 
PDF
The iot academy_lpwan_lora
The IOT Academy
 
PDF
The iot academy_embeddedsystems_training_circuitdesignpart3
The IOT Academy
 
PDF
The iot academy_embeddedsystems_training_basicselectronicspart2
The IOT Academy
 
PDF
The iot academy_embeddedsystems_training_basicelectronicspart1
The IOT Academy
 
PPTX
The iot academy_lpwan
The IOT Academy
 
PDF
The iotacademy industry4.0_talk_slideshare
The IOT Academy
 
PDF
The iot acdemy_awstraining_part4_aws_lab
The IOT Academy
 
Embedded Systems Programming
The IOT Academy
 
Introduction to Digital Marketing Certification Course.pdf
The IOT Academy
 
Google SEO 2023: Complete SEO Guide
The IOT Academy
 
Embedded C The IoT Academy
The IOT Academy
 
Basics of c++ Programming Language
The IOT Academy
 
MachineLlearning introduction
The IOT Academy
 
IoT Node-Red Presentation
The IOT Academy
 
IoT Introduction Architecture and Applications
The IOT Academy
 
UCT IoT Deployment and Challenges
The IOT Academy
 
UCT Electrical Vehicle Infrastructure
The IOT Academy
 
Uct 5G Autonomous Cars
The IOT Academy
 
Fdp uct industry4.0_talk
The IOT Academy
 
Success ladder to the Corporate world
The IOT Academy
 
The iot academy_lpwan_lora
The IOT Academy
 
The iot academy_embeddedsystems_training_circuitdesignpart3
The IOT Academy
 
The iot academy_embeddedsystems_training_basicselectronicspart2
The IOT Academy
 
The iot academy_embeddedsystems_training_basicelectronicspart1
The IOT Academy
 
The iot academy_lpwan
The IOT Academy
 
The iotacademy industry4.0_talk_slideshare
The IOT Academy
 
The iot acdemy_awstraining_part4_aws_lab
The IOT Academy
 

Recently uploaded (20)

PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PDF
Doc9.....................................
SofiaCollazos
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
The Future of Artificial Intelligence (AI)
Mukul
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
Doc9.....................................
SofiaCollazos
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 

The IoT Academy_awstraining_part2_aws_ec2_iaas

  • 3. An overview of AWS  AWS is Amazon’s umbrelladescription of all of their web-based technology services.  Mainly infrastructure services: ◦ Amazon Elastic Compute Cloud (EC2) ◦ Amazon Simple Storage Service (S3) ◦ Amazon Simple Queue Service (SQS) ◦ Amazon CloudFront ◦ Amazon SimpleDB  Amazon EC2 is hiring ◦ http://aws.amazon.com/ec2-jobs/
  • 4. Amazon EC2  EC2 provides web services API for provisioning, managing, and deprovioning virtual servers inside amazon cloud.  Applicationsanywhere on the Internet can launch a virtual server in the amazon cloud with a single web services call (either REST or SOAP WS call)  Where is SOAP API? For example,http://docs.amazonwebservices.com/AmazonEC2/dg/2006-06- 26/using-soap-api.html
  • 5. Storage  Instance –store : disappearswith the instance (transient)  Block storage: SAN-like,persists across time  S3 is independentof an instance: for archival purposes: vault: store it now and retrieve it at a later date  Amazon: SimpleDB: Relational database better than MySQl or Oracle for reliability.
  • 6. Amazon Cloud-front  Cloud-basedcontent distributing network enablesyou to place the content at the edges of the network for rapid delivery.  Place the contents in S3 and run the applicationfrom anywhere and the content is moved to where the application is (to the edges).
  • 7. S3  Amazon web services API support the ability to:  Find buckets and objects  Discover their meta data  Create new buckets  Upload new objects  Delete existing buckets and objects  When manipulating the buckets you can optionally specify where they should be stored.  Use REST API preferably something that abstracts out even that: Jets3t; s3cmd (command line)  BitTorrent access to S3 is also available
  • 8. Bucket Naming  Flat namespace  Names may contain only lowercase letters, numbers, periods, underscores, and dashes, and must start with a number or letter  Create your own namespace with your own bcukets
  • 9. EC2 concepts  See figure 2.1  Instance: virtual server running a guest os of your choice  AMI: Pristine image of your server so that you can launch any numberof instance from this. Minimallymachine image will operating systems + pre-installed tools.  Elastic IP address: Not static not dynamic but elastic; an IP reserved for your use; disappearsonce the server is terminated.
  • 10. EC2 (contd.)  Availability zone: Any two availability zones are guaranteed to share any common points of failure ( US, EU, Asia/Pacific)  Security group: define the firewall/security. Defines what can talk to your instances. (Ex; http, and not sftp etc.)  Snap shot: You can take snapshots of block volume (that can be formatted etc) and is stored in S3 for later use or for rollback etc.  What is the difference between instances and machine images?
  • 11. How to access Ec2?  AWS console http://console.aws.amazon.com  The ElasticFox firefox plugin  The amazon command line tool
  • 12. Typical Use in an organization  Maintain a library of AMIs for the business  May contain legacy systems or company-specific systems  Harden AMIs using such software as Bastille  Launch instances for non-technical but domain experts to work with.  What will you provide them so that they can start working?  Use S3 for archival storage and shared storage
  • 13. What is Infrastructure as a Service ?  A categoryof cloud services which providescapabilityto provisionprocessing, storage, intra-cloudnetworkconnectivity services, and otherfundamental computing resources of the cloud infrastructure. Source- [ITU –Cloud Focus Group] Diagram Source: Wikipedia
  • 14. Highlights of IaaS  On demand computing resources  Eliminate the need of far ahead planning  No up-front commitment  Start small and grow as required  No contract, Only credit card!  Pay for what you use  No maintenance  Measured service  Scalability  Reliability
  • 15. What is EC2 ?  Amazon Elastic Compute Cloud (EC2) is a web service that provides resizeablecomputing capacity that one uses to build and host different software systems.  Designed to make web-scalecomputing easier for developers.  A user can create, launch, and terminate server instances as needed, paying by the hour for active servers, hence the term "elastic".  Provides scalable, pay as-you-go compute capacity  Elastic - scales in both direction
  • 17. EC2 Concepts  AMI & Instance  Region & Zones  Storage  Networking and Security  Monitoring  Auto Scaling  Load Balancer
  • 18. Amazon Machine Images (AMI)  Is an immutablerepresentation of a set of disks that contain an operating system, userapplications and/or data.  From an AMI, one can launch multiple instances,which are running copies of the AMI.
  • 19. AMI and Instance  Amazon Machine Image (AMI) is a template for software configuration (Operating System, Application Server, and Applications)  Instance is a AMI running on virtual servers in the cloud  Each instance type offers different compute and memory facilities Diagram Source: http://docs.aws.amazon.com
  • 21. Region and Zones  Amazon have data centers in different region across the globe  An instance can be launched in different regions depending on the need.  Closer to specific customer  To meet legal or other requirements  Each region has set of zones  Zones are isolated from failure in other zones  Inexpensive, low latency connectivity between zones in same region
  • 22. Storage  Amazon EC2 provides three typeof storageoption  Amazon EBS  Amazon S3  Instance Storage Diagram Source: http://docs.aws.amazon.com
  • 23. Elastic Block Store(EBS) volume  An EBS volume is a read/write disk that can be created by an AMI and mounted by an instance.  Volumes are suited for applications that require a database, a file system, or access to raw block-level storage.
  • 24. Amazon S3  S3 = Simplestorage Service  A SOA – Service Oriented Architecture which provides online storage using web services.  Allowsread, write and delete permissions on objects.  Uses REST and SOAP protocols for messaging.
  • 25. Amazon SimpleDB  Amazon SimpleDB is a highly available, flexible,and scalablenon-relational data store that offloadsthe work of databaseadministration.  Creates and manages multiplegeographically distributed replicas of your data automaticallyto enable high availabilityand data durability.  The service charges you only for the resources actuallyconsumed in storing your data and serving your requests.
  • 26. Networking and Security  Instances can be launchedon one of the two platforms  EC2-Classic  EC2-VPC  Each instance launched is assignedtwo addresses a privateaddress and a public IP address.  A replacement instance has a different public IP address.  Instance IP address is dynamic.  new IP address is assigned every time instance is launched  Amazon EC2 offers ElasticIP addresses (staticIP addresses) for dynamiccloud computing.  Remap the Elastic IP to new instance to mask failure  Separate pool for EC2-Classic and VPC  Security Groups toaccess control to instance
  • 27. Monitoring, Auto Scaling, and Load Balancing  Monitor statistics of instances and EBS  CloudWatch  Automatically scales amazon EC2 capacity up and down based on rules  Add and remove compute resource based on demand  Suitable for businesses experiencing variability in usage  Distribute incoming traffic across multiple instances  Elastic Load Balancing
  • 28. How to access EC2  AWS Console  http://console.aws.amazon.com  Command Line Tools  Programmatic Interface  EC2 APIs  AWS SDK
  • 31. References  Mobile cloud computing: Big Picture by M. Reza Rahimi  http://aws.amazon.com/ec2, http://docs.aws.amazon.com  Amazon Elastic Compute Cloud – User Guide, API Version 2011-02-28.  Above the Clouds: A Berkeley View of Cloud Computing - Michael Armbrust et.al 2009  International telecommunication union – Focus Group Cloud Technical Report