- Now let's review a use case
of video transcoding and archival in Amazon Web Services.
In this particular use case, what we're looking at
is an Amazon EC2 instance launched
as a g2 dot two extra large, which has access
to some very powerful GPUs, and we're going to use those
to render a 3D animation to the disk,
and because we have a lot of information
going to the disk sequentially,
we went with a throughput optimized hard drive
instead of an SSD provisioned IOPS or general purpose.
Now, once this animation finishes rendering,
what we want to do is take that high resolution master,
and we're going to upload that to S3.
S3 would then be configured to lifecycle those masters
off to Glacier after seven days,
so sometime within that first week,
we might do something with the master,
and then after that, we wanna keep it
for a long period of time,
but we just wanna lower our cost of storage,
and so we're gonna leverage Glacier to do that.
Now, once this object, the high resolution master,
has been uploaded to S3, we're going to leverage
S3 events to trigger a Lambda function.
One Lambda function will take the metadata
of that video and it will store that metadata
in an Amazon DynamoDB table
so that we can reference that later,
and we might correlate that metadata,
one, back to the file that's stored in S3,
and we might also correlate that metadata
to the objects stored in Glacier as well.
At the same time, that same event will also trigger
an additional Lambda function, concurrently.
You can see here we're leveraging the S3 object
created post-event to invoke these Lambda functions.
The second Lambda function will be used
to trigger the Elastic Transcoder.
The Amazon Elastic Transcoder is a service
that we can use to transcode this video
into a number of different formats.
Now, again, this is the high-resolution master,
but we wanna get this video out there
to people to view at a number of different formats,
different screen sizes, different platforms, and so on.
So, we're triggering the Elastic Transcoder,
which will pull that video from S3,
it will transcode it into various sizes,
it will output all of those,
perhaps a half a dozen different videos
to S3, to another bucket.
We will use that bucket as what we call the origin
for a CloudFront distribution,
and then we can use CloudFront
so that these final output videos
are served to other users from edge locations.
Some of these things we haven't,
perhaps haven't talked about yet,
and again, as far as these use cases and demos go,
I want to spur your imagination.
I want to get your thinking about the possibilities.
I want you thinking about ways that you can leverage
these various services, perhaps in similar ways
to solve the problems that you're facing
in your particular business.
So, that is just one example
of the virtually limitless possibilities
that we have to put these services together
within Amazon Web Services, to solve technical challenges,
and that is video transcoding and archival within,
using the various storage options we have available.