This session includes the interaction between the AWS Rekognition service to identify objects and faces in photos and the Drupal site using the Media Entity and S3 File system modules.

 

Functionality

- Upload images to drupal. 

- Stream wrapper set to s3 bucket

- Cloud watch notifies lambda trigger

- Asynchronous task is run and data sent back to Drupal

- Data used in Drupal to set categories the Images

 

Resources used.

- Drupal CMS

- Drupal s3fs Module

- AWS::S3::Bucket

- AWS::Lambda::Function 

- AWS::IAM::Role

Putting it all together Cloud formation is an amazing, seamless way to run an asynchronous task, reducing load on the main server, the way server-less is working is just amazing.

Next steps, upload code to Github, after making it more generalized. 

 

Sponsors