SlideShare a Scribd company logo
1 of 31
Download to read offline
HANDS-ON WITH AMAZON WEB
SERVICES (AWS)

PART 3 – DISCUSSION ON AWS
SERVICES
8-Dec-2012

Pavan Verma
Founder, P3 InfoTech Solutions Pvt. Ltd.
http://p3infotech.in, pavan@p3infotech.in
Core AWS Services
• EC2
• Elastic IP
• EBS
• S3
• RDS
• DynamoDB
• CloudFront
• Cloudwatch
• Auto Scaling
EC2 – Types of instances
• On-demand instances

• Reserved instances

• Spot instances
EC2 – On-demand instances
• Completely pay-per-use
EC2 – Reserved instances
• Hybrid model – combination of one-time
 upfront payment and pay-per-use
• 2 reservation terms – 1 year and 3 years

• 3 types of reservation instances – Light,
 Medium, Heavy
• Can get confusing!
Elastic IP
• EC2 IP addresses do not persist across a
 shutdown event
 • Therefore, these cannot be used as static IP
  addresses
• Elastic IP addresses are static IP addresses
 associated with an account, not a particular
 instance.
• Elastic IP addresses can be mapped to any
 EC2 instance of the account
EC2 – Spot instances
• Unused instances that users can bid on
• Can be much cheaper than on-demand
and reserved instances
• Gotcha! No guarantee on how long they
run
 • Will be stopped if that instance gets a
  higher bid
STORAGE SERVICES
Local Instance Storage (aka
Ephemeral Storage)
• Block-level temporary storage for EC2 instances
• Served from disks attached to the box on which the
 VM is running
• No persistence – All data disappears when EC2
 instance is stopped
• Use cases:
 • Scratch disks
 • Temporary files, buffers, caches
 • Easily replicated data
Local Instance Storage (aka
Ephemeral Storage) (2)
• Not durable
 • No replicas, backups
 • Application can do its own backups if required

• Number and size of instance store varies by EC2
 instance type
 • Larger instances have larger volumes

• Not optimized for high performance
 • Good sequential I/O performance
 • Poor random I/O performance

• Cost: Free with EC2 instance, no additional cost
Amazon Elastic Block Store (EBS)
• Block-level persistent storage for EC2 instances
 • Data lifetime independent of EC2 instance lifetime
 • Can attach multiple EBS instances to an EC2 instance
 • Any individual EBS can only be attached to a single
   EC2 instance
• Off-instance, network attached storage
• Use cases:
 • File system (including root filesystem of EC2 instance)
 • Databases
 • Anywhere where persistent storage is required
Amazon Elastic Block Store (EBS) (2)
• Durable storage
 • Mirrored within a single Availability Zone

• EBS Snapshots can be used for increased
 durability and backups
 • Incremental snapshots
 • Stored in S3

• Optimized for high performance
 • Up to 80 MB/sec sequential access
 • About 100 IOPS for 8K random requests
Amazon Elastic Block Store (EBS) (3)
• Cost: $0.10 per GB-month and reduces
 with more quantity used
• IOPs priced separately (free upto a limit)
Amazon Simple Storage Service (S3)
• Scalable and durable data storage
• Object storage
 • Accessed via a REST API
 • Not attached to EC2 instance
 • Can be accessed by multiple EC2 instances in parallel
 • Can be accessed by non-EC2 systems (for example, my laptop)

• Read/Write/Delete objects (files) from 1B to 5TB
• Use cases
 • Static web content
 • Working storage for large scale computation or analytics
 • Backup, Archival, and DR storage
Amazon Simple Storage Service (S3) (2)
• Cost: starts at $0.095 per GB-month and reduces with
 more quantity used
• Access to data priced separately (free upto a limit)
• Extreme Durability
 • Automatic replication within region
 • Design point is eleven 9s durability and four 9s availability

• Extremely Scalable
 • Unlimited number of objects per bucket
 • Web-scale concurrent read/writes
Amazon Simple Storage Service (S3) (3)

• Two layer hierarchy: Buckets and Objects
 • Bucket name has to be unique across entire AWS
 • Every object has a unique URL

• Simple GET/PUT/DELETE API using HTTP
• Support Access Control (ACLs)
• S3 is an object store, not a filesystem
• S3 generally good for reads/writes of whole files
 • Web-like usage patterns, rather than disk-like
Amazon CloudFront
• Content Delivery Network (CDN)

• Can use S3 as the origin store

• More than 30 edge locations worldwide

• Use cases:
 • Fast access to mostly static data

 • Scalable data distribution at global scale
DynamoDB
• Fully managed NoSQL database service

• Provides fast and predictable performance
 with seamless scalability
• Built-in fault tolerance
 • Automatically and synchronously replicates
  data across three Availability Zones in a Region

• Uses a proprietary database
Amazon Relational Database Service
(RDS)
• Fully-functional relational database
 provided as a managed service
