Question: Deployed two machines in one app?
Closed this issue · 3 comments
Thank you for your project, it has been of great use to me.
But I have a confusion, I am not sure if it is a problem with my operation or the script itself.
When I follow the process to step 10 flyctl deploy
, the platform shows two machines at the same time. This is shown in the image below:
I made sure I didn't perform any additional operations. I checked the project's scripts and didn't find the problem either. Is there a way to start only one machine? Two machines in the same area seems a bit redundant.
I did the following to shut down a machine.
# Check machine status
fly status
# Stop machine by machine id
fly machine stop $(machine_id)
# Destroy machine by machine id
fly machine destroy $(machine_id)
Thanks for the reply. But I'm still curious as to what I should do if I want to set only one machine to start by default. Or start three machines by default. I didn't find a place where I can configure it.