SlideShare a Scribd company logo
Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Dinah Barrett, EMEA Partner Solutions Architect
dinahb@amazon.co.uk
October 2015
GPS312
Application Services
Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What to expect from the session
• Overview of application services
• Understand how application services can help you
deliver content on the AWS platform
• Walk through select services
• Common use cases
Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Overview of application services
Amazon
API Gateway
Amazon
AppStream
Amazon
CloudSearch
Amazon Elastic
Transcoder
Amazon
SES
Amazon
SQS
Amazon
SWF
Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Customers using AWS application services
Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon API Gateway
• API Gateway is a fully managed service that makes it
easy for developers to create, publish, maintain, monitor,
and secure APIs at any scale.
• API Gateway handles all the tasks involved in accepting
and processing up to hundreds of thousands of
concurrent API calls, including traffic management,
authorization and access control, monitoring, and API
version management.
Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
An API call flow
Internet
Mobile Apps
Websites
Services
API
Gateway
AWS Lambda
functions
AWS
API Gateway
cache
Endpoints on
Amazon EC2/
Amazon
Elastic
Beanstalk
Any other publicly
accessible endpoint
Amazon
CloudWatch
monitoring
Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon AppStream
• Low latency application streaming service that lets you
stream resource-intensive applications and games from
the cloud
• Using the SDK, output can be streamed to devices
running Amazon FireOS, Android, Chrome, iOS, Mac,
and Microsoft Windows
• Render content in the cloud and scale on demand
• Run existing Windows applications from the cloud
without code modifications
Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon CloudSearch
• Managed search service that provides developers a
search solution for websites and applications
• Supports 34 languages and popular search features
such as highlighting, autocomplete, and geospatial
search
• Automatically scales your search domain’s resources up
or down to support a highly tuned search index
• Handles both structured and unstructured data
Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Elastic Transcoder
• Media transcoding service used to convert files from
their source format into versions that will play back on
devices such as smartphones, tablets, and PCs
• Add, remove, and preserve closed-captioning text used
to transcribe the audio portion of the video
• Supports more than 12 output formats, including MP3
and MP4
Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Simple Email Service (SES)
• Managed email-sending service that helps businesses
and developers serve a customer base
• Delivers merchandising, subscription, transactional, and
notification email messages
• Provides real-time feedback on bounces, complaints,
and delivery notifications
Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Simple Queue Service (SQS)
• Redundant infrastructure
• Reliable
• Scalable
• Distributed queues
B D
C
A
D
E
A
B D
B
C
E D
C
E
A
C
Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SQS core features
• Cross-region resource sharing support
• Multiple readers and writers
• Configurable queues
• Variable message size – can contain up to 256 KB of text in
any format
• Access control – supports resource-based permissions
• Delay queue
Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Simple Workflow Service (SWF)
• Orchestration tool across your infrastructure
• Enables scalable, resilient, truly distributed applications
• Makes it easy to build applications that coordinate work across
distributed components
• Durable, distributed state management
• Asynchronous invocation and event-driven execution
• Accessible anywhere from any programming language
• Low cost, reliable, and scalable
Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Use cases and demo
Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AppStream
AWS AppStream Service
Entitlement Service
AppStream application hosts
Your clients
(desktop or
mobile device)
1
Request authorization
Create session
2
Session ID
3
Returns
entitlement URL 4
Access
entitlement
URL 5
Stream audio & video and
user input
6
Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon S3
Input Bucket
Amazon S3
Input Bucket
Amazon S3
Output Bucket
Amazon S3
Output Bucket
Amazon S3
Output Bucket
Transcoding Pipeline 1
Transcoding Pipeline 2
Transcoding Pipeline 4
Kindle Fire HDAndroid iPAD
Transcoding Job n Transcoding Job 2 Transcoding Job 1
Elastic Transcoder detailed diagram
Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Elastic Transcoder use cases for video-on-
demand and live streaming
RTMP stream
Media fileAmazon S3
bucket
Amazon S3
bucket
Elastic
Transcoder
HTTPS
HTTPS
Media servers
on Amazon EC2
CloudFront
distribution
CloudFront
distribution
Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Elastic Transcoder image/video conversion
A
m
a
z
o
n
S
3
b
u
c
k
e
t
A
m
a
z
o
n
S
3
b
u
c
k
e
t
E
l
a
s
t
i
c
T
r
a
n
s
c
o
d
e
r
Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Auto Scaling using Amazon SQS
Auto Scaling group Auto Scaling group
Capacity increase = 50% Capacity increase = 10%
When single instances are added on a scaling event, the relative
added capacity decreases over time.
Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Sending messages to SQS
Image upload SNS topic
SQS queues
Generate
thumbnail
Image
recognition
Scan metadata
Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Simple Notification Service
Publisher
SQS
Email
HTTP/S
SMS
SNS topic
Subscriber
Mobile Push
Thank you!
Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Remember to complete
your evaluations!

