GithubHelp home page GithubHelp logo

san99tiago / aws-cdk-bedrock-lambda-poc Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 428 KB

Level 101 experiments with AWS Bedrock on top of Lambda Functions.

License: Apache License 2.0

Python 82.42% Shell 14.44% Makefile 3.14%
aws-bedrock aws-lambda bedrock san99tiago santiago-garcia-arango santiago-garcia-arango-developer santiago-garcia-arango-devops santiago-garcia-arango-tech

aws-cdk-bedrock-lambda-poc's Introduction

๐ŸŽจ AWS-CDK-BEDROCK-LAMBDA-POC ๐ŸŽจ

AWS FastAPI CDK deployment with sample Bedrock-based AI solution.

Summary/Overview ๐Ÿ“

  • Deployed on AWS with Infrastructure as Code on CDK-Python.
  • API developed with FastAPI.
  • AI Models on top of AWS Bedrock.
  • Unit and Integration Tests for the source code with PyTest.

AWS Architecture Diagram ๐Ÿ†

The AWS infrastructure solution is deployed with CDK-Python with the resources defined on the cdk folder:


Folders Explained ๐Ÿ“œ

This repository consists of multiple folders/files, which are explained as follows:

Demo Responses ๐Ÿ”ฎ


Usage โœ…

Follow these steps to configure the project locally:

Enable AWS Bedrock Models

Go to AWS Console, and request access to the Bedrock models that will be used.

Clone the repository

First, clone the repository:

git clone https://github.com/san99tiago/aws-cdk-bedrock-lambda-poc
cd aws-cdk-bedrock-lambda-poc

Configure CDK

Review the step by step commands for configuring the CDK at:

Note: python dependencies for this project are managed by Poetry. Review ./pyproject.toml for details.

Note: for deploying or destroying the solution, see ("part 3") inside ./important_commands.sh.

Dependencies ๐Ÿ’ฏ

Software

  • Visual Studio Code
    Visual Studio Code is my main code editor for high-level programming. This is not absolutely necessary, but from my experience, it gives us a great performance and we can link it with Git and GitHub easily.

  • Python
    Python is a dynamic programming language that let us work fast, with easy and powerful integration of different software solutions.

Tools

  • CDK CLI (Toolkit)
    To work with the CDK, it is important to install the main toolkit as a NodeJs global dependency. Please refer to the official AWS Getting started with the AWS CDK

  • AWS CLI
    The AWS Command Line Interface (AWS CLI) is a unified tool to manage your AWS services. We will use it for connecting to our AWS account from the terminal (authentication and authorization towards AWS).

Special thanks ๐Ÿป

  • I am grateful to the talented individuals who have dedicated their time and effort to develop the exceptional open-source projects that have been used in the creation of this solution.

Author ๐ŸŽน

Santiago Garcia Arango

As a curious DevOps Engineer, I am deeply passionate about implementing cutting-edge cloud-based solutions on AWS.
I firmly believe that today's greatest challenges must be solved by the expertise of individuals who are truly passionate about their work.

LICENSE

Copyright 2023 Santiago Garcia Arango

aws-cdk-bedrock-lambda-poc's People

Contributors

san99tiago avatar

Watchers

 avatar  avatar

aws-cdk-bedrock-lambda-poc's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.