PyCon LT 2023

Domain Driven Design Meets Infractucture from Code: An AWS Credentials Management Case Study
2023-05-18 , Saphire A - Python

Domain Driven Design (DDD) and Infrastructure from Code (IfC) are two powerful approaches to building software. DDD helps developers create flexible, scalable applications and with IfC they can be seamlessly deployed to the cloud. By combining these two approaches, we can create a layered architecture where IfC is just another layer in a DDD app.
To illustrate how we can achieve this, I’ll show an example of an app I developed using DDD principles. To make it work with IfC, I needed to add a configuration layer and use a special Python syntax for the service layer, which enables the IfC engine to compile it. The other layers don't even know that they're running in the cloud, which makes it easy to maintain the application and add new features. This talk will provide insights into how you can leverage the power of DDD and IfC to create robust, scalable, and flexible software applications, and how to incorporate IfC as another layer in your DDD architecture.


Sources about Infrastructure from Code:
1. Jeremy Daly at re:Invent 2022 https://www.youtube.com/watch?v=RmwKBPCo7o4
2. Asher Sterkin at PyCon France 2023 https://www.youtube.com/watch?v=YB0UhznStlg

Details of the AWS credentials management task: https://medium.com/@barbara.toporowska/iam-credentials-janitor-fa0ca3337284


What is a level of your talk:

Beginner

What topics define your talk the best?:

python, design and architecture, cloud

I graduated in mathematics from the University of Warsaw. For the past year and a half, I've been working in BlackSwan Technologies as an AWS cloud administrator and CAIOS developer.