You can define how much CPU, memory, and disk you want to assign to each of your service and app containers. If you don’t explicitly set resources, Upsun uses default resources instead. Upsun also offers several resource initialization strategies to help you allocate resources depending on your needs and use cases. However, for the sake of this guide, let’s set resources manually. To do so, follow these steps:Documentation Index
Fetch the complete documentation index at: https://developer.upsun.com/llms.txt
Use this file to discover all available pages before exploring further.
-
Run the following command:
This launches an interactive prompt to walk you through setting up your application’s resources:TerminalTerminal
-
Select the profile size you want applied to your application image. For instance,
0.1:Terminal -
Define how many instances of your application container you want to deploy. For instance,
1:Terminal -
To confirm your choices, select
Y. Upsun grabs the previous built images from earlier, applies your resource selections to them, and deploys your full application!If the deployment fails, you may need to set the resources again.