How to scale up instance in particular region?

Hello,

My instance in one regions get crash frequently and also needs many restarts due to high traffic. However on the other regions i have no need of any additional resources due to less traffic.

So i want to scale up my instances for that particular region.
Autoscale is also added but not scalling .

flyctl autoscale show
     Scale Mode: Standard
      Min Count: 5
      Max Count: 10

I did manually scale using flyctl scale count 8
but it created multiple instances in all regions.
So for example if my iad region is having high traffic, more instances in other regions are useless.
So can you guide me proper way for scaling in particular region.

Hi,

I believe you can opt for flyctl autoscale balanced.
Your output says you’re using standard.

balanced - Configure a traffic balanced app with params (min=int max=int)
standard - Configure a standard balanced app with params (min=int max=int)

https://fly.io/docs/flyctl/autoscale/

I can not see autoscale working. May be my config issue, i am worried. Is there any way to see health of instance like RAM / CPU Usage?
How to add additional resources to particular region?

Thank you

I can not see autoscale working.

I did manually scale using flyctl scale count 8
but it created multiple instances in all regions.

Please correct me if I’m wrong… but it sounds like scaling works, right?

Is there any way to see health of instance like RAM / CPU Usage?

Since I don’t have any apps deployed, I can’t give you screenshots. But yes, it’s possible.
Fly does come with some default metrics/dashboard and the option of producing custom metrics.

https://fly.io/docs/reference/metrics/
https://fly.io/blog/hooking-up-fly-metrics/

https://community.fly.io/t/feature-preview-custom-metrics/1225

How to add additional resources to particular region?

When using balanced autoscale, VMs should scale automatically over time, depending on traffic.

Adding to a particular region means turning off autoscaling altogether, and then manually adjusting vm counts with fly scale count.
But that is at the app level, with no control over the choice of region.

If I’m understanding your situation correctly, you have an app deployed in many regions but are seeing traffic mostly only in one region. IMHO, autoscale with balanced seems like the right choice.

Hello,

I am using balanced autoscale.

 flyctl autoscale show
Scale Mode: Balanced
      Min Count: 6 
      Max Count: 10

My regions are cdg, lax, maa, iad .
My service were running as following :
1x cdg
1x lax
2x maa
2x iad

when i used pushed new update via flycyl deploy the structure got changed

2x cdg
2x lax
2x maa
0x iad
I dont know why this happened ,iad which was having high usage got 0 in next update so I kept as it is to check auto scale And still it is running as it is since last 3 days.

Can you guide or please check that my config are correct.
I just want to run my site on above mentioned region and scale when automatically for that region when traffic is high.

0 isn’t a problem as such, seeing that min 6 is being adhered to.
If you can drive traffic from iad (create traffic from there to test), you should see the deployment re-adjust.