More Related Content

PDF
AWS ELEMENTAL MEDIA SERVICES UPDATE
PDF
Modern Application Development for Startups
PPTX
PPTX
AWS re:Invent recap
PDF
Architecting applications on amazon web services with node.js
PDF
Aws privatelink
PPTX
Go Global Fearless(I18N & L10N)
PPTX
Website on aws
AWS ELEMENTAL MEDIA SERVICES UPDATE
Modern Application Development for Startups
AWS re:Invent recap
Architecting applications on amazon web services with node.js
Aws privatelink
Go Global Fearless(I18N & L10N)
Website on aws

Similar to (Gps312) Application Services (6)

PDF
Build an app on aws for your first 10 million users (2)
PPTX
Getting started with Serverless on AWS
PDF
[AWS Container Service] Getting Started with Cloud Map, App Mesh and Firecracker
PDF
Building Serverless Microservices with AWS
PDF
"Fast Start to Building on AWS", Igor Ivaniuk
PDF
Re cap2018
Build an app on aws for your first 10 million users (2)
Getting started with Serverless on AWS
[AWS Container Service] Getting Started with Cloud Map, App Mesh and Firecracker
Building Serverless Microservices with AWS
"Fast Start to Building on AWS", Igor Ivaniuk
Re cap2018
Ad

Recently uploaded (20)

PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
KodekX | Application Modernization Development
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
A Presentation on Artificial Intelligence
PDF
Machine learning based COVID-19 study performance prediction
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Big Data Technologies - Introduction.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Unlocking AI with Model Context Protocol (MCP)
Chapter 3 Spatial Domain Image Processing.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
KodekX | Application Modernization Development
20250228 LYD VKU AI Blended-Learning.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Reach Out and Touch Someone: Haptics and Empathic Computing
Per capita expenditure prediction using model stacking based on satellite ima...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
NewMind AI Monthly Chronicles - July 2025
A Presentation on Artificial Intelligence
Machine learning based COVID-19 study performance prediction
Encapsulation_ Review paper, used for researhc scholars
Diabetes mellitus diagnosis method based random forest with bat algorithm
Big Data Technologies - Introduction.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Ad

