Productionalize analytics Flask app with Docker, AWS, and Google API

Mike Chaykowsky
14 min readMar 29, 2019

Hopefully this can be useful to anyone looking to host a Flask app on AWS with Docker, but more specifically this will deal with many of the hurdles involved with putting this app into production while analyzing Google Analytics API data, visualizing with Plotly Dash, and version controlled with Amazon Elastic Container Registry (ECR).

Here’s the general form of the visualization that will be built here for any given day in some date range. This will connect directly to your Google Analytics account and a slider…

--

--

Mike Chaykowsky

Data Scientist at Rivian. x- RAND Researcher. Based out of Los Angeles. @ChaykowskyMike linkedin.com/in/chaykowsky