Reputation: 397
According to this link in the FAQ of Google Cloud https://cloud.google.com/sql/faq#activation_policy I should find an option to change the Activation Policy, but in my console I can't find such option.
Can anyone share a capture of the option, or a way to change it?
Thanks
Upvotes: 2
Views: 1875
Reputation: 1040
For Second Generation instances the activation policy can only be ALWAYS
or NEVER
. Thus, you change it in the Cloud Console by starting or stopping the instance.
For First Generation instances the activation policy can be ALWAYS
, ON-DEMAND
or NEVER
. You modify this by changing the Settings of the Instance on Cloud Console.
Also, for both First and Second generation instances, you could modify the activation policy by running gcloud sql instances patch [instance name] --activation-policy [always, never, on-demand]
.
Upvotes: 3