• Automates: Patching, Backups, Failover,
 Read Replicas
• Supports standard databases: MySQL,
 Oracle, SQL Server
HOW TO MANAGE AWS
SERVICES
Managing AWS Services
• AWS services can be managed in following
ways
 • AWS console

 • REST API. ALL AWS services are accessible
  via a REST API
 • Command line tools

 • SDKs for PHP, Java, Python, Ruby, .NET
AWS CloudWatch
• Provides monitoring for AWS cloud resources

• Basic Monitoring for Amazon EC2 instances:
 10 pre-selected metrics at 5-minute frequency,
 free of charge
• Detailed Monitoring for Amazon EC2
 instances: 7 pre-selected metrics at 1-minute
 frequency, for an additional charge
AWS Auto Scaling
• Scale EC2 capacity up or down automatically
according to pre-defined conditions
• Ensure that the number of EC2 instances
increases seamlessly during demand spikes
to maintain performance, and decreases
automatically during demand lulls to minimize
costs
AWS CloudFormation
• Provides an easy way to create a collection
 of related AWS resources and provision
 them
• Useful to provision complete application
 stacks in one shot
List of All AWS Services

• Compute and Networking
 • EC2

 • Route 53

 • Direct Connect

 • Elastic MapReduce

 • VPC
List of All AWS Services (2)

• Storage and Content Delivery
 • S3

 • Glacier

 • CloudFront

 • Storage Gateway
List of All AWS Services (3)

• Database
 • RDS

 • DynamoDB

 • ElastiCache
List of All AWS Services (4)

• Deployment and Management
 • IAM

 • CloudWatch

 • CloudFormation

 • Elastic Beanstalk
List of All AWS Services (5)

• App Services
 • CloudSearch

 • SWF – Simple Workflow Service

 • SQS – Simple Queue Service

 • SNS – Simple Notification Service

 • SES – Simple Email Service
AWS Marketplace
• Online store where customers can find, buy, and
 immediately start using the software and services that
 run in the EC2 cloud
• Includes software from vendors like SAP, Zend,
 Microsoft, IBM, Canonical, Perforce, Couchbase, Acquia,
 Check Point Software, and 10gen as well as many widely
 used open source offerings including Wordpress, Drupal,
 and MediaWiki.
• Extends AWS’ pay-as-you-go pricing model to third party
 software
 • Customers pay by the hour
 • Developers charge by the hour
Hands-On With Amazon Web Services (AWS) - part 3

More Related Content

What's hot

Media Content Ingest, Storage, and Archiving with AWS - John Downey, Amazon W...
Media Content Ingest, Storage, and Archiving with AWS - John Downey, Amazon W...Media Content Ingest, Storage, and Archiving with AWS - John Downey, Amazon W...
Media Content Ingest, Storage, and Archiving with AWS - John Downey, Amazon W...Amazon Web Services
 
Amazon Web Services lection 6
Amazon Web Services lection 6  Amazon Web Services lection 6
Amazon Web Services lection 6 Binary Studio
 
Amazon Web Services lection 5
Amazon Web Services lection 5  Amazon Web Services lection 5
Amazon Web Services lection 5 Binary Studio
 
Cost Optimization with Spot Instances
Cost Optimization with Spot InstancesCost Optimization with Spot Instances
Cost Optimization with Spot InstancesArun Sirimalla
 
Aws platform overview
Aws platform overviewAws platform overview
Aws platform overviewVinay Yelluri
 
Benefícios e melhores práticas no uso do Amazon Redshift
Benefícios e melhores práticas no uso do Amazon RedshiftBenefícios e melhores práticas no uso do Amazon Redshift
Benefícios e melhores práticas no uso do Amazon RedshiftAmazon Web Services LATAM
 
Data backup and Disaster recovery with AWS
Data backup and Disaster recovery with AWSData backup and Disaster recovery with AWS
Data backup and Disaster recovery with AWSEvgeny Rudinsky
 
Introduction 2 to aws and storage options
Introduction 2 to aws and storage optionsIntroduction 2 to aws and storage options
Introduction 2 to aws and storage optionsSzilveszter Molnár
 
NEW LAUNCH! Intro to Amazon Athena. Easily analyze data in S3, using SQL.
NEW LAUNCH! Intro to Amazon Athena. Easily analyze data in S3, using SQL.NEW LAUNCH! Intro to Amazon Athena. Easily analyze data in S3, using SQL.
NEW LAUNCH! Intro to Amazon Athena. Easily analyze data in S3, using SQL.Amazon Web Services
 
Consolidate MySQL Shards Into Amazon Aurora Using AWS Database Migration Serv...
Consolidate MySQL Shards Into Amazon Aurora Using AWS Database Migration Serv...Consolidate MySQL Shards Into Amazon Aurora Using AWS Database Migration Serv...
Consolidate MySQL Shards Into Amazon Aurora Using AWS Database Migration Serv...Amazon Web Services
 
AWS Webcast - Webinar Series for State and Local Government #2: Discover the ...
AWS Webcast - Webinar Series for State and Local Government #2: Discover the ...AWS Webcast - Webinar Series for State and Local Government #2: Discover the ...
AWS Webcast - Webinar Series for State and Local Government #2: Discover the ...Amazon Web Services
 
AWS Webcast - Library Storage Webinar
AWS Webcast - Library Storage WebinarAWS Webcast - Library Storage Webinar
AWS Webcast - Library Storage WebinarAmazon Web Services
 
AWS Webcast - Explore the AWS Cloud
AWS Webcast - Explore the AWS CloudAWS Webcast - Explore the AWS Cloud
AWS Webcast - Explore the AWS CloudAmazon Web Services
 
Aws cloud infrastructure and cost estimation for angular site
Aws cloud infrastructure and cost estimation for angular siteAws cloud infrastructure and cost estimation for angular site
Aws cloud infrastructure and cost estimation for angular siteLe Kien Truc
 
How to Secure your Hybrid Enviroment - Pop-up Loft Tel Aviv
How to Secure your Hybrid Enviroment - Pop-up Loft Tel AvivHow to Secure your Hybrid Enviroment - Pop-up Loft Tel Aviv
How to Secure your Hybrid Enviroment - Pop-up Loft Tel AvivAmazon Web Services
 

What's hot (20)

Media Content Ingest, Storage, and Archiving with AWS - John Downey, Amazon W...
Media Content Ingest, Storage, and Archiving with AWS - John Downey, Amazon W...Media Content Ingest, Storage, and Archiving with AWS - John Downey, Amazon W...
Media Content Ingest, Storage, and Archiving with AWS - John Downey, Amazon W...
 
Amazon Web Services lection 6
Amazon Web Services lection 6  Amazon Web Services lection 6
Amazon Web Services lection 6
 
Amazon Web Services lection 5
Amazon Web Services lection 5  Amazon Web Services lection 5
Amazon Web Services lection 5
 
Cost Optimization with Spot Instances
Cost Optimization with Spot InstancesCost Optimization with Spot Instances
Cost Optimization with Spot Instances
 
Aws platform overview
Aws platform overviewAws platform overview
Aws platform overview
 
Benefícios e melhores práticas no uso do Amazon Redshift
Benefícios e melhores práticas no uso do Amazon RedshiftBenefícios e melhores práticas no uso do Amazon Redshift
Benefícios e melhores práticas no uso do Amazon Redshift
 
Data backup and Disaster recovery with AWS
Data backup and Disaster recovery with AWSData backup and Disaster recovery with AWS
Data backup and Disaster recovery with AWS
 
Introduction 2 to aws and storage options
Introduction 2 to aws and storage optionsIntroduction 2 to aws and storage options
Introduction 2 to aws and storage options
 
Cómputo en AWS
Cómputo en AWSCómputo en AWS
Cómputo en AWS
 
NEW LAUNCH! Intro to Amazon Athena. Easily analyze data in S3, using SQL.
NEW LAUNCH! Intro to Amazon Athena. Easily analyze data in S3, using SQL.NEW LAUNCH! Intro to Amazon Athena. Easily analyze data in S3, using SQL.
NEW LAUNCH! Intro to Amazon Athena. Easily analyze data in S3, using SQL.
 
AWS Storage Options
AWS Storage OptionsAWS Storage Options
AWS Storage Options
 
Consolidate MySQL Shards Into Amazon Aurora Using AWS Database Migration Serv...
Consolidate MySQL Shards Into Amazon Aurora Using AWS Database Migration Serv...Consolidate MySQL Shards Into Amazon Aurora Using AWS Database Migration Serv...
Consolidate MySQL Shards Into Amazon Aurora Using AWS Database Migration Serv...
 
AWS Webcast - Webinar Series for State and Local Government #2: Discover the ...
AWS Webcast - Webinar Series for State and Local Government #2: Discover the ...AWS Webcast - Webinar Series for State and Local Government #2: Discover the ...
AWS Webcast - Webinar Series for State and Local Government #2: Discover the ...
 
AWS Webcast - Library Storage Webinar
AWS Webcast - Library Storage WebinarAWS Webcast - Library Storage Webinar
AWS Webcast - Library Storage Webinar
 
AWS Webcast - Explore the AWS Cloud
AWS Webcast - Explore the AWS CloudAWS Webcast - Explore the AWS Cloud
AWS Webcast - Explore the AWS Cloud
 
AWS Distilled
AWS DistilledAWS Distilled
AWS Distilled
 
Aws cloud infrastructure and cost estimation for angular site
Aws cloud infrastructure and cost estimation for angular siteAws cloud infrastructure and cost estimation for angular site
Aws cloud infrastructure and cost estimation for angular site
 
How to Secure your Hybrid Enviroment - Pop-up Loft Tel Aviv
How to Secure your Hybrid Enviroment - Pop-up Loft Tel AvivHow to Secure your Hybrid Enviroment - Pop-up Loft Tel Aviv
How to Secure your Hybrid Enviroment - Pop-up Loft Tel Aviv
 
AWS EC2 Fundametals
AWS EC2 FundametalsAWS EC2 Fundametals
AWS EC2 Fundametals
 
Containers on AWS
Containers on AWSContainers on AWS
Containers on AWS
 

Similar to Hands-On With Amazon Web Services (AWS) - part 3

Scaling up to your first 10 million users - Pop-up Loft Tel Aviv
Scaling up to your first 10 million users - Pop-up Loft Tel AvivScaling up to your first 10 million users - Pop-up Loft Tel Aviv
Scaling up to your first 10 million users - Pop-up Loft Tel AvivAmazon Web Services
 
AWS Webcast - AWS Webinar Series for Education #2 - Getting Started with AWS
AWS Webcast - AWS Webinar Series for Education #2 - Getting Started with AWSAWS Webcast - AWS Webinar Series for Education #2 - Getting Started with AWS
AWS Webcast - AWS Webinar Series for Education #2 - Getting Started with AWSAmazon Web Services
 
The Enterprise Grade SQL Server Deployments in AWS
The Enterprise Grade SQL Server Deployments in AWSThe Enterprise Grade SQL Server Deployments in AWS
The Enterprise Grade SQL Server Deployments in AWSAmazon Web Services
 
Enterprise Grade SQL Server Deployments in AWS
Enterprise Grade SQL Server Deployments in AWSEnterprise Grade SQL Server Deployments in AWS
Enterprise Grade SQL Server Deployments in AWSAmazon Web Services
 
cse40822-amazon.pptx
cse40822-amazon.pptxcse40822-amazon.pptx
cse40822-amazon.pptxprathamgunj
 
AWS Webcast - Website Hosting in the Cloud
AWS Webcast - Website Hosting in the CloudAWS Webcast - Website Hosting in the Cloud
AWS Webcast - Website Hosting in the CloudAmazon Web Services
 
Aws Solution Architecture Associate - summary
Aws Solution Architecture Associate - summaryAws Solution Architecture Associate - summary
Aws Solution Architecture Associate - summaryonoffshake
 
AWS APAC Webinar Week - Understanding AWS Storage Options
AWS APAC Webinar Week - Understanding AWS Storage OptionsAWS APAC Webinar Week - Understanding AWS Storage Options
AWS APAC Webinar Week - Understanding AWS Storage OptionsAmazon Web Services
 
AWS Webcast - Explore the AWS Cloud for Government
AWS Webcast - Explore the AWS Cloud for GovernmentAWS Webcast - Explore the AWS Cloud for Government
AWS Webcast - Explore the AWS Cloud for GovernmentAmazon Web Services
 
Deep Dive: Scaling Up to Your First 10 Million Users
Deep Dive: Scaling Up to Your First 10 Million UsersDeep Dive: Scaling Up to Your First 10 Million Users
Deep Dive: Scaling Up to Your First 10 Million UsersAmazon Web Services
 
Understanding AWS Storage Options
Understanding AWS Storage OptionsUnderstanding AWS Storage Options
Understanding AWS Storage OptionsAmazon Web Services
 
AWS Webcast - Library Systems on the AWS Cloud
AWS Webcast - Library Systems on the AWS CloudAWS Webcast - Library Systems on the AWS Cloud
AWS Webcast - Library Systems on the AWS CloudAmazon Web Services
 
Aws for Startups Building Cloud Enabled Apps
Aws for Startups Building Cloud Enabled AppsAws for Startups Building Cloud Enabled Apps
Aws for Startups Building Cloud Enabled AppsAmazon Web Services
 
AWS January 2016 Webinar Series - Getting Started with Big Data on AWS
AWS January 2016 Webinar Series - Getting Started with Big Data on AWSAWS January 2016 Webinar Series - Getting Started with Big Data on AWS
AWS January 2016 Webinar Series - Getting Started with Big Data on AWSAmazon Web Services
 
Introduction to AWS Storage Services
Introduction to AWS Storage ServicesIntroduction to AWS Storage Services
Introduction to AWS Storage ServicesAmazon Web Services
 

Similar to Hands-On With Amazon Web Services (AWS) - part 3 (20)

Scaling up to your first 10 million users - Pop-up Loft Tel Aviv
Scaling up to your first 10 million users - Pop-up Loft Tel AvivScaling up to your first 10 million users - Pop-up Loft Tel Aviv
Scaling up to your first 10 million users - Pop-up Loft Tel Aviv
 
