You can customize amount of memory in GBs that are allocated to a flexible shape. The other resources are scaled proportionately. For more, please see Compute Shapes.