Closed ryandagley closed 1 month ago
Reading from DynamoDB is a lot simpler than it was to read from S3 because I'm not dealing with so many different objects. In Dev, the site loads way faster than it did, it's still obvious that there's some load time. I suspect the OpenWeather API is the next issue to optimize, but I'm OK with how things are for now.
However, in prod, the weather data doesn't load at all so have to continue troubleshooting.
I had to add permissions for my EC2 role to query dynamodb.
Modify the Flask app to query the latest weather data from DynamoDB rather than reading from S3.