How to use aws for running deep learning model when images are sent from raspberry pi

I want to send image captured by raspberry pi camera to cloud where it will be processed by a already trained deep learning model and the commands(model output) will be sent back to the raspberry pi.I have been searching a lot on the internet but I could not find anything. Please help me. Thank you