As a cloud developer, I want to use AWS Serverless Application Model (SAM) to deploy the serverless stack for an image processing application from a given repository. This will enable me to manage and maintain the application's infrastructure more efficiently, while ensuring that I can quickly and easily deploy updates.
Acceptance Criteria:
Clone the repository containing the serverless stack for the image processing application.
Install and configure the AWS SAM CLI on my local machine.
Convert the current AWS CFN template to SAM that defines the resources required for the image processing application, such as Lambda functions, S3 bucket, Rekognition service, and DynamoDB table.
Package and deploy the Lambda functions
Deploy the serverless stack using the SAM CLI with the sam deploy command.
Verify that the deployment was successful by checking the AWS Management Console for the created resources.
Test the image processing application by uploading an image to the S3 bucket and verifying that the Lambda function processes the image, extracts metadata using Amazon Rekognition, and stores the metadata in the DynamoDB table.
Ensure that I can easily update and redeploy the serverless stack using the SAM CLI as needed.