Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "temporarily upgrade snapshot vps (#356)" #357

Merged
merged 2 commits into from
Dec 13, 2023

Conversation

LesnyRumcajs
Copy link
Member

This reverts commit e6b81ac.

Summary of changes
Changes introduced in this pull request:

Reference issue to close (if applicable)

Closes

Other information and links

@lemmih
Copy link
Contributor

lemmih commented Dec 11, 2023

It's tempting to go all the way down to s-4vcpu-16gb-amd. After we bumped the tipset cache size, the droplet size doesn't matter much (as long as it has 16GiB of mem and enough disk space).

@LesnyRumcajs
Copy link
Member Author

It's tempting to go all the way down to s-4vcpu-16gb-amd. After we bumped the tipset cache size, the droplet size doesn't matter much (as long as it has 16GiB of mem and enough disk space).

Let's try.

@LesnyRumcajs LesnyRumcajs marked this pull request as ready for review December 13, 2023 18:53
@LesnyRumcajs LesnyRumcajs requested a review from a team as a code owner December 13, 2023 18:53
@LesnyRumcajs LesnyRumcajs requested review from ruseinov and jdjaustin and removed request for a team December 13, 2023 18:53
Copy link

Forest: Snapshot Service Infrastructure Plan: success

Show Plan
module.daily_snapshot.data.external.sources_tar: Reading...
module.daily_snapshot.data.local_file.init: Reading...
module.daily_snapshot.data.local_file.init: Read complete after 0s [id=bf92fd9b7c8e7ef69f8214abcd5f79c3c0873059]
module.daily_snapshot.data.external.sources_tar: Read complete after 0s [id=-]
module.daily_snapshot.data.local_file.sources: Reading...
module.daily_snapshot.data.local_file.sources: Read complete after 0s [id=bf33b4b977f1e1372c857ff27b7b3449af54fbdf]
module.daily_snapshot.data.digitalocean_project.forest_project: Reading...
module.daily_snapshot.data.digitalocean_ssh_keys.keys: Reading...
module.daily_snapshot.data.digitalocean_ssh_keys.keys: Read complete after 1s [id=ssh_keys/14512061520513425405]
module.daily_snapshot.digitalocean_droplet.forest: Refreshing state... [id=389916731]
module.daily_snapshot.digitalocean_firewall.forest-firewall: Refreshing state... [id=4961d0df-63fe-4fa7-ad2e-2bbfb158c932]
module.daily_snapshot.data.digitalocean_project.forest_project: Read complete after 2s [id=da5e6601-7fd9-4d02-951e-390f7feb3411]
module.daily_snapshot.digitalocean_project_resources.connect_forest_project: Refreshing state... [id=da5e6601-7fd9-4d02-951e-390f7feb3411]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place
-/+ destroy and then create replacement

Terraform will perform the following actions:

  # module.daily_snapshot.digitalocean_droplet.forest must be replaced
-/+ resource "digitalocean_droplet" "forest" {
      ~ created_at           = "2023-12-12T14:35:40Z" -> (known after apply)
      ~ disk                 = 240 -> (known after apply)
      ~ id                   = "389916731" -> (known after apply)
      ~ ipv4_address         = "134.209.237.15" -> (known after apply)
      ~ ipv4_address_private = "10.135.0.4" -> (known after apply)
      + ipv6_address         = (known after apply)
      ~ locked               = false -> (known after apply)
      ~ memory               = 32768 -> (known after apply)
        name                 = "forest-snapshot"
      ~ price_hourly         = 0.47173 -> (known after apply)
      ~ price_monthly        = 317 -> (known after apply)
      ~ private_networking   = true -> (known after apply)
      ~ size                 = "gd-8vcpu-32gb-intel" -> "s-4vcpu-16gb-amd"
      ~ status               = "active" -> (known after apply)
        tags                 = [
            "iac",
        ]
      ~ urn                  = "do:droplet:389916731" -> (known after apply)
      ~ user_data            = (sensitive value) # forces replacement
      ~ vcpus                = 8 -> (known after apply)
      ~ volume_ids           = [] -> (known after apply)
      ~ vpc_uuid             = "46a525ac-fd37-47ea-bb10-95c1db0055f7" -> (known after apply)
        # (8 unchanged attributes hidden)
    }

  # module.daily_snapshot.digitalocean_firewall.forest-firewall will be updated in-place
  ~ resource "digitalocean_firewall" "forest-firewall" {
      ~ droplet_ids     = [
          - 389916731,
        ] -> (known after apply)
        id              = "4961d0df-63fe-4fa7-ad2e-2bbfb158c932"
        name            = "forest-snapshot"
        tags            = []
        # (3 unchanged attributes hidden)

        # (6 unchanged blocks hidden)
    }

  # module.daily_snapshot.digitalocean_project_resources.connect_forest_project will be updated in-place
  ~ resource "digitalocean_project_resources" "connect_forest_project" {
        id        = "da5e6601-7fd9-4d02-951e-390f7feb3411"
      ~ resources = [
          - "do:droplet:389916731",
        ] -> (known after apply)
        # (1 unchanged attribute hidden)
    }

Plan: 1 to add, 2 to change, 1 to destroy.

Changes to Outputs:
  ~ ip = [
      - [
          - "134.209.237.15",
        ],
      + [
          + (known after apply),
        ],
    ]

─────────────────────────────────────────────────────────────────────────────

Saved the plan to: tfplan

To perform exactly these actions, run the following command to apply:
    terraform apply "tfplan"

@LesnyRumcajs LesnyRumcajs enabled auto-merge (squash) December 13, 2023 18:54
@LesnyRumcajs LesnyRumcajs merged commit 4abff05 into main Dec 13, 2023
11 checks passed
@LesnyRumcajs LesnyRumcajs deleted the revert-upgrade-vps branch January 22, 2024 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants