You are on page 1of 16

Amazon Web Service (AWS)

Presented By
• Syed Samiuzzaman samiuzzaman.blogspot.com
• A.K.M. Ashrafuzzaman www.ashrafuzzaman.com
Amazon Web Service (AWS)

• Amazon Elastic Compute Cloud (Amazon EC2)


• Amazon Simple Storage Service (Amazon S3)
• Amazon Elastic Block Store (EBS)
• Amazon Simple Queue Service (Amazon SQS)
• Amazon Flexible Payments Service (Amazon FPS)
Amazon EC2 Services

• Elastic
o Makes resource scaling easy
• Completely Controlled
o Access to instances as root user
• Flexible
o Multiple instance type, different platform
• Reliable
o 99.95% availability
• Secure
o web service interfaces to configure firewall
• Inexpensive
o Pay as you use
Amazon EC2 Features

• Amazon Elastic Block Store(EBS)


• Multiple Locations
• Elastic IP Addresses
• Amazon CloudWatch
o monitoring for AWS cloud resources
• Auto Scaling
o automatically scale your Amazon EC2 capacity up
or down
• Elastic Load Balancing
Amazon EC2 Concepts

• Amazon Machine Image (AMI)


• Instances
Amazon EC2 tools

• ElasticFox (A great Firefox plugin)


• EC2 command line tools(Build on Java)
Create AMI from instance

• Bundle your instance


• Upload bundle into your Amazon S3 bucket
• Register image
• Running Instances
• Share your Image with the community(by making it
public)

http://jitu-blog.blogspot.com/2009/04/create-image-from-existing-instance-and.html
Elastic IP

• What is Elastic IP?


o Elastic IP addresses are static IP addresses designed for dynamic cloud
computing
• Why should we use Elastic IP?
o Associated with your account not a particular instance
o Elastic IP addresses allow you to mask instance or Availability Zone
o Programmatically remapping your public IP addresses to any instance in
your account
o Provide the facilities of zero downtime

http://samiuzzaman.blogspot.com/2008/11/how-to-create-elastic-ip-and-associate.html
Amazon Elastic Block Storage (EBS)

• What is EBS?
o Amazon Elastic Block Store (EBS) offers persistent storage for Amazon EC2
instances. Amazon EBS volumes provide off-instance storage that persists
independently from the life of an instance
• Features of EBS
o Flexible Storage 1GB to 1TB
o Behave Like a storage device
o Storage is Replicated
o Uploaded on S3
o Point-in-time snapshot
http://samiuzzaman.blogspot.com/2008/03/integrating-ebselastic-block-storage.html
Maintenance and Issues

• Create Image whenever instance changes


• Use Elastic IP
• Use of EBS
• Create scripts for common tasks
• Tag your ElasticFox wisely
Amazon Simple Storage Service (Amazon S3)

• What is amazon s3 ?
o Amazon S3 is storage for the Internet. It is designed to make web-scale
computing easier for developers.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.
• Amazon S3 Functionality
o Write, read, and delete objects form 1 byte to 5 gigabytes
o object is stored in a bucket
o bucket are localized but objects can be accessed form anywhere
o retrieved via a unique, developer-assigned key
o Uses standards-based REST and SOAP interfaces designed to work
with any Internet-development toolkit
Amazon Simple Queue Service (Amazon SQS)

• What is amazon SQS ?


o Amazon Simple Queue Service (Amazon SQS) offers a reliable, highly
scalable, hosted queue for storing messages as they travel between
computers
• Amazon SQS Functionality
o amazon SQS queues with an unlimited number of messages
 Independent of regions.
 The message body can contain up to 8 KB of text
 Messages can be retained in queues for up to 4 days.
 Messages can be sent and read simultaneously.
o When a message is received, it becomes “locked” while being
processed
o access through standards-based SOAP and Query interfaces
Amazon Flexible Payments Service(FPS)

Why Flexible?
• Transaction Amount: Specify minimum, maximum, range, or specific
amount for a certain payment.
• Transaction Date: Configure a payment transaction to be executed at a
specific time (e.g. specific day, or date range).
• Transaction Types: One time payments, recurring payments and pre-
payments
• Spending Limit: Set daily, weekly or monthly limits on the number of
transactions or total amount spent, to control spending on your
application.
• Recipient List: Specify recipients who are authorized to access and
receive funds.
• Payment Method: Specify the payment methods (credit card, bank
account debit, balance transfer) you want to accept through your
application.
• Fees: Control which party pays the Amazon FPS transaction fees.
Amazon Flexible Payments Service(FPS) Steps

• Generate a caller token(Needed once for each application)


• Generate a recipient token
• Generate a co-branded UI url with caller and recipient token
• Redirect to Amazon with a generated co-branded UI url
• Amazon will redirect to your web site with a sender token
• Execute Payment using caller, recipient and sender token

http://jitu-blog.blogspot.com/2008/11/amazon-flexible-payments-service.html
Amazon Flexible Payments Service(FPS)

• Plugins: amazon_fps_foo, remit


• Web Service and Amazon library
Amazon FPS Test and Issues

• Testing
o Amazon sandbox provides similar experience for testing without
real money flow
• Maintaining configuration
o Maintaining configuration is crucial as the code for test and
production is same. The only thing differs is the configuration.

You might also like