Media Analysis Solution
Media Analysis Solution

Automated Deployment

Before you launch the automated deployment, please review the architecture, configuration, and other considerations discussed in this guide. Follow the step-by-step instructions in this section to configure and deploy the Media Analysis Solution into your account.

Time to deploy: Approximately 20 minutes

What We'll Cover

The procedure for deploying this architecture on AWS consists of the following steps. For detailed instructions, follow the links for each step.

Step 1. Launch the Stack

  • Launch the AWS CloudFormation template into your AWS account.

  • Enter values for required parameters: Email, Elasticsearch Cluster Sizing

Step 2. Upload a File for Processing

  • Upload a file using the web interface to begin analysis

Step 3. View Extracted Metadata

  • Review the results extracted from the previously uploaded file

Step 1. Launch the Stack

This automated AWS CloudFormation template deploys the Media Analysis Solution on the AWS Cloud.

Note

You are responsible for the cost of the AWS services used while running this solution. See the Cost section for more details. For full details, see the pricing webpage for each AWS service you will be using in this solution.

  1. Sign in to the AWS Management Console and click the button below to launch the media-analysis-solution AWS CloudFormation template.

    
                            Media Analysis Solution launch button

    You can also download the template as a starting point for your own implementation.

  2. The template is launched in the US East (N. Virginia) Region by default. To launch this solution in a different AWS Region, use the region selector in the console navigation bar.

    Note

    This solution uses Amazon Rekognition, Amazon Comprehend, and Amazon Transcribe, which are currently available in specific AWS Regions only. Therefore, you must launch this solution an AWS Region where these services are available. For the most current AWS service availability by region, see AWS service offerings by region.

  3. On the Select Template page, keep the default setting for Choose a Template and select Next.

  4. On the Specify Details page, assign a name to your solution stack.

  5. Under Parameters, review the parameters for the template, and modify them as necessary.

    This solution uses the following default values.

    Parameter Default Description
    Email <Requires Input> Email address of the user that will be created in the Amazon Cognito Identity Pool. After launch, an email will be sent to this address with instructions for logging in to the demo website.
    Elasticsearch Cluster Sizing Small A drop-down box with three options: small, medium, large cluster
    Send Anonymous Usage Data Yes A drop-down box indicating whether you would like to send anonymous usage data to AWS
  6. Choose Next.

  7. On the Options page, choose Next.

  8. On the Review page, review and confirm the settings. Be sure to check the box acknowledging that the template will create IAM resources.

  9. Choose Create to deploy the stack.

    You can view the status of the stack in the AWS CloudFormation console in the Status column. You should see a status of CREATE_COMPLETE in approximately 20 minutes.

    Note

    In addition to the primary AWS Lambda functions, this solution includes the MediaAnalysisHelperFunction Lambda function, which runs only during initial configuration or when resources are updated or deleted.

    When running this solution, the MediaAnalysisHelperFunction function is inactive. However, do not delete this function as it is necessary to manage associated resources.

Step 2. Upload a File for Processing

After the solution successfully launches, you can start uploading video, image, or audio files for processing. The solution sends an email with instructions for signing into the solution's provided web interface.

  1. In the email, follow the instructions to sign in to the website.

  2. Navigate to the Upload tab.

  3. In the Media section, upload an image, video, or audio file.

  4. Select View in Console, to track the progress of your media analysis in the AWS Step Functions Console.

Step 3. View Extracted Metadata

Once the media file metadata is extracted, you can view the results by selecting View results, or searching for the file in the Browse tab. Depending on the media file uploaded, you will see different types of extracted metadata. You can then view detected labels, facial attributes, known faces from provided images, celebrities, persons, captions, entities, and phrases in your uploaded files.