Skip to content

trueices/cody-AI-chatbot

Repository files navigation

Releases:

  • 0.1.x: Initial version
  • 0.2.x: Separate collection for storing conversations.
  • 0.3.x: Concierge agent implemented.

Run docker locally

docker build -t codey .
docker run -p 5000:5000 codey

Deployment on App Runner using AWS Copilot (POC)

  • Install copilot following the instructions here
curl -Lo /usr/local/bin/copilot


- Initialize Copilot

```bash
copilot init
  • Deploy to App Runner
copilot deploy

Work with EB cli

  • Install EB cli following the instructions here

Create Prod environment

  • Create SSL certificate in ACM for the domain api.codey.awesomehealth.com

  • Update certificate arn in .elasticbeanstalk/saved_configs/<>.cfg.yml

  • Create prod environment using makefile

make create-ssm ondemand=prod --profile <<profile>>

make create-prod --profile <<profile>>
  • Create a new record set in Route53 with the following values:

    • Name: api.codey.awesomehealth.com
    • Type: A - IPv4 address
    • Alias: Yes
    • Alias Target: Select the EB environment
    • Routing Policy: Simple
  • At this point, application should be accessible at https://api.codey.awesomehealth.com

  • Deploy to EB

make deploy-prod --profile <<profile>>

Work with ondemand environments

  • if a new environment is needed, create a new environment for staging or testing. We use single instance environments to optimize cost.
make create-ssm env=<envname> --profile <<profile>>

make create-ondemand env=<<envname>> profile=<<profile>>
  • Deploy to ondemand environment
make deploy-ondemand env=<<envname>> profile=<<profile>>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages