website logo
Sign Up PricingApp Templates
⌘K
🚀Getting started
Create an account in Microtica
Create an application from template
Import an existing application
Scaling Applications in Microtica
Assign a Custom Domain
⏰Changelog
📚Ready-to-use Templates
Strapi Serverless
Medusa Server
Appwrite
SPA on CloudFront
Amazon EKS
Node.js
n8n Workflow Automation
Next.js
🤖Migrate to Microtica
Migrate from Heroku to AWS
🚦Pipelines
Pipeline Syntax
Steps
Stages
Artifacts
Variables
↩️Automated Rollbacks
🔗Integrations
Connect an AWS account
Connect an Existing Kubernetes Cluster
Connect a Container Registry
⚙️Project Settings
Manage teammates
Manage pricing plan and billing
Docs powered by archbee 

Scaling your Strapi App

1min

You can scale your Strapi project vertically and horizontally.

You can do this when creating the setup from the ready-made Strapi Serverless template. In the second section, Configure Template, for vertical scaling, you can enter the amount of memory reserved for the Strapi app (in MiB), and the number of CPU units reserved for the Strapi app. For horizontal scaling, you can configure the desiredReplicas parameter, which indicated the number of Strapi applications running at the same time. The workload will be balanced between the apps.

Scaling your Strapi App
Scaling your Strapi App


You can also configure these parameters after deploying your template. Navigate to your environment, under the Infrastructure tab, select the Strapi component. In the Resource Settings tab, under General, you will find all the resource properties you can configure.

For vertical scaling, update the CPU and Memory configuration, and for horizontal scaling, update the number of desired replicas.

Click on Save to only save the configuration, or Save and Deploy to immediately reflect your changes in your running environment by deploying a new version of the StrapiServerless component.

Updated 03 Mar 2023
Did this page help you?
Yes
No
PREVIOUS
Access the RDS database
NEXT
Migrate your Strapi app from Heroku to AWS
Docs powered by archbee