AWS Webcast - AWS Webinar Series for Education #2 - Getting Started with AWS
AWS Webcast - AWS Webinar Series for Education #2 - Getting Started with AWSAWS Webcast - AWS Webinar Series for Education #2 - Getting Started with AWS
AWS Webcast - AWS Webinar Series for Education #2 - Getting Started with AWS
 
The Enterprise Grade SQL Server Deployments in AWS
The Enterprise Grade SQL Server Deployments in AWSThe Enterprise Grade SQL Server Deployments in AWS
The Enterprise Grade SQL Server Deployments in AWS
 
Enterprise Grade SQL Server Deployments in AWS
Enterprise Grade SQL Server Deployments in AWSEnterprise Grade SQL Server Deployments in AWS
Enterprise Grade SQL Server Deployments in AWS
 
cse40822-amazon.pptx
cse40822-amazon.pptxcse40822-amazon.pptx
cse40822-amazon.pptx
 
AWS Webcast - Website Hosting in the Cloud
AWS Webcast - Website Hosting in the CloudAWS Webcast - Website Hosting in the Cloud
AWS Webcast - Website Hosting in the Cloud
 
Aws Solution Architecture Associate - summary
Aws Solution Architecture Associate - summaryAws Solution Architecture Associate - summary
Aws Solution Architecture Associate - summary
 
AWS APAC Webinar Week - Understanding AWS Storage Options
AWS APAC Webinar Week - Understanding AWS Storage OptionsAWS APAC Webinar Week - Understanding AWS Storage Options
AWS APAC Webinar Week - Understanding AWS Storage Options
 
AWS Webcast - Explore the AWS Cloud for Government
AWS Webcast - Explore the AWS Cloud for GovernmentAWS Webcast - Explore the AWS Cloud for Government
AWS Webcast - Explore the AWS Cloud for Government
 
Deep Dive: Scaling Up to Your First 10 Million Users
Deep Dive: Scaling Up to Your First 10 Million UsersDeep Dive: Scaling Up to Your First 10 Million Users
Deep Dive: Scaling Up to Your First 10 Million Users
 
Create cloud service on AWS
Create cloud service on AWSCreate cloud service on AWS
Create cloud service on AWS
 
Understanding AWS Storage Options
Understanding AWS Storage OptionsUnderstanding AWS Storage Options
Understanding AWS Storage Options
 
Amazon services ec2
Amazon services ec2Amazon services ec2
Amazon services ec2
 
Intro to AWS: Storage Services
Intro to AWS: Storage ServicesIntro to AWS: Storage Services
Intro to AWS: Storage Services
 
AWS Webcast - Library Systems on the AWS Cloud
AWS Webcast - Library Systems on the AWS CloudAWS Webcast - Library Systems on the AWS Cloud
AWS Webcast - Library Systems on the AWS Cloud
 
Aws for Startups Building Cloud Enabled Apps
Aws for Startups Building Cloud Enabled AppsAws for Startups Building Cloud Enabled Apps
Aws for Startups Building Cloud Enabled Apps
 
AWS January 2016 Webinar Series - Getting Started with Big Data on AWS
AWS January 2016 Webinar Series - Getting Started with Big Data on AWSAWS January 2016 Webinar Series - Getting Started with Big Data on AWS
AWS January 2016 Webinar Series - Getting Started with Big Data on AWS
 
Best of re:Invent
Best of re:InventBest of re:Invent
Best of re:Invent
 
[Jun AWS 201] Technical Workshop
[Jun AWS 201] Technical Workshop[Jun AWS 201] Technical Workshop
[Jun AWS 201] Technical Workshop
 
Introduction to AWS Storage Services
Introduction to AWS Storage ServicesIntroduction to AWS Storage Services
Introduction to AWS Storage Services
 

More from P3 InfoTech Solutions Pvt. Ltd.

Python Programming Essentials - M44 - Overview of Web Development
Python Programming Essentials - M44 - Overview of Web DevelopmentPython Programming Essentials - M44 - Overview of Web Development
Python Programming Essentials - M44 - Overview of Web DevelopmentP3 InfoTech Solutions Pvt. Ltd.
 
Python Programming Essentials - M40 - Invoking External Programs
Python Programming Essentials - M40 - Invoking External ProgramsPython Programming Essentials - M40 - Invoking External Programs
Python Programming Essentials - M40 - Invoking External ProgramsP3 InfoTech Solutions Pvt. Ltd.
 
Python Programming Essentials - M37 - Brief Overview of Misc Concepts
Python Programming Essentials - M37 - Brief Overview of Misc ConceptsPython Programming Essentials - M37 - Brief Overview of Misc Concepts
Python Programming Essentials - M37 - Brief Overview of Misc ConceptsP3 InfoTech Solutions Pvt. Ltd.
 
