Skip to content

Flow that uses lots of AWS services triggered via fastapi endpoint and boto3 SDK

Notifications You must be signed in to change notification settings

DSkrubber/skrubber_aws_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project info

This is a demo project to interact with different AWS services.

Prerequisites

  1. This project uses Poetry for dependency and virtual environment management, you also need to install it.

  2. You also need to create IAM user with programmatic access to EC2, S3, SNS, SQS, RDS, DynamoDB, Lambda and ElastiCache.

  3. Also create and preconfigure EC2 instance, RDS database and redis ElastiCache cluster.

Installation

  1. Clone the repo:

git clone https://git.epam.com/epm-uii/badgerdoc/back-end.git

  1. To install the required dependencies and set up a virtual environment run in the cloned directory:

poetry install

  1. Add .env file with all requested variables to repo root.

Run application

  1. To run web application from repository root use command:

poetry run uvicorn --host '0.0.0.0' --port 8000 app.main:app

Note: make sure to allow access to port 8000 in 'Inbound rules' of your EC2 instance.

  1. Since application runs you can interact with resources via SWAGGER:

http://<your_EC2_instance_Public_IPv4_DNS_adress>/docs

Releases

No releases published

Packages

No packages published

Languages