Sean Callaway goes over building an infrastructure management app with Django and Python. It's mostly hosted on premesis.

In this episode of Running in Production, Sean Callaway talks about building
an app to help manage REI’s server infrastructure. It was built with Django and
it’s mostly hosted on premises in their own data center.

Sean covers keeping the app mostly server rendered and goes into detail about
using Ansible, Kubernetes and Rancher to help manage things.

Topics Include

4:16 – Motivation for using Django and Python
6:27 – The Django admin is not being used
8:20 – Using Ansible to automate spinning up VMware based VMs
10:17 – It’s a monolithic application and it does use Django apps
12:14 – A high level overview of what the app does to help visualize it
15:14 – It’s using Django templates and they tuned a few database queries
18:19 – PostgreSQL is used for some data and maybe Celery will be used soon
21:07 – nginx is serving static files and Kubernetes’ ingress controller handles SSL certs
23:43 – Docker Compose is being used in dev and what Kubernetes has been like so far
28:42 – Pretty much all of their servers are hosted on premises
31:17 – Using Grafana, Splunk and Prometheus for logging and monitoring
34:26 – For the Linux servers, they’re running CentOS with Rancher
38:50 – The entire flow for pushing code from development to production
45:37 – Database backups and planning for disasters
51:50 – Best tips? Containerize your app quickly
55:05 – You can find Sean on GitHub, Twitter and he has a blog at https://callaway.dev

Links

📄 References

https://en.wikipedia.org/wiki/Active_Directory

⚙️ Tech Stack

































































































































































































































































































































































































django →



























































































































































python →





































































































































































































































































































































































































































































































































ansible →











































































































































































































































































































































































































































aws →





























































































































































































































































































































































































































































































centos →









































































































































































































































































































































































































































































































docker →















































































































































































































































































































































































































































































































































































































































































































grafana →

































































































































































































































































































































influxdb →

































































































































































































































































































































































































































































































































































































































































































































































































































































jenkins →















































































































































































































































































































kubernetes →





























































































































































































































































































































































































































































































































































































































mssql →









































































































































































































































































































































































































































































nginx →





































































































































































































































































































































































































































































































































postgres →













































































































































































prometheus →





































































































































































































































































































































































































































































































rancher →























































































































































































































































































































































































































































































































































































































































































































slack →





























































































































































































































































































windows →















































































































































































































































































































































































🛠 Libraries Used

https://openpyxl.readthedocs.io/en/stable/
https://gunicorn.org/
https://github.com/Lucterios2/django_auth_ldap3_ad

Support the Show

This episode does not have a sponsor and this podcast is a labor of love. If
you want to support the show, the best way to do it is to purchase one of my
courses or suggest one to a friend.


Dive into Docker is a video course that takes you from not knowing what Docker is
to being able to confidently use Docker and Docker Compose for your own apps.
Long gone are the days of "but it works on my machine!". A bunch of follow
along labs are included.


Build a SAAS App with Flask is a video course where we build a real
world SAAS app that accepts payments, has a custom admin, includes high test
coverage and goes over how to implement and apply 50+ common web app features.
There's over 20+ hours of video.

Twitter Mentions