In this guide, we will walk you through four methods of specifying credentials in Boto3, starting from the basic approaches of using environment variables and shared credential files to the more advanced and scalable solutions such as AWS IAM roles.
For my assets web app, written in Flask (Python) I have separated the app and the database into separate instances. This allows me to update the app and its dependencies without impacting the database and its dependencies, or vice-versa. The database could be one of many as I’m using SQLAlchemy to handle the connectivity between … Continue reading Flask and SQLAlchemy: Connecting To MySQL (Python / Notes)
In this blog post I take my Flask (Python) web application and deployment to Microsoft Azure, and instead of doing it manually I do it via a CI/CD. I’ve previously discussed Continuous Integration (CI) in blog posts around CI, GitHub actions and recently Code Coverage. The CD of CI/CD can stand for Continuous Deployment or … Continue reading Continuous Deployment, Continuous Delivery – The CD of CI/CD (GitHub / Python / DevOps)
Testing is important, especially in Continuous Integration / Continuous Deployment (CI/CD) environments, as it gives some reassurance that a code commit has not broken anything. But what happens if you are unsure how much of your project is covered by tests? Code Coverage Code coverage monitors tests as they run and checks which parts of … Continue reading Code Coverage (Python / DevOps)
In this how-to guide, we will show you how to find AWS accounts by their Organization Unit (OU) name. This can be particularly useful as it allows you to locate AWS accounts in a more intuitive way.