Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
KI & AI VideosJulian Goldie SEO: I Ranked in Google + Grok in 24 Hours(22.09.2026 um 15:00 Uhr)
IT Security Toolsshannon v3.3.0(22.09.2026 um 13:56 Uhr)
IT Security Toolspentest-harness(22.09.2026 um 14:31 Uhr)
Reverse EngineeringPureRAT-msbuild.exe--C2-Extraction--Net-Evasion-Analysis(22.09.2026 um 15:06 Uhr)
IT Security NachrichtenBeware these fake websites selling subscriptions to AI assistants(22.09.2026 um 15:11 Uhr)
IT Security NachrichtenDORA Year Two: Reicht die SOC-Sicht für Echtzeit-Angriffe?(22.09.2026 um 14:54 Uhr)
IT Security NachrichtenDORA Year Two: Netzwerk-Sicht entscheidet über SOC-Fähigkeiten(22.09.2026 um 15:27 Uhr)
IT Security NachrichtenIT Security News Hourly Summary 2026-09-22 15h : 19 posts(22.09.2026 um 15:00 Uhr)
KI & AI VideosJulian Goldie SEO: I Ranked in Google + Grok in 24 Hours(22.09.2026 um 15:00 Uhr)
IT Security Toolsshannon v3.3.0(22.09.2026 um 13:56 Uhr)
IT Security Toolspentest-harness(22.09.2026 um 14:31 Uhr)
Reverse EngineeringPureRAT-msbuild.exe--C2-Extraction--Net-Evasion-Analysis(22.09.2026 um 15:06 Uhr)
IT Security NachrichtenBeware these fake websites selling subscriptions to AI assistants(22.09.2026 um 15:11 Uhr)
IT Security NachrichtenDORA Year Two: Reicht die SOC-Sicht für Echtzeit-Angriffe?(22.09.2026 um 14:54 Uhr)
IT Security NachrichtenDORA Year Two: Netzwerk-Sicht entscheidet über SOC-Fähigkeiten(22.09.2026 um 15:27 Uhr)
IT Security NachrichtenIT Security News Hourly Summary 2026-09-22 15h : 19 posts(22.09.2026 um 15:00 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

TicketCraft: Dynamic Ticket Generator

This is a submission for the Pulumi Deploy and Document Challenge: Fast Static Website Deployment What I Built While working as a backend developer for AIESEC in Nigeria, I encountered a challenge during conference…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

This is a submission for the Pulumi Deploy and Document Challenge: Fast Static Website Deployment






What I Built



While working as a backend developer for AIESEC in Nigeria, I encountered a challenge during conference registrations: creating personalized tickets for attendees. Traditional methods, like writing extensive MJML templates, felt cumbersome and time-consuming. So, I decided to treat the tickets as images and used Python libraries: Pillow (PIL) for image manipulation and FastAPI to create a web server to host the images.






Live Demo Link



Live demo






Project Repo



Project repo






My Journey



Instead of continuing with template-heavy solutions, I reimagined tickets as dynamic images that could be generated on-demand. I developed a FastAPI service that leverages Python's Pillow library to create personalized conference tickets through these steps:




  1. Architecture Design: I designed a modular system where conference configurations could be easily defined and managed separately from the core ticket generation logic.


  2. Data Modeling: Using Pydantic, I created structured schemas (TicketConfig and ServiceConfig) to ensure data validation and maintain consistent ticket generation across different events.


  3. Dynamic Text Rendering: One of my key innovations was developing an algorithm that automatically adjusts font size and text placement to accommodate attendee names of varying lengths.




One particularly challenging issue I faced was that attendee names vary a lot in length, and I needed to ensure the names were displayed properly without the text overflowing or looking disproportionate. So I implemented an adaptive text sizing algorithm that starts with the maximum font size, measures the text width with Pillow's multiline_textbbox function and progressively reduces font size until the text fits within the specified area. It also splits text across multiple lines when necessary.



Algorithm for managing varying name length



Working on this project was my first time working with Pillow and it deepened my understanding of programmatic image manipulation. And later on when I wanted to deploy to AWS for the first time it was the easiest project I code use for a test run.






Using Pulumi



This was my first time deploying to AWS, and I found myself struggling with both the AWS console interface and Terraform’s syntax for infrastructure as code. Then a friend introduced me to Pulumi, which lets you define your cloud infrastructure using Python—a language I was already comfortable with. This significantly reduced the learning curve of mastering Terraform’s HCL. By following this article, I was able to understand key AWS resources like Lambda functions, API Gateway, and IAM roles—what they do and how they work together—all in a language I already knew.



In my implementation, I used Pulumi to:




  • Create an API Gateway to expose my FastAPI endpoints

    Create an API Gateway


  • Set up proper IAM roles and permissions

    Create IAM role for Lambda


  • Configure a Lambda function using my containerized application and establish a Docker image pipeline with ECR (Elastic Container Registry

    Configure Lambda function


  • Then create and connect an API Gateway stage to Lambda and finally export the API Gateway URL

    Create API Gateway stage and export the API Gateway URL




One challenge I faced was that Pulumi kept failing to build my Docker image when I ran pulumi up. This was because my infrastructure code was inside a subfolder within my main project directory, and the default build context didn’t include everything it needed. Later, I discovered that you can explicitly define the Docker build context in your Pulumi code—which solved the issue and, honestly, I found that really cool.



Context issue fix

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten TicketCraft: Dynamic Ticket Generator

Thematisch verwandte Begriffe: TicketCraft, Dynamic, Ticket, Generator · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-95667 | The MISP installer scripts (for Debian 12, Debian 13, Ubuntu 24.04, and …
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick