Skip to main content

Defining the machine type in bitrise.yml

Updated over 3 weeks ago

Issue

Customers on Velocity plans have the option to select the machine type on which their Workflows run. This is frequently done on the Stacks & Machines & Machines tab of the Workflow Editor. But what if you want to manage your Workflows in the bitrise.yml file that's stored in your repo?

Possible solutions

Include a machine_type_id attribute under the bitrise.io section of meta.

Below is an example bitrise.yml snippet showing the configuration of the stack on the Workflow level.

app:
 envs:
   ...  workflows:
  primary:
    steps:
    ...
    meta: # workflow specific
      bitrise.io:
        machine_type_id: g2.12core  

Available machine types are as follows (last updated Jan 30 2026):

macOS

  • g2-m1.4core

  • g2-m1.8core

  • g2.mac.medium

  • g2.mac.large

  • g2.mac.x-large

  • g2.mac.4large

  • g2.mac.4x-large

Linux

  • standard

  • elite

  • elite-xl

  • g2.linux.medium

  • g2.linux.2medium

  • g2.linux.large

  • g2.linux.4large

  • g2.linux.x-large

  • g2.linux.3x-large

  • g2.linux.5x-large

  • g2.linux.7x-large

Additional information

Did this answer your question?