Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-3058

Decrease size of pkg.jenkins.io VM

    XMLWordPrintable

    Details

    • Similar Issues:
    • Epic Link:

      Description

      As discussed with Olivier Vernin, we can decrease the size of pkg.jenkins.io VM:

      It's currently a m4.4xlarge up 24/24 (0.80$ per hour, 16 vCPUs - Xeon Haswell at 2.4 Ghz , 64 Gb of memory, disk is an EBS with 2 Gbps of dedicated bandwidth, and network performances as "high").

      • Memory is clearly overallocated
      • CPU could be decreased: it was oversized to handle network contention when in "peaks": switching to a much more

      The goal of this task is to switch this VM to a smaller size, while keeping a high quality network for the outbound traffic (bandwidth mainly) and a CPU with less cores (4-8) and eventually clocked at faster rate per core to better handles network peaks.

        Attachments

          Activity

          Hide
          dduportal Damien Duportal added a comment -
          • Ensured that the packages are uyp to date (kernel must be recent and up to date!)
          • Ensured that the attached data volume was not terminated on instance stop with the following command
            ➜  aws ec2 modify-instance-attribute --region=us-east-1 --instance-id i-e0968e19 --block-device-mappings 'DeviceName=/dev/sda1,Ebs={DeleteOnTermination=false}'
            
          • Stopped the instance
          • Changed its size to m4.2xlarge
          • Restaretd the instance
          Show
          dduportal Damien Duportal added a comment - Ensured that the packages are uyp to date (kernel must be recent and up to date!) Ensured that the attached data volume was not terminated on instance stop with the following command ➜ aws ec2 modify-instance-attribute --region=us-east-1 --instance-id i-e0968e19 --block-device-mappings 'DeviceName=/dev/sda1,Ebs={DeleteOnTermination= false }' Stopped the instance Changed its size to m4.2xlarge Restaretd the instance
          Hide
          dduportal Damien Duportal added a comment -

          The price of the instance should be divided by 2x now.

          Show
          dduportal Damien Duportal added a comment - The price of the instance should be divided by 2x now.

            People

            Assignee:
            dduportal Damien Duportal
            Reporter:
            dduportal Damien Duportal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: