In this article, you’ll discover how to install Python 3 and Pip on an Amazon EC2 instance. Whether you’re working with Amazon Linux 2 or Ubuntu.
We’ll explore how to check wether a specific key (object) or multiple keys exists without looping through the whole S3 bucket using Boto3 in Python.
In this guide, we’ll explore 3 ways on how to write files or data to an Amazon S3 Bucket using Python’s Boto3 library.
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.
In this guide, we’ll show you how to execute Boto3 methods on multiple AWS accounts at once using Python.
In this tutorial, we will walk through the steps to clean up inactive task definitions in the ECS service in all AWS regions.