Virtual Party Space Devlog #18: Victory over AWS!
A few more days struggling with docker-compose and AWS, and finally get the service running in ECS!
Log
Wednesday, January 27
- asked for ECS help, didn’t get it
- looking into making secondary conference rooms
- made an interior map
- probably need additional scenes for each room
- refactor GameScene to be a parent class, and have all specific maps/images in specific scene classes
- Tutorial for adding multiple scenes
- Checked licenses on Jitsi & Calla - no usage restrictions, so I can choose ethical source library
Thursday, January 28
- tried out AWS again, still couldn’t figure out how to get endpoint working
- confirmed
docker compose down
works if context is passed
- confirmed
- reconfigured Dockerfiles to contain config instead of bind mounts
- learned how to build docker containers!
- works locally
Friday, January 29
- looking into how to make services talk to one another
- searching for ECS service discovery seems promising
- read about CloudMap, think I understand the “service discovery” portion of the Compose CLI docs now
- need to change internal network base to be .local instead of meet.jitsi
- can refer to other containers directly by service name too
- updated
docker-compose
and environment vars to use CloudMap syntax- WEB SERVER WORKS NOW!!
- https doesn’t work (still need to set up domain I think in order to use LetsEncrypt?)
- probably still some settings wrong, can’t connect to conference
- websocket “public url” definitely wrong
- since jicofo/prosody have to be single instance for single conference, how to turn off availability zones?
About this series
Back in mid-December I started an ambitious project to create a custom platform for a virtual birthday party in February. I kept notes on my progress, both for personal reference and to turn into a series of blog posts. It quickly became apparent that I did not have time to both do the project and blog about the project. I have retroactively decided to post my raw notes as a dev log.