All articles

I'll be honest — when I first set up AWS I was fully expecting a surprise bill. Set a $1 alert, held my breath, and watched. Two weeks in, I'm running two live sites, a clickstream pipeline, a contact form that pipes into Google Sheets, and a chatbot. Total: $4.62 USD. Here's the breakdown.

Soyons honnêtes — quand j'ai configuré AWS pour la première fois, je m'attendais à une mauvaise surprise sur ma facture. J'ai mis une alerte à 1 $, retenu mon souffle, et attendu. Deux semaines plus tard : deux sites en ligne, un pipeline d'analytique, un formulaire de contact qui alimente Google Sheets, et un chatbot. Total : 4,62 $ USD. Voici le détail.

What I'm Actually Running

Ce que je fais tourner concrètement

This isn't a 'hello world' setup. These are real things on real URLs that real people visit.

Ce n'est pas un projet de démonstration. Ce sont de vraies applications, sur de vraies URLs, visitées par de vraies personnes.

  • proofofboredom.com — this site, with a full clickstream analytics pipeline behind it
  • vargaskeo.com — separate personal site, static
  • Contact form — Lambda + API Gateway, saves submissions directly to Google Sheets. No backend server, no database.
  • Chatbot — running on Lambda, wired into the portfolio
  • Certification labs — EC2 and VPC experiments I spin up and tear down for AWS cert prep
  • proofofboredom.com — ce site, avec un pipeline d'analytique complet en arrière-plan
  • vargaskeo.com — site personnel séparé, statique
  • Formulaire de contact — Lambda + API Gateway, enregistre les soumissions directement dans Google Sheets. Pas de serveur, pas de base de données.
  • Chatbot — tourne sur Lambda, intégré au portfolio
  • Labs de certification — expériences EC2 et VPC que je lance et supprime pour préparer mes certifications AWS

The Analytics Pipeline

Le pipeline d'analytique

Instead of paying for Kinesis Firehose (which charges the moment a byte hits it), I built the whole thing with two Lambda functions. One catches events from the browser and writes raw NDJSON to S3. The other runs every hour via EventBridge and aggregates everything into a single stats.json that the lab dashboard reads.

Plutôt que de payer pour Kinesis Firehose (qui facture dès le premier octet), j'ai tout construit avec deux fonctions Lambda. La première capture les événements du navigateur et écrit du NDJSON brut dans S3. La seconde tourne toutes les heures via EventBridge et agrège tout dans un fichier stats.json que le tableau de bord du lab lit directement.

python
# EventBridge triggers this every hour
def handler(event, context):
    keys   = list_today_keys(BUCKET)
    events = read_events(BUCKET, keys)
    stats  = compute_stats(events, today_str)
    write_stats_json(BUCKET, stats)

Lambda gives you 1 million free invocations a month, forever — not just during the free tier period. At my traffic I use maybe 800 a day. Not even close.

Lambda vous donne 1 million d'invocations gratuites par mois, pour toujours — pas seulement pendant la période de niveau gratuit. À mon niveau de trafic, j'en utilise environ 800 par jour. Loin du plafond.

The Services and What They Actually Cost

Les services et ce qu'ils coûtent vraiment

  • Lambda — free forever (1M requests/month). Everything runs through here.
  • API Gateway HTTP API — free for the first 12 months, $1/million calls after that
  • S3 — 5 GB free. My entire event store is under 50 MB.
  • EventBridge — free. Cron triggers are free.
  • Athena — $5/TB scanned, on-demand only. At my volume it's cents per query when I need it.
  • Cost Explorer — free to view, tiny charge (~$0.01) if you hit the API
  • Lambda — gratuit pour toujours (1M requêtes/mois). Tout passe par là.
  • API Gateway HTTP API — gratuit les 12 premiers mois, 1 $/million d'appels ensuite
  • S3 — 5 Go gratuits. Mon stockage d'événements fait moins de 50 Mo.
  • EventBridge — gratuit. Les déclencheurs cron sont gratuits.
  • Athena — 5 $/To scanné, à la demande uniquement. À mon volume, c'est quelques centimes par requête.
  • Cost Explorer — gratuit à consulter, petit frais (~0,01 $) si vous utilisez l'API

Note

API Gateway's 12-month free tier is the one to watch. After that it's $1 per million calls — still nothing at personal project traffic, but worth knowing before you build something that scales.

Note

Le niveau gratuit de 12 mois d'API Gateway est celui à surveiller. Ensuite c'est 1 $ par million d'appels — toujours rien à l'échelle d'un projet personnel, mais vaut la peine de le savoir avant de construire quelque chose qui grossit.

Tip

Set a billing alert at $1 the moment you create your account. Seriously, do it before you do anything else.

Conseil

Configurez une alerte de facturation à 1 $ dès la création de votre compte. Sérieusement, faites-le avant tout autre chose.

The Numbers

Les chiffres

Two weeks running. Two live sites, a pipeline, a contact form, a chatbot, and cert lab experiments. Bill: $4.62 USD. Remaining credits: $195.38. I started with $200 total — $100 base from AWS Activate plus $20 for each of the five onboarding tasks I completed.

Deux semaines de fonctionnement. Deux sites en ligne, un pipeline, un formulaire de contact, un chatbot et des labs de certification. Facture : 4,62 $ USD. Crédits restants : 195,38 $. J'ai commencé avec 200 $ au total — 100 $ de base avec AWS Activate, plus 20 $ pour chacune des cinq tâches d'intégration complétées.

How to Get Started Without Paying

Comment démarrer sans payer

AWS has two programs worth knowing about depending on where you're at. The free tier covers most services for 6 months and some forever — that's the baseline. If you're building something more serious, the Startups program goes up to $100,000 in credits. I used Activate (which is now folded into the Startups program) to get my initial $200 — finished all five tasks in about an hour.

AWS propose deux programmes selon où vous en êtes. Le niveau gratuit couvre la plupart des services pendant 6 mois et certains pour toujours — c'est la base. Si vous construisez quelque chose de plus ambitieux, le programme Startups offre jusqu'à 100 000 $ en crédits. J'ai utilisé Activate (maintenant intégré au programme Startups) pour obtenir mes 200 $ initiaux — les cinq tâches d'intégration m'ont pris environ une heure.

Recommended tool · No affiliate program

AWS Free Tier

The starting point. 6 months free on most services, plus a handful that stay free forever (Lambda, EventBridge). No tricks — just sign up and you get it automatically.

Recommended tool · No affiliate program

AWS Free Tier

Le point de départ. 6 mois gratuits sur la plupart des services, plus quelques-uns qui restent gratuits pour toujours (Lambda, EventBridge). Pas de piège — inscrivez-vous et c'est automatique.

Recommended tool · No affiliate program

AWS Activate for Startups

If you're building something with more ambition, this program goes up to $100,000 in credits depending on your stage. The entry level is what I used — $100 base plus $20 per completed onboarding task, $200 total.

Recommended tool · No affiliate program

AWS Activate for Startups

Si vous construisez quelque chose de plus ambitieux, ce programme offre jusqu'à 100 000 $ en crédits selon votre stade. Le niveau d'entrée est celui que j'ai utilisé — 100 $ de base plus 20 $ par tâche d'intégration complétée, soit 200 $ au total.

The best infrastructure is the kind you forget is running.

— Something I tell myself at 2am when the Lambda logs look clean

All referrals in this article

AWS Activate for Startups https://aws.amazon.com/startups/