Question: How can I scale up or scale out an Amazon OpenSearch Service domain?

I'm trying to scale up or scale out an Amazon OpenSearch Service domain.

Short descriptionBased on your workload, you can scale up (scale vertically) or scale out (scale horizontally) your cluster. To scale out your OpenSearch Service domain, add additional nodes (such as data nodes, master nodes, or UltraWarm nodes) to your cluster. To resize or scale up your domain, increase your Amazon Elastic Block Store (Amazon EBS) volume size. Or add more memory and vCPUs with bigger node types.Note: When scaling up or scaling out, it's a best practice to use at least three dedicated master nodes for production workloads.

ResolutionScale out your domainWhen you scale out your domain, you're adding nodes of the same configuration type as your current cluster nodes. As a result, you're also adding more resources (like RAM, VCPU, and EBS volume) to your cluster. Note that the maximum EBS volume size depends on the node's Amazon Elastic Compute Cloud (Amazon EC2) instance type.If you reach the EBS volume size limit and can't modify the instance type, then add more nodes. When you add more nodes to your cluster, you increase the cluster's EBS volume size. If you're adding more data nodes to your cluster, then make sure to use data nodes or UltraWarm nodes. Note that UltraWarm nodes can be used to migrate less frequently accessed data, while retaining accessed indices on standard data nodes.Tip: To automate the migration of data from hot nodes to warm nodes, use an Index State Management (ISM) policy.Scale up your domainWhen you scale up your OpenSearch Service domain, no additional nodes are added to your cluster. Instead, scaling up involves increasing the available resources for each of your nodes.If you want to vertically scale or scale up your domain, switch to a larger instance type to add more memory or CPU resources.Note: When you scale up your domain, EBS volume size doesn't automatically scale up. You must specify this setting if you want the EBS volume size to automatically scale up.Update your domain configuration settingsTo scale your OpenSearch Service domain, update your domain configuration settings. To edit your domain configuration settings, perform the following steps:1.    Sign in the Amazon OpenSearch Service console.2.    From the navigation pane, under Managed clusters, choose Domains.3.    Choose the domain that you want to scale, and then choose Edit Domain.4.    Choose Actions, and then choose Edit cluster configuration.5.    Based on your use case, update your domain configuration settings:Data nodes: Configure your Availability Zones, instance type, and number of nodes.Storage configuration: Update your data node storage type, EBS volume type, and EBS storage size per node.Dedicated master nodes: Turn on or turn off the dedicated master node, update the instance type, or modify the number of master nodes.UltraWarm data nodes: Turn on or turn off UltraWarm data nodes, update the instance type, or modify the number of UltraWarm data nodes.6.    Choose Submit.Note: OpenSearch Service uses a blue/green deployment process whenever you update your domain. If a blue/green deployment process is started, the number of nodes in your cluster might temporarily increase while changes are applied. For more information, see Making configuration changes in Amazon OpenSearch Service.7.    Configure Amazon CloudWatch alarms to monitor your resource utilization. For example, you can set an alarm that notifies you when CPUUtilization is above 80%.

Related informationWhy did my Amazon OpenSearch Service node crash?Troubleshooting Amazon OpenSearch ServiceSupported operations in Amazon OpenSearch Service