(Gps312) Application Services

  • 1. Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Dinah Barrett, EMEA Partner Solutions Architect dinahb@amazon.co.uk October 2015 GPS312 Application Services
  • 2. Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What to expect from the session • Overview of application services • Understand how application services can help you deliver content on the AWS platform • Walk through select services • Common use cases
  • 3. Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Overview of application services Amazon API Gateway Amazon AppStream Amazon CloudSearch Amazon Elastic Transcoder Amazon SES Amazon SQS Amazon SWF
  • 4. Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Customers using AWS application services
  • 5. Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon API Gateway • API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale. • API Gateway handles all the tasks involved in accepting and processing up to hundreds of thousands of concurrent API calls, including traffic management, authorization and access control, monitoring, and API version management.
  • 6. Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. An API call flow Internet Mobile Apps Websites Services API Gateway AWS Lambda functions AWS API Gateway cache Endpoints on Amazon EC2/ Amazon Elastic Beanstalk Any other publicly accessible endpoint Amazon CloudWatch monitoring
  • 7. Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon AppStream • Low latency application streaming service that lets you stream resource-intensive applications and games from the cloud • Using the SDK, output can be streamed to devices running Amazon FireOS, Android, Chrome, iOS, Mac, and Microsoft Windows • Render content in the cloud and scale on demand • Run existing Windows applications from the cloud without code modifications
  • 8. Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon CloudSearch • Managed search service that provides developers a search solution for websites and applications • Supports 34 languages and popular search features such as highlighting, autocomplete, and geospatial search • Automatically scales your search domain’s resources up or down to support a highly tuned search index • Handles both structured and unstructured data
  • 9. Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Elastic Transcoder • Media transcoding service used to convert files from their source format into versions that will play back on devices such as smartphones, tablets, and PCs • Add, remove, and preserve closed-captioning text used to transcribe the audio portion of the video • Supports more than 12 output formats, including MP3 and MP4
  • 10. Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Simple Email Service (SES) • Managed email-sending service that helps businesses and developers serve a customer base • Delivers merchandising, subscription, transactional, and notification email messages • Provides real-time feedback on bounces, complaints, and delivery notifications
  • 11. Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Simple Queue Service (SQS) • Redundant infrastructure • Reliable • Scalable • Distributed queues B D C A D E A B D B C E D C E A C
  • 12. Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SQS core features • Cross-region resource sharing support • Multiple readers and writers • Configurable queues • Variable message size – can contain up to 256 KB of text in any format • Access control – supports resource-based permissions • Delay queue
  • 13. Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Simple Workflow Service (SWF) • Orchestration tool across your infrastructure • Enables scalable, resilient, truly distributed applications • Makes it easy to build applications that coordinate work across distributed components • Durable, distributed state management • Asynchronous invocation and event-driven execution • Accessible anywhere from any programming language • Low cost, reliable, and scalable
  • 14. Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Use cases and demo
  • 15. Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AppStream AWS AppStream Service Entitlement Service AppStream application hosts Your clients (desktop or mobile device) 1 Request authorization Create session 2 Session ID 3 Returns entitlement URL 4 Access entitlement URL 5 Stream audio & video and user input 6
  • 16. Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon S3 Input Bucket Amazon S3 Input Bucket Amazon S3 Output Bucket Amazon S3 Output Bucket Amazon S3 Output Bucket Transcoding Pipeline 1 Transcoding Pipeline 2 Transcoding Pipeline 4 Kindle Fire HDAndroid iPAD Transcoding Job n Transcoding Job 2 Transcoding Job 1 Elastic Transcoder detailed diagram
  • 17. Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Elastic Transcoder use cases for video-on- demand and live streaming RTMP stream Media fileAmazon S3 bucket Amazon S3 bucket Elastic Transcoder HTTPS HTTPS Media servers on Amazon EC2 CloudFront distribution CloudFront distribution
  • 18. Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Elastic Transcoder image/video conversion A m a z o n S 3 b u c k e t A m a z o n S 3 b u c k e t E l a s t i c T r a n s c o d e r
  • 19. Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Auto Scaling using Amazon SQS Auto Scaling group Auto Scaling group Capacity increase = 50% Capacity increase = 10% When single instances are added on a scaling event, the relative added capacity decreases over time.
  • 20. Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Sending messages to SQS Image upload SNS topic SQS queues Generate thumbnail Image recognition Scan metadata
  • 21. Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Simple Notification Service Publisher SQS Email HTTP/S SMS SNS topic Subscriber Mobile Push
  • 22. Thank you! Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 23. Confidential. Contents of this presentation are covered by AWS NDA. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Remember to complete your evaluations!

