yellowsubmarine372

Deploy AI Server To AWS

overview

building the ai speech server was only half the job so i pushed the fastapi service onto AWS EC2 and wired a github based delivery pipeline to keep deployments hands off


background

purpose

make the speech to text server land on the AWS instance automatically with zero manual patching

environment setup


implementation

ec2 instance

Image hidden for security reasons

1st_image

design

.github/
└── workflows/
    └── deploy.yml

result

ubuntu@ip-*:~$ docker ps
CONTAINER ID   IMAGE                                              COMMAND               CREATED        STATUS        PORTS                               NAMES
9b20bf338df7   ghcr.io/ob1hnk/triolingo/gogo-golem-ai:main-fec67ba   "uv run uvicorn..."   14 hours ago   Up 14 hours   0.0.0.0:8000->8000/tcp [::]:8000->8000/tcp   gogo-golem-ai-server

pr

https://github.com/ob1hnk/Triolingo/pull/2


troubleshooting

reference

https://github.com/orgs/community/discussions/27083

← all posts