🛠️ AWS SAM-CLI [Lambda, S3, DynamoDB]

🛠️ AWS SAM-CLI [Lambda, S3, DynamoDB]

A Serverless solution template built using AWS SAM, Lambda, DynamoDB, and S3.


About this project:

This is a serverless solution template built using AWS SAM, Lambda, DynamoDB, and S3. This application is designed to efficiently process and analyze text data in a scalable manner.

Prerequisites

To set up the application, ensure you have the following installed and configured:

  • AWS CLI: Command Line Interface for managing AWS services.
  • SAM CLI: AWS Serverless Application Model Command Line Interface for building and deploying serverless applications.
  • Python 3.12: The programming language used for the Lambda functions.
  • AWS Account: An active AWS account is required to deploy the application.

Installation Steps

Follow these steps to set up the application locally:

  1. Clone the Repository

    git clone <repository-url>
    cd <repository-directory>
  2. Create a Virtual Environment

    python -m venv venv
    source venv/bin/activate  
    On Windows use `venv\Scripts\activate`
  3. Install Dependencies

    pip install -r requirements.txt
  4. Configure Environment Variables Create a .env file in the root of your project and define the necessary environment variables.

  5. Set Up AWS Credentials

    aws configure set aws_access_key_id your_access_key
    aws configure set aws_secret_access_key your_secret_key
    aws configure set region your_region

Deployment

sam deploy --guided

This command will guide you through the deployment process, prompting you for necessary parameters such as stack name, AWS region, and confirmation to create IAM roles.

Testing

Run the following commands to execute tests:

-Integration Tests: To run integration tests, execute:

pytest -v tests/integration/test_lambda_integration.py

Contributing

Contributions are welcome! Please submit a pull request or open an issue for any suggestions or improvements.



Share :

Related Projects



✨ AnalyzeMyDream [Astro.js - FastAPI]

✨ AnalyzeMyDream [Astro.js - FastAPI]

AnalyzeMyDream is an innovative platform built using Astro.js, offering AI-powered dream interpretation to help users gain deeper insights into their dreams. The platform integrates seamlessly with FastAPI, Flask, and advanced AI models, providing quick and detailed analyses. Subscription-based pla

Read More



🎬 Cinemathe [Vue.js - Django Rest Framework]

🎬 Cinemathe [Vue.js - Django Rest Framework]

A full-stack web app developed with Vue.js and Django Rest Framework, that simplifies entertainment choices. It provides seamless authentication for saving favorites, detailed technical info for movies and TV series with reviews included, and social media content sharing.

Read More



⚡️BoltURL [Python - Flask]

⚡️BoltURL [Python - Flask]

This Link Shortener web app showcases how Python can do anything. Using Python (Flask Framework) with PostgreSQL (Supabase).

Read More



📈 E-commerce Data Analysis [Next.js - Python]

📈 E-commerce Data Analysis [Next.js - Python]

This implementation showcases and provides a comprehensive analysis of e-commerce data from two different Next.js projects. Using Python (Flask Framework) with GUnicorn and Azure Deployment.

Read More