Editor's Notes

  • #2: AWS offers managed services that work with applications to support queuing, streaming, notifications, send emails, search content and even manage API’s of your applications. In this open round table and whiteboard chalk talk session you have an opportunity to meet with AWS Solutions Architects and ask technical questions about AWS application services. Also learn from the most common solutions and architectures using Message Queue Service (Amazon SQS), Workflow (Amazon SWF), App Streaming (Amazon AppStream), Transcoding (Amazon Elastic Transcoder), Email (Amazon SES), Search (Amazon CloudSearch),  API Management (Amazon API Gateway).
  • #3: Application Services Services that wrap software you’d commonly install and manage yourself
  • #5: Customers currently using one or more AWS Application Services
  • #6: What is Amazon API Gateway? Amazon API Gateway allows developers to: Host multiple versions and stages of APIs Create and distribute API Keys to developers Leverage AWS Sigv4 to authorize access to APIs Throttle and monitor requests to protect the backend Leverage AWS Lambda Manage cache to store API responses Reduce latency and DDoS protection through CloudFront SDK Generation for iOS, Android, and JavaScript Swagger support Request / Response data transformation and API mocking What problem are we solving Customers asked for tools to help them create and operate APIs so they didn’t have to build and manage the infrastructure themselves. Amazon API Gateway provides a simple, flexible, fully-managed, pay-as-you-go service that handles all aspects of creating and operating robust APIs for application backends. Customers can launch new services with APIs faster with reduced investment so they can focus their energy on building their core services. Value? Managing multiple versions and stages of an API is difficult Monitoring 3rd party developers’ access is time consuming Access authorization is a challenge Traffic spikes create operational burden What if I don’t want servers at all?   Amazon API Gateway was built to help with these aspects of creating and operating APIs:   Security Amazon API Gateway gives developers multiple tools to authenticate API users and control service operation access. Developers can authenticate API calls with AWS Identity and Access Management (IAM), public or private identity providers via Amazon Cognito, or simply by using API keys generated by Amazon API Gateway.   Resiliency Applications, especially mobile, can operate on high latency connections, and each round-trip to the server degrades the user experience. With Amazon API Gateway, developers can optimize performance by minimizing round-trips to the server with web service calls that combine multiple backend operations, and aggregate, filter, and compress the response to the client. With traffic management rules for caching, throttling and quotas, developers can manage the load from heavy traffic so that backend operations can withstand traffic spikes.
  • #7: The first thing we want to look at is the standard flow of an API call, including all components in the system 1) First, a request comes in from a client, this could be a mobile device, a web application or a backend service 2) The requests arrives at one of our CloudFront PoP locations, it’s accepted and routed through to the API Gateway in the customer’s region 3) The API Gateway receives the request, then checks for records in the dedicated cache (if it is configured). If there are no cached records available then it will forward the request to the backend for processing. 4) The backend can be a Lambda function, a web service running on Amazon EC2, or any other publicly accessible web service 5) Once the backend has processed the request the API call metrics are logged in Amazon CloudWatch and the content is returned to the client
  • #8: What is the Amazon AppStream STX Protocol? It is a proprietary protocol used to stream application audio and video over a variety of network conditions. It also sends user input over TCP back to the app. Network conditions are measured throughout and the data is sent back to the server so the streaming video and audio can be altered accordingly. H.264 video and audio streaming uses Opus Application streaming service that lets you stream resource intensive applications in the cloud Using the SDK, output can be streamed to devices running FireOS, Android, Chrome, iOS, Mac, and Microsoft Windows Render content in the cloud and scale on demand Run existing Windows applications from the cloud without code modifications Stream entire application or only part of the application Use Case Highlights Stream applications that leverage the compute power of AWS like CAD, 3D modeling, simulations, games, medical imaging, and life sciences applications that wouldn’t normally be possible due to constraints of low-powered devices A game could use a hybrid scenario, in which you stream part of an application from Amazon AppStream and host part of the application natively on the device use cases for the service are providing brief game demos and longer-term support for high-value applications, like CAD and medical imaging Nvidia GRID drivers http://www.nvidia.com/download/driverResults.aspx/64595/en-us Troubleshooting XSTX_STOP_REASON_SESSION_REQUEST_FAILED Check if you have installed any Internet Security software. Some Internet Security software inspects the secure connections and breaks the application in this process. If you have AVG Internet Security just disable the option Scan encrypted (TLS and SSL) network traffic in Web Browsing Protection -> Online Shield -> Expert Settings If you have Avast! Look for the *SETTINGS* tab (the last one) -> *Active Protection* tab. In *Web Shield* click Customize. Uncheck Enable HTTPS scanning. OK, OK. If you have Bitdefender Go to *PROTECTION* -> Web Protection. Uncheck Scan SSL.
  • #9: Uses cases IMDB Core Features Amazon CloudSearch has been modified to use Apache Solr as the underlying text search engine.
  • #10: Transcoding What is Transcoding? Direct digital to digital data conversion of one encoding to another, such as used to movie or audio files. Windows media file (WMV) which will work on a version that works on iPhone or Android phone. Transcode to MP4 Go here for sample files: https://archive.org/ Encoder System that converts into a message, image, video into coded form Decoder System that converts a coded data into a message, image, audio Codec Contractions of encoder and decoder +++++++++++++++++++++++++++++++ Amazon Elastic Transcoder lets you convert media files that you have stored in Amazon Simple Storage Service (Amazon S3) into media files in the formats required by consumer playback devices. For example, you can convert large, high-quality digital media files into formats that users can play back on mobile devices, tablets, web browsers, and connected televisions. Elastic Transcoder has three components: Jobs Jobs do the work of transcoding. Each job converts one file into one format. For example, if you want to convert a media file into six different formats, you create six jobs. When you create a job, you specify the name of the file that you want to transcode, the name that you want Elastic Transcoder to give to the transcoded file, and several other settings. You also specify a template, known as a preset (see below), that contains the audio and video settings that you want to use for the transcoded file. Pipelines Pipelines are queues that manage your transcoding jobs. When you create a job, you specify which pipeline you want to add the job to. Elastic Transcoder starts processing the jobs in a pipeline in the order in which you added them. Typically, you'll create at least two pipelines—one for standard-priority jobs, and one for high-priority jobs. Most jobs go into the standard-priority pipeline; you use the high-priority pipeline only when you need to transcode a file immediately. If there are other jobs in a pipeline when you create a job, Elastic Transcoder begins processing the new job when resources are available. A pipeline can process more than one job simultaneously, and the time required to complete a job varies significantly based on the size of the file you're converting and the job specifications. Accordingly, jobs don't necessarily complete in the order in which you create them. You can temporarily stop processing jobs by pausing the pipeline. Example: you can have a pipeline for images at low resolution and a pipeline for high resolution Presets Presets are templates that contain most of the settings for transcoding media files from one format to another. Elastic Transcoder includes some default presets for common formats, for example, several iPod and iPhone versions. You can also create your own presets for formats that aren't included among the default presets. You specify which preset you want to use when you create a job. Elastic Transcoder entities are subject to the following limitations: Pipelines: 4 per AWS account Jobs: 1,000 per pipeline Presets: 50 user-defined presets per AWS account (system provided presets that don't count against the limit.) Security Encryption at rest: Server managed keys Outputs are saved to Amazon S3 using S3 server side encryption Downloaded media is not protected, it is decrypted as it is read from Amazon S3 Encryption at rest: Client provided keys Inputs can be protected, client provides decryption key Outputs can be encrypted, client provides encryption key Downloaded media is protected (cannot play directly from S3 or Amazon CloudFront) Protecting Keys Amazon Elastic Transcoder only accepts AWS KMS protected keys Key is never written or stored in clear text Encryption for HLS streams Built on top of “client provided keys” API Amazon Elastic Transcoder generates HLS playlists embedding URI for decryption key
  • #11: Now Inbound and Outbound – September 2015 https://aws.amazon.com/blogs/aws/new-receive-and-process-incoming-email-with-amazon-ses/
  • #12: Redundant infrastructure - GUARANTEES DELIVERY OF MESSAGE AT LEAST ONCE, CONCURRENT ACCESS TO MESSAGES, HIGH AVAILABLITY The diagram shows that a single queue, which has its messages (labeled A-E), is redundantly saved across multiple Amazon SQS servers. Reliable - Managed message queuing service that makes it simple to decouple cloud application components – developers can use SQS by using only five APIs: CreateQueue, SendMessage, ReceiveMessage, ChangeMessageVisibility, and DeleteMessage Scalable - Transmit any volume of data without losing messages or requiring other services to always be available - to enable an unlimited number of services to read and write an unlimited number of messages at any time Messages can be sent, received or deleted in batches of up to 10 messages or 256KB. Batches cost the same amount as single messages, meaning SQS can be even more cost effective for customers that use batching. Messages can be retained in queues for up to 14 days Distributed Queues - QUEUES FOR STORING MESSAGES IN FLIGHT BETWEEN ENDPOINTS DOES NOT REQUIRE HOST AVAILABILITY. Amazon Simple Queue Service (Amazon SQS) offers reliable and scalable hosted queues for storing messages as they travel between computers. By using Amazon SQS, you can move data between distributed components of your applications that perform different tasks without losing messages or requiring each component to be always available.
  • #13: Cross-region resource sharing support - A queue can be created in any region Multiple readers and writers - LOCKS MESSAGE DURING PROCESSING Multiple parts of your system can send or receive messages at the same time Amazon SQS locks the message during processing, keeping other parts of your system from processing the message simultaneously. Configurable queues - EXAMPLE: VARIABLE PROCESSING TIME All of your queues don't have to be exactly alike For example, one queue can be optimized for messages that require a longer processing time than others. Variable message size - can contain up to 256KB of text in any format. WHEN BIGGER HAVE SQS STORE A REF TO S3 OR DYNAMODB, SPLIT LONGER MESSAGES INTO SHORTER ONES Your messages can be up to 262,144 bytes (256 KB) in size For even larger messages, you can store the contents of the message using the Amazon Simple Storage Service (Amazon S3) or Amazon DynamoDB, and use Amazon SQS to hold a pointer to the Amazon S3 or Amazon DynamoDB object. Alternately, you can split the larger message into smaller ones. The message payload can contain up to 256KB of text in any format. Each 64KB ‘chunk’ of payload is billed as 1 request. For example, a single API call with a 256KB payload will be billed as four requests. Access control - supports resource based permissions – Access Policies, Authentication mechanisms are provided to ensure that messages stored in Amazon SQS queues are secured against unauthorized access YOU CONTROL WHO CAN SEND OR RECEIVE There are two types of permissions, user-based and resource-based. They are nearly identical in appearance and function but have some slight syntax differences. The difference between the two types of permissions is in where they are applied. User-based resources are attached to the IAM user and indicate what the user is permitted to do. Resource-based permissions are attached to a resource and indicate what a specified user (or group of users) is permitted to do with it. Amazon Simple Storage Service (Amazon S3), Amazon Simple Queue Service (Amazon SQS), Amazon Simple Notification Service (Amazon SNS) and AWS OpsWorks are the only services that support resource-based permissions. (AWS) Delay queues - USER SET DELAY FOR ALL QUEUED MESSAGES A delay queue is one which the user sets a default delay on a queue such that delivery of all messages enqueued will be postponed for that duration of time. You can set the delay value when you create a queue with CreateQueue, and you can update the value with SetQueueAttributes. If you update the value, the new value affects only messages enqueued after the update. +++++++++++++++++++++++++++++++++++ Use cases Batch Processing Using SQS for durable Batch writes (batch API) Discard stale messages Managed message queuing service that makes it simple to decouple cloud application components Transmit any volume of data without losing messages or requiring other services to always be available Message payload can contain up to 256KB of text in any format
  • #14: What is SWF? Orchestration tool across your infrastructure Enables scalable, resilient, truly distributed applications Makes it easy to build applications that coordinate work across distributed components. Durable, distributed state management Asynchronous invocation and even-driven execution Accessible anywhere from any programming language Low cost, reliability, and scalability are all built in Why SWF? Orchestration is a foundational need for business process implementations and distributed applications Provides asynchronous interactions and loosely couple designs Building reliable task dispatch & state management is hard Lack of task based programming models Developers should concentrate on building business functionality and not on building the plumbing for orchestration Orchestration is a foundational need for business process implementations and distributed applications Provides asynchronous interactions and loosely couple designs Building reliable task dispatch & state management is hard Lack of task based programming models Developers should concentrate on building business functionality and not on building the plumbing for orchestration
  • #16: Appstream – Overview Client side application – Amazon AppStream Example Client Enable the Service AWS Entitlement Service Stream application hosted on G2 instances Request Authorization Create Session Return session ID to Entitlement service Generate/Returns Entitlement URL Access Entitlement URL Stream Audio and Video to client and Steam User Input to Application The file main.cpp is the source code for a sample implementation of a streaming application that can be streamed from Amazon AppStream. This sample is in the <SDK_dir>\example_src\server\windows\SimpleDirectXServer directory of the Amazon AppStream SDK. The sample application uses DirectX for video rendering and XAudio2 for audio rendering. Walking through the sample code is useful in understanding how to construct an application. http://docs.aws.amazon.com/appstream/latest/developerguide/appstream-build-app-sample.html
  • #17: Amazon Elastic Transcoder VOD – Video on Demand Live Streaming Media servers, application running on EC2. Wowza can encode and transport real time and deliver why HTTPS via CloudFront Benefits Automate workflow without using application servers. Currently, we allow a maximum of 100,000 jobs per pipeline. Once you exceed this limit, you will receive a 429 Rate Limit Exception. If you require this limit to be raised, please contact us here.
  • #18: Amazon Elastic Transcoder Live Streaming Media servers, application running on EC2. Wowza can encode and transport real time and deliver with HTTPS via CloudFront Benefits Automate workflow without using application servers. Jobs Jobs do the work of transcoding. Each job converts one file into one format. For example, if you want to convert a media file into six different formats, you create six jobs. When you create a job, you specify the name of the file that you want to transcode, the name that you want Elastic Transcoder to give to the transcoded file, and several other settings. You also specify a template, known as a preset (see below), that contains the audio and video settings that you want to use for the transcoded file. Pipelines Pipelines are queues that manage your transcoding jobs. When you create a job, you specify which pipeline you want to add the job to. Elastic Transcoder starts processing the jobs in a pipeline in the order in which you added them. Typically, you'll create at least two pipelines—one for standard-priority jobs, and one for high-priority jobs. Most jobs go into the standard-priority pipeline; you use the high-priority pipeline only when you need to transcode a file immediately. If there are other jobs in a pipeline when you create a job, Elastic Transcoder begins processing the new job when resources are available. A pipeline can process more than one job simultaneously, and the time required to complete a job varies significantly based on the size of the file you're converting and the job specifications. Accordingly, jobs don't necessarily complete in the order in which you create them. You can temporarily stop processing jobs by pausing the pipeline. Example: you can have a pipeline for images at low resolution and a pipeline for high resolution Presets Presets are templates that contain most of the settings for transcoding media files from one format to another. Elastic Transcoder includes some default presets for common formats, for example, several iPod and iPhone versions. You can also create your own presets for formats that aren't included among the default presets. You specify which preset you want to use when you create a job. Elastic Transcoder entities are subject to the following limitations: Pipelines: 4 per AWS account Jobs: 1,000 per pipeline Presets: 50 user-defined presets per AWS account (system provided presets that don't count against the limit.)
  • #19: Amazon Elastic Transcoder ive Streaming Media servers, application running on EC2. Wowza can encode and transport real time and deliver with HTTPS via CloudFront Benefits Automate workflow without using application servers. Supported Formats 3GP (It is used on 3G mobile phones but can also be played on some 2G and 4G phones.) AAC (AAC and MP3 are both lossy audio compression formats. AAC is the default format used by iTunes. It produces better audio quality than MP3 for a given data rate (e.g., 128 kbps) and is playable in almost all software that can play MP3 files). AVI, WMV, FLV, MP4 and MPEG-2. We do not support reading Apple ProRes files or raw camera formats like ARRI and RED at this time. H.264, VP8, MPEG-2, and animated GIF. File formats supported include MPEG-2 TS container (for HLS), fmp4 (for Smooth Streaming), MP4, WebM, FLV, MPG, and MXF (XDCAM-compatible). We support the following audio codecs: AAC, MP3, MP2, PCM, FLAC, and Vorbis. Audio-only file formats supported include MP3, MP4, FLAC, OGA, and OGG. Jobs Jobs do the work of transcoding. Each job converts one file into one format. For example, if you want to convert a media file into six different formats, you create six jobs. When you create a job, you specify the name of the file that you want to transcode, the name that you want Elastic Transcoder to give to the transcoded file, and several other settings. You also specify a template, known as a preset (see below), that contains the audio and video settings that you want to use for the transcoded file. Pipelines Pipelines are queues that manage your transcoding jobs. When you create a job, you specify which pipeline you want to add the job to. Elastic Transcoder starts processing the jobs in a pipeline in the order in which you added them. Typically, you'll create at least two pipelines—one for standard-priority jobs, and one for high-priority jobs. Most jobs go into the standard-priority pipeline; you use the high-priority pipeline only when you need to transcode a file immediately. If there are other jobs in a pipeline when you create a job, Elastic Transcoder begins processing the new job when resources are available. A pipeline can process more than one job simultaneously, and the time required to complete a job varies significantly based on the size of the file you're converting and the job specifications. Accordingly, jobs don't necessarily complete in the order in which you create them. You can temporarily stop processing jobs by pausing the pipeline. Example: you can have a pipeline for images at low resolution and a pipeline for high resolution Presets Presets are templates that contain most of the settings for transcoding media files from one format to another. Elastic Transcoder includes some default presets for common formats, for example, several iPod and iPhone versions. You can also create your own presets for formats that aren't included among the default presets. You specify which preset you want to use when you create a job. Elastic Transcoder entities are subject to the following limitations: Pipelines: 4 per AWS account Jobs: 1,000 per pipeline Presets: 50 user-defined presets per AWS account (system provided presets that don't count against the limit.)
  • #20: Use Cases Work queues - Decouple components of a distributed application that may not all process the same amount of work simultaneously. Buffer and Batch Operations - Add scalability and reliability to your architecture, and smooth out temporary volume spikes without losing messages or increasing latency. Request Offloading - Move slow operations off of interactive request paths by enqueing the request Fanout - Combine SQS with Simple Notification Service (SNS) to send identical copies of a message to multiple queues in parallel for simultaneous processing. Autoscaling - You can use Amazon SQS queues to help determine the load on an application, and when combined with Auto Scaling, you can scale the number of Amazon EC2 instances out or in depending upon the volume of traffic.
  • #21: Amazon SNS works closely with Amazon Simple Queue Service (Amazon SQS). Both services provide different benefits for developers. Amazon SNS allows applications to send time-critical messages to multiple subscribers through a “push” mechanism, eliminating the need to periodically check or “poll” for updates. Amazon SQS is a message queue service used by distributed applications to exchange messages through a polling model, and can be used to decouple sending and receiving components—without requiring each component to be concurrently available. By using Amazon SNS and Amazon SQS together, messages can be delivered to applications that require immediate notification of an event, and also persisted in an Amazon SQS queue for other applications to process at a later time. When you subscribe an Amazon SQS queue to an Amazon SNS topic, you can publish a message to the topic and Amazon SNS sends an Amazon SQS message to the subscribed queue. The Amazon SQS message contains the subject and message that were published to the topic along with metadata about the message in a JSON document. The Amazon SQS message will look similar to the following JSON document.
  • #22: You can also create Email notifications which you can subscribe to which will alert if there is user input needed. When using Amazon SNS, you (as the owner) create a topic and control access to it by defining policies that determine which publishers and subscribers can communicate with the topic. A publisher sends messages to topics that they have created or to topics they have permission to publish to. Instead of including a specific destination address in each message, a publisher sends a message to the topic. Amazon SNS matches the topic to a list of subscribers who have subscribed to that topic, and delivers the message to each of those subscribers. Each topic has a unique name that identifies the Amazon SNS endpoint for publishers to post messages and subscribers to register for notifications. Subscribers receive all messages published to the topics to which they subscribe, and all subscribers to a topic receive the same messages. Single published message - all notification messages will contain a single published message Order is not guaranteed - The Amazon SNS service will attempt to deliver messages from the publisher in the order they were published into the topic. However, network issues could potentially result in out-of-order messages at the subscriber end. No recall - Once a message was delivered successfully, there is no recall feature HTTP/S retry - an SNS Delivery Policy can be used to control the retry pattern (linear, geometric, exponential backoff), maximum and minimum retry delays, and other parameters 64KB per message (non-SMS) - Plain text; format-less