This message was deleted.
# general
s
This message was deleted.
m
Can you elaborate? What cloud are you using? What is the “machine”? How are you deploying mysql. rabbitmq, etc?
w
For first I install a docker, run some commands via
userData
“script”. Cloud provider is AWS (triying in lightsail). Deploy tools only via Docker.
For example I have a VM with some general services like Mysql, Rabbit and so on. Some of them has persistent storage via docker volumes. From time to time is need some updates run or do some setup like create a new DB or vhost, user in rabbit. For this tools pulumi has support which is nice but for machine? Or create the new general service e.g. install postresql I don’t know how to do it.
m
It sounds like you’re using EC2 machines, anytime
userData
updates it will create a new EC2. There are ways to avoid that, yes, but you should ask yourself if that’s what you really want. You could move the database to RDS.
or use ECS
w
I understand but for staging, dev env is little bit expensive.
For this env we are using lightsail which is not so “editable” like EC2.
That link looks promising I will check it.
m
It’s a bit less than what you’re asking for