Changed URL parameter to accept device's UUID instead of PK. Included configuration for deployment in Amazon AWS EB.