Review powered-off DigitalOcean Droplets in YouTrack

Open a cost review for a tagged Droplet that still incurs its base price after a confirmed shutdown.

19 stepsFinanceProduct and engineering

Free to start, no card required.

How it works

  1. When this happens

    Check the daily compute inventory

    Schedule

  2. Step 1 · Code

    Set the owner team and review window

  3. Step 2 · DigitalOcean

    List Droplets with the owner tag

  4. Step 3 · Code

    Select powered-off resources

  5. Step 4

    Inspect each powered-off Droplet

    1. Step 5 · DigitalOcean

      Read the Droplet action history

    2. Step 6 · DigitalOcean

      Verify its current state and rate

    3. Step 7 · Code

      Price the confirmed idle allocation

    4. Step 8

      Check the source record

      Follows the first path that matches

      • Complete record

        1. Step 9 · Storage

          Read the review receipt

        2. Step 10 · YouTrack

          Find the shutdown review in YouTrack

        3. Step 11 · Code

          Reconcile the previous review

        4. Step 12

          Check for a matching issue

          Follows the first path that matches

          • Issue found

            1. Step 13 · Storage

              Save the existing issue reference

          • Otherwise

            1. Step 14

              Check for an earlier submission

              Follows the first path that matches

              • New shutdown interval

                1. Step 15 · Storage

                  Reserve the shutdown review

                2. Step 16 · YouTrack

                  Open an owner cost review

                3. Step 17 · Code

                  Verify the created issue

                4. Step 18 · Storage

                  Save the YouTrack issue reference

              • Otherwise

                Nothing happens

      • Otherwise

        Nothing happens

    Repeats for every item

Before you start

Set one owner tag on up to 200 Droplets, enter its YouTrack project short name and choose the minimum days since shutdown. Connect read-only DigitalOcean OAuth and allow issue search and creation in the owner project. The owner checks backups and records a decision in the issue.

Accounts to connect

See all 200 in Finance

Your first automationstarts with one sentence.

Start free with 1,000 credits, no card needed. Rather have it done for you? Our team builds it.

Use template