AWS Builder Center
Weekend Agent Challenge: Daily Coding Challenge Agent

Weekend Agent Challenge: Daily Coding Challenge Agent

I built a Daily Coding Challenge Agent using AWS Lambda, Amazon EventBridge Scheduler, and Amazon SES. The agent runs automatically every day and sends a coding challenge by email, demonstrating an always-on serverless workflow built for the AWS Weekend Agent Challenge.

🚀 Weekend Agent Challenge: Daily Coding Challenge Agent

Tags:  #agents   #aws   #serverless   #lambda   #eventbridge   #amazon-ses 

📝 Description

I built Daily Coding Challenge Agent, an always-on AWS serverless application that automatically sends a daily coding challenge to my email using AWS Lambda, Amazon EventBridge Scheduler, and Amazon Simple Email Service (SES). This project was created for the AWS Weekend Agent Challenge to demonstrate how serverless AWS services can work together to automate useful daily tasks without requiring any manual interaction.



📖 Introduction

As someone who is learning cloud computing and AWS, I wanted to build a simple but useful project that could help me improve my coding consistency while also teaching me how AWS serverless services work together.
Instead of opening coding websites every day to search for a problem to solve, I built an Always-On Daily Coding Challenge Agent. Once configured, the application runs automatically every day and sends a coding challenge directly to my email inbox. There is no need to click a button or manually start the application. Everything happens automatically using AWS services.
This project helped me understand event-driven architecture, serverless computing, and AWS automation while building something practical.



🎯 Vision & What the Agent Does

The goal of this project is to encourage daily coding practice through automation.
Many students and developers struggle to maintain a consistent coding routine because they forget to practice or spend time searching for problems. My agent solves this by automatically sending a coding challenge every day.
Here's how it works:
⏰ Amazon EventBridge Scheduler triggers the application at the scheduled time.
⚡ AWS Lambda runs a Python function that prepares the coding challenge.
📧 Amazon SES sends the coding challenge directly to my verified email address.
As a result, every day I receive a coding challenge in my inbox without opening any application or website.
This demonstrates the power of serverless automation on AWS.



🛠️ How I Built It

I built this project using AWS Free Tier services.
The first step was creating an AWS Lambda function using Python. This function contains the logic for preparing the coding challenge and sending an email.
Next, I configured Amazon Simple Email Service (SES) and verified my email address. Email verification was necessary before AWS could send messages successfully.
After that, I updated the Lambda execution role by attaching the required IAM permissions so the function could use Amazon SES.
Once the Lambda function was working, I tested it directly from the AWS Lambda console to ensure emails were being delivered correctly.
The final step was creating an Amazon EventBridge Scheduler rule. Instead of manually running the Lambda function, EventBridge automatically invokes it every day at the configured schedule.
After deployment, the application became completely automated.



☁️ AWS Services Used

This project uses the following AWS services:
  • ⚡ AWS Lambda
  • ⏰ Amazon EventBridge Scheduler
  • 📧 Amazon Simple Email Service (SES)
  • 🔐 AWS Identity and Access Management (IAM)
Each service has a specific role in the automation workflow.



🏗️ Architecture Overview

Amazon EventBridge Scheduler
│
▼
AWS Lambda (Python)
│
▼
Amazon Simple Email Service (SES)
│
▼
Gmail Inbox

Workflow

  1. EventBridge Scheduler runs automatically every day.
  1. It invokes the AWS Lambda function.
  1. Lambda prepares the daily coding challenge.
  1. Amazon SES sends the email.
  1. The coding challenge arrives in my inbox automatically.



🚧 Challenges I Faced

Since I am still learning AWS, I faced several challenges while building this project.
One of the biggest challenges was configuring Amazon SES correctly. Initially, emails were not being delivered because my email address had not been verified. After verifying my email identity, the problem was resolved.
Another challenge involved IAM permissions. My Lambda function needed permission to send emails through Amazon SES. Once I attached the correct IAM policies, everything worked successfully.
I also learned how EventBridge Scheduler works and how it can automatically invoke Lambda functions without requiring any user interaction.
Each challenge taught me something new about AWS.



📚 What I Learned

This challenge helped me gain practical experience with AWS serverless technologies.
During this project I learned how to:
  • ✅ Create AWS Lambda functions
  • ✅ Write Python code for AWS Lambda
  • ✅ Configure Amazon SES
  • ✅ Verify email identities
  • ✅ Manage IAM permissions
  • ✅ Automate workflows using EventBridge Scheduler
  • ✅ Test and deploy serverless applications
  • ✅ Understand event-driven architecture
This project gave me much more confidence in using AWS services.



💡 Future Improvements

I would like to improve this project further by adding more features:
  • 🤖 Generate AI-powered coding challenges using Amazon Bedrock.
  • 📊 Store coding challenge history in Amazon DynamoDB.
  • 🌐 Build a web dashboard for viewing previous challenges.
  • 📈 Track daily coding progress.
  • 🏆 Support Easy, Medium, and Hard difficulty levels.
  • 📧 Send rich HTML email templates.
These improvements would make the application even more useful for learners.


📸 Project Screenshots
To keep this article focused on the project details, all implementation screenshots have been included in the project's GitHub repository.
The GitHub repository contains proof of the complete workflow, including:
  • 📷 AWS Lambda Function Configuration
  • 📷 Lambda Function Test Execution
  • 📷 Amazon SES Verified Email Identity
  • 📷 Amazon EventBridge Scheduler Configuration
  • 📷 Daily Coding Challenge Email Received
  • 📷 Project Source Code and Repository Structure



🔗 🔗 GitHub Repository

The complete source code, project documentation, architecture overview, and proof screenshots are available in my GitHub repository.



🎉 Conclusion

Building the Daily Coding Challenge Agent was an exciting learning experience. Although I am a beginner with AWS, this challenge helped me understand how multiple AWS services can work together to build an always-on serverless application.
The project not only automated a useful daily task but also improved my understanding of AWS Lambda, EventBridge Scheduler, Amazon SES, and IAM. Most importantly, it showed me how cloud technologies can be used to solve real-world problems through automation.
I enjoyed participating in the AWS Weekend Agent Challenge and look forward to building more serverless and AI-powered applications using AWS in the future.



🔗 GitHub Repository

The complete source code, project documentation, architecture overview, and proof screenshots are available in my GitHub repository.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article