[RFC] Docker Compose for OpenReplay installation #658
Replies: 4 comments 2 replies
-
For AWS, CDK stacks are all the rage these days (https://github.com/aws/aws-cdk). You can use CDK to define the infrastructure in TypeScript, Python, or other languages. For our CDK stacks, we usually work with ECS clusters. ECS is based on docker images and is usually more cost-effective than EKS. It's possible to use a fleet of “spot instances” with ECS, which are up to 70% cheaper than regular instances. ECS handles recycling and starting new ones if necessary, so there’s never any downtime. This would be easy to set up if a stateless OpenReplay docker image was made available that could plug into an RDS PostgreSQL database and a separate S3 deployment. One other nice thing to have would be to be able to use environment variables instead of modifying the configuration file. Not sure if this is already possible or not. With environment variables, the docker image can stay static, and the user could just provide the database connection string and S3 bucket details as env vars. Upgrades would also be seamless by just swapping a new docker image in place. |
Beta Was this translation helpful? Give feedback.
-
For GCP, Cloud run can used for serverless deployment, application can be deployed using docker image and recordings can be stored on google cloud storage, also the cloud sql can be used as external db option, cloud run manage instance replication and resource allocation by itself, also the dependency of managing a VM or EC2 instance (server patching etc) is not required on cloud run. |
Beta Was this translation helpful? Give feedback.
-
docker swarm |
Beta Was this translation helpful? Give feedback.
-
we want to use it as a self-hosted service at our own infrastructure and we don't have k8s yet |
Beta Was this translation helpful? Give feedback.
-
Hi,
Some users from the community asked whether we can use docker-compose for the OpenReplay installation. As of now, OpenReplay is Kubernetes native application, and for simple installations, we've got an installation script that installs k3s(a single node Kubernetes instance) in the local machine and provision OpenReplay in that, and you can start using OpenReplay immediately.
So if you don't want to fine-grain control over the orchestrator from day one (in this case Kubernetes), you can update your customizations in vars.yaml and do
cd openreplay/scripts/helmcharts/ && ./openreplay-cli -I
for customizing your installation, like increasing memory/cpu limits or updating an image with custom changes, etc.These are the following assumptions we have for OpenReplay.
We want to know what use cases docker-compose will help you in addition.
Please comment down your usecases below
Beta Was this translation helpful? Give feedback.
All reactions