- 0.1.x: Initial version
- 0.2.x: Separate collection for storing conversations.
- 0.3.x: Concierge agent implemented.
docker build -t codey .
docker run -p 5000:5000 codey
- Install copilot following the instructions here
curl -Lo /usr/local/bin/copilot
- Initialize Copilot
```bash
copilot init
- Deploy to App Runner
copilot deploy
- Install EB cli following the instructions here
-
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>>
- 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>>