For quite a long time I was looking for a solution that would allow me to schedule meetings with friends, family, and clients. Most of them are paid every month. Which is not a very cost-effective solution, if I have one meeting per month, sometimes two. Also let's assume, that being an AI learning material for Google, or Zoom isn't my dream position.
Suddenly, I realized that I could use Jitsi, and then self-host it. The problem was that I was looking for an on-demand solution. So I took the official docker image, and rewritten it into ECS, which just works.
Or what do you need? The assumption is that you have:
- Registred domain with Route53.
- Some ideas about AWS.
- Access to manage needed solutions.
- Installed AWS CDK.
When you need:
- Adjust the
src/main.ts
file.
const devEnv = {
account: '471112990549', // put your account ID here
region: 'eu-central-1', // put your region here
};
const DOMAIN_NAME: string = '3sky.in'; // adjust your domain name
const JITSI_IMAGE_VERSION: string = 'stable-9584-1'; // specify jitsi version
- Execute
cdk deploy --all
in the project root directory.
- Images are hosted on
quay.io
, not ondockerhub.io
due rate limit. - The solution could be built inside existing VPC, which will be faster.
- However, setting up existing project is rather fast.
cdk deploy --all --require-approval never 10.90s user 1.22s system 3% cpu 6:38.00 total