defold / extender

Native extension build server
https://defold.com/manuals/extensions/
MIT License
43 stars 17 forks source link

Add GCPInstanceService which used to monitor and suspend gcp instances if instance not used for a while. #410

Closed ekharkunov closed 1 month ago

ekharkunov commented 1 month ago

General implementation:

Example of configuration:

extender:
    gcp:
        controller:
            enabled: true
            project_id: ${project_id}
            zone: ${vm_zone}
            wait-timeout: 60000
            retry-attempts: 3
            retry-timeout: 10000
            time-before-suspend: 1800000
            wait-startup-time: 10000
            check-period: 60000
            gax-max-thread-count: 10