Python Programming Essentials - M35 - Iterators & Generators
Python Programming Essentials - M35 - Iterators & GeneratorsPython Programming Essentials - M35 - Iterators & Generators
Python Programming Essentials - M35 - Iterators & GeneratorsP3 InfoTech Solutions Pvt. Ltd.
 
Python Programming Essentials - M34 - List Comprehensions
Python Programming Essentials - M34 - List ComprehensionsPython Programming Essentials - M34 - List Comprehensions
Python Programming Essentials - M34 - List ComprehensionsP3 InfoTech Solutions Pvt. Ltd.
 
Python Programming Essentials - M29 - Python Interpreter and Files
Python Programming Essentials - M29 - Python Interpreter and FilesPython Programming Essentials - M29 - Python Interpreter and Files
Python Programming Essentials - M29 - Python Interpreter and FilesP3 InfoTech Solutions Pvt. Ltd.
 
Python Programming Essentials - M28 - Debugging with pdb
Python Programming Essentials - M28 - Debugging with pdbPython Programming Essentials - M28 - Debugging with pdb
Python Programming Essentials - M28 - Debugging with pdbP3 InfoTech Solutions Pvt. Ltd.
 
Python Programming Essentials - M25 - os and sys modules
Python Programming Essentials - M25 - os and sys modulesPython Programming Essentials - M25 - os and sys modules
Python Programming Essentials - M25 - os and sys modulesP3 InfoTech Solutions Pvt. Ltd.
 
Python Programming Essentials - M21 - Exception Handling
Python Programming Essentials - M21 - Exception HandlingPython Programming Essentials - M21 - Exception Handling
Python Programming Essentials - M21 - Exception HandlingP3 InfoTech Solutions Pvt. Ltd.
 
Python Programming Essentials - M20 - Classes and Objects
Python Programming Essentials - M20 - Classes and ObjectsPython Programming Essentials - M20 - Classes and Objects
Python Programming Essentials - M20 - Classes and ObjectsP3 InfoTech Solutions Pvt. Ltd.
 
Python Programming Essentials - M19 - Namespaces, Global Variables and Docstr...
Python Programming Essentials - M19 - Namespaces, Global Variables and Docstr...Python Programming Essentials - M19 - Namespaces, Global Variables and Docstr...
Python Programming Essentials - M19 - Namespaces, Global Variables and Docstr...P3 InfoTech Solutions Pvt. Ltd.
 
Python Programming Essentials - M18 - Modules and Packages
Python Programming Essentials - M18 - Modules and PackagesPython Programming Essentials - M18 - Modules and Packages
Python Programming Essentials - M18 - Modules and PackagesP3 InfoTech Solutions Pvt. Ltd.
 
Python Programming Essentials - M16 - Control Flow Statements and Loops
Python Programming Essentials - M16 - Control Flow Statements and LoopsPython Programming Essentials - M16 - Control Flow Statements and Loops
Python Programming Essentials - M16 - Control Flow Statements and LoopsP3 InfoTech Solutions Pvt. Ltd.
 

More from P3 InfoTech Solutions Pvt. Ltd. (20)

Python Programming Essentials - M44 - Overview of Web Development
Python Programming Essentials - M44 - Overview of Web DevelopmentPython Programming Essentials - M44 - Overview of Web Development
Python Programming Essentials - M44 - Overview of Web Development
 
Python Programming Essentials - M40 - Invoking External Programs
Python Programming Essentials - M40 - Invoking External ProgramsPython Programming Essentials - M40 - Invoking External Programs
Python Programming Essentials - M40 - Invoking External Programs
 
Python Programming Essentials - M39 - Unit Testing
Python Programming Essentials - M39 - Unit TestingPython Programming Essentials - M39 - Unit Testing
Python Programming Essentials - M39 - Unit Testing
 
Python Programming Essentials - M37 - Brief Overview of Misc Concepts
Python Programming Essentials - M37 - Brief Overview of Misc ConceptsPython Programming Essentials - M37 - Brief Overview of Misc Concepts
Python Programming Essentials - M37 - Brief Overview of Misc Concepts
 
Python Programming Essentials - M35 - Iterators & Generators
Python Programming Essentials - M35 - Iterators & GeneratorsPython Programming Essentials - M35 - Iterators & Generators
Python Programming Essentials - M35 - Iterators & Generators
 
Python Programming Essentials - M34 - List Comprehensions
Python Programming Essentials - M34 - List ComprehensionsPython Programming Essentials - M34 - List Comprehensions
Python Programming Essentials - M34 - List Comprehensions
 
Python Programming Essentials - M31 - PEP 8
Python Programming Essentials - M31 - PEP 8Python Programming Essentials - M31 - PEP 8
Python Programming Essentials - M31 - PEP 8
 
Python Programming Essentials - M29 - Python Interpreter and Files
Python Programming Essentials - M29 - Python Interpreter and FilesPython Programming Essentials - M29 - Python Interpreter and Files
Python Programming Essentials - M29 - Python Interpreter and Files
 
Python Programming Essentials - M28 - Debugging with pdb
Python Programming Essentials - M28 - Debugging with pdbPython Programming Essentials - M28 - Debugging with pdb
Python Programming Essentials - M28 - Debugging with pdb
 
Python Programming Essentials - M27 - Logging module
Python Programming Essentials - M27 - Logging modulePython Programming Essentials - M27 - Logging module
Python Programming Essentials - M27 - Logging module
 
Python Programming Essentials - M25 - os and sys modules
Python Programming Essentials - M25 - os and sys modulesPython Programming Essentials - M25 - os and sys modules
Python Programming Essentials - M25 - os and sys modules
 
Python Programming Essentials - M24 - math module
Python Programming Essentials - M24 - math modulePython Programming Essentials - M24 - math module
Python Programming Essentials - M24 - math module
 
Python Programming Essentials - M23 - datetime module
Python Programming Essentials - M23 - datetime modulePython Programming Essentials - M23 - datetime module
Python Programming Essentials - M23 - datetime module
 
Python Programming Essentials - M22 - File Operations
Python Programming Essentials - M22 - File OperationsPython Programming Essentials - M22 - File Operations
Python Programming Essentials - M22 - File Operations
 
Python Programming Essentials - M21 - Exception Handling
Python Programming Essentials - M21 - Exception HandlingPython Programming Essentials - M21 - Exception Handling
Python Programming Essentials - M21 - Exception Handling
 
Python Programming Essentials - M20 - Classes and Objects
Python Programming Essentials - M20 - Classes and ObjectsPython Programming Essentials - M20 - Classes and Objects
Python Programming Essentials - M20 - Classes and Objects
 
Python Programming Essentials - M19 - Namespaces, Global Variables and Docstr...
Python Programming Essentials - M19 - Namespaces, Global Variables and Docstr...Python Programming Essentials - M19 - Namespaces, Global Variables and Docstr...
Python Programming Essentials - M19 - Namespaces, Global Variables and Docstr...
 
Python Programming Essentials - M18 - Modules and Packages
Python Programming Essentials - M18 - Modules and PackagesPython Programming Essentials - M18 - Modules and Packages
Python Programming Essentials - M18 - Modules and Packages
 
Python Programming Essentials - M17 - Functions
Python Programming Essentials - M17 - FunctionsPython Programming Essentials - M17 - Functions
Python Programming Essentials - M17 - Functions
 
Python Programming Essentials - M16 - Control Flow Statements and Loops
Python Programming Essentials - M16 - Control Flow Statements and LoopsPython Programming Essentials - M16 - Control Flow Statements and Loops
Python Programming Essentials - M16 - Control Flow Statements and Loops
 

Recently uploaded

Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 

Recently uploaded (20)

Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 

Hands-On With Amazon Web Services (AWS) - part 3

  • 1. HANDS-ON WITH AMAZON WEB SERVICES (AWS) PART 3 – DISCUSSION ON AWS SERVICES 8-Dec-2012 Pavan Verma Founder, P3 InfoTech Solutions Pvt. Ltd. http://p3infotech.in, pavan@p3infotech.in
  • 2. Core AWS Services • EC2 • Elastic IP • EBS • S3 • RDS • DynamoDB • CloudFront • Cloudwatch • Auto Scaling
  • 3. EC2 – Types of instances • On-demand instances • Reserved instances • Spot instances
  • 4. EC2 – On-demand instances • Completely pay-per-use
  • 5. EC2 – Reserved instances • Hybrid model – combination of one-time upfront payment and pay-per-use • 2 reservation terms – 1 year and 3 years • 3 types of reservation instances – Light, Medium, Heavy • Can get confusing!
  • 6. Elastic IP • EC2 IP addresses do not persist across a shutdown event • Therefore, these cannot be used as static IP addresses • Elastic IP addresses are static IP addresses associated with an account, not a particular instance. • Elastic IP addresses can be mapped to any EC2 instance of the account
  • 7. EC2 – Spot instances • Unused instances that users can bid on • Can be much cheaper than on-demand and reserved instances • Gotcha! No guarantee on how long they run • Will be stopped if that instance gets a higher bid
  • 9. Local Instance Storage (aka Ephemeral Storage) • Block-level temporary storage for EC2 instances • Served from disks attached to the box on which the VM is running • No persistence – All data disappears when EC2 instance is stopped • Use cases: • Scratch disks • Temporary files, buffers, caches • Easily replicated data
  • 10. Local Instance Storage (aka Ephemeral Storage) (2) • Not durable • No replicas, backups • Application can do its own backups if required • Number and size of instance store varies by EC2 instance type • Larger instances have larger volumes • Not optimized for high performance • Good sequential I/O performance • Poor random I/O performance • Cost: Free with EC2 instance, no additional cost
  • 11. Amazon Elastic Block Store (EBS) • Block-level persistent storage for EC2 instances • Data lifetime independent of EC2 instance lifetime • Can attach multiple EBS instances to an EC2 instance • Any individual EBS can only be attached to a single EC2 instance • Off-instance, network attached storage • Use cases: • File system (including root filesystem of EC2 instance) • Databases • Anywhere where persistent storage is required
  • 12. Amazon Elastic Block Store (EBS) (2) • Durable storage • Mirrored within a single Availability Zone • EBS Snapshots can be used for increased durability and backups • Incremental snapshots • Stored in S3 • Optimized for high performance • Up to 80 MB/sec sequential access • About 100 IOPS for 8K random requests
  • 13. Amazon Elastic Block Store (EBS) (3) • Cost: $0.10 per GB-month and reduces with more quantity used • IOPs priced separately (free upto a limit)
  • 14. Amazon Simple Storage Service (S3) • Scalable and durable data storage • Object storage • Accessed via a REST API • Not attached to EC2 instance • Can be accessed by multiple EC2 instances in parallel • Can be accessed by non-EC2 systems (for example, my laptop) • Read/Write/Delete objects (files) from 1B to 5TB • Use cases • Static web content • Working storage for large scale computation or analytics • Backup, Archival, and DR storage
  • 15. Amazon Simple Storage Service (S3) (2) • Cost: starts at $0.095 per GB-month and reduces with more quantity used • Access to data priced separately (free upto a limit) • Extreme Durability • Automatic replication within region • Design point is eleven 9s durability and four 9s availability • Extremely Scalable • Unlimited number of objects per bucket • Web-scale concurrent read/writes
  • 16. Amazon Simple Storage Service (S3) (3) • Two layer hierarchy: Buckets and Objects • Bucket name has to be unique across entire AWS • Every object has a unique URL • Simple GET/PUT/DELETE API using HTTP • Support Access Control (ACLs) • S3 is an object store, not a filesystem • S3 generally good for reads/writes of whole files • Web-like usage patterns, rather than disk-like
  • 17. Amazon CloudFront • Content Delivery Network (CDN) • Can use S3 as the origin store • More than 30 edge locations worldwide • Use cases: • Fast access to mostly static data • Scalable data distribution at global scale
  • 18. DynamoDB • Fully managed NoSQL database service • Provides fast and predictable performance with seamless scalability • Built-in fault tolerance • Automatically and synchronously replicates data across three Availability Zones in a Region • Uses a proprietary database
  • 19. Amazon Relational Database Service (RDS) • Fully-functional relational database provided as a managed service • Automates: Patching, Backups, Failover, Read Replicas • Supports standard databases: MySQL, Oracle, SQL Server
  • 20. HOW TO MANAGE AWS SERVICES
  • 21. Managing AWS Services • AWS services can be managed in following ways • AWS console • REST API. ALL AWS services are accessible via a REST API • Command line tools • SDKs for PHP, Java, Python, Ruby, .NET
  • 22. AWS CloudWatch • Provides monitoring for AWS cloud resources • Basic Monitoring for Amazon EC2 instances: 10 pre-selected metrics at 5-minute frequency, free of charge • Detailed Monitoring for Amazon EC2 instances: 7 pre-selected metrics at 1-minute frequency, for an additional charge
  • 23. AWS Auto Scaling • Scale EC2 capacity up or down automatically according to pre-defined conditions • Ensure that the number of EC2 instances increases seamlessly during demand spikes to maintain performance, and decreases automatically during demand lulls to minimize costs
  • 24. AWS CloudFormation • Provides an easy way to create a collection of related AWS resources and provision them • Useful to provision complete application stacks in one shot
  • 25. List of All AWS Services • Compute and Networking • EC2 • Route 53 • Direct Connect • Elastic MapReduce • VPC
  • 26. List of All AWS Services (2) • Storage and Content Delivery • S3 • Glacier • CloudFront • Storage Gateway
  • 27. List of All AWS Services (3) • Database • RDS • DynamoDB • ElastiCache
  • 28. List of All AWS Services (4) • Deployment and Management • IAM • CloudWatch • CloudFormation • Elastic Beanstalk
  • 29. List of All AWS Services (5) • App Services • CloudSearch • SWF – Simple Workflow Service • SQS – Simple Queue Service • SNS – Simple Notification Service • SES – Simple Email Service
  • 30. AWS Marketplace • Online store where customers can find, buy, and immediately start using the software and services that run in the EC2 cloud • Includes software from vendors like SAP, Zend, Microsoft, IBM, Canonical, Perforce, Couchbase, Acquia, Check Point Software, and 10gen as well as many widely used open source offerings including Wordpress, Drupal, and MediaWiki. • Extends AWS’ pay-as-you-go pricing model to third party software • Customers pay by the hour • Developers charge by the hour