IVS Chat Service Quotas - Amazon IVS

IVS Chat Service Quotas

The following are service quotas and limits for Amazon Interactive Video Service (IVS) chat endpoints, resources, and other operations. Service quotas (also known as limits) are the maximum number of service resources or operations for your AWS account. That is, these limits are per AWS account, unless noted otherwise in the table. Also see AWS Service Quotas.

You use an endpoint to connect programmatically to an AWS service. Also see AWS Service Endpoints.

All quotas are enforced per region.

Service Quota Increases

For quotas that are adjustable, you can request a rate increase through the AWS console. Use the console to view information about service quotas too.

API call rate quotas are not adjustable.

API Call Rate Quotas

Endpoint Type Endpoint Default
Messaging

DeleteMessage

100 TPS
Messaging

DisconnectUser

100 TPS
Messaging

SendEvent

100 TPS
Chat token

CreateChatToken

200 TPS
Logging Configuration

CreateLoggingConfiguration

3 TPS
Logging Configuration

DeleteLoggingConfiguration

3 TPS
Logging Configuration

GetLoggingConfiguration

3 TPS
Logging Configuration

ListLoggingConfigurations

3 TPS
Logging Configuration

UpdateLoggingConfiguration

3 TPS
Room

CreateRoom

5 TPS
Room

DeleteRoom

5 TPS
Room

GetRoom

5 TPS
Room

ListRooms

5 TPS
Room

UpdateRoom

5 TPS
Tags

ListTagsForResource

10 TPS
Tags

TagResource

10 TPS
Tags

UntagResource

10 TPS

Other Quotas

Resource or Feature Default Adjustable Description
Concurrent chat connections 50,000 Yes Maximum number of concurrent chat connections per account, across all your rooms in an AWS Region.
Logging configurations 10 Yes The maximum number of logging configurations that can be created per account in the current AWS Region.
Message review handler timeout period 200 No

Timeout period in milliseconds for all your message review handlers in the current AWS Region. If this is exceeded, the message is allowed or denied depending on the value of the fallbackResult field you configured for the message review handler.

Rate of DeleteMessage requests across all your rooms 100 Yes Maximum number of DeleteMessage requests that can be made per second across all your rooms. The requests can come from either the Amazon IVS Chat API or the Amazon IVS Chat Messaging API (WebSocket).
Rate of DisconnectUser requests across all your rooms 100 Yes Maximum number of DisconnectUser requests that can be made per second across all your rooms. The requests can come from either the Amazon IVS Chat API or the Amazon IVS Chat Messaging API (WebSocket).
Rate of messaging requests per connection 10 No Maximum number of messaging requests per second that a chat connection can make.
Rate of SendMessage requests across all your rooms 1000 Yes Maximum number of SendMessage requests that can be made per second across all your rooms. These requests come from the Amazon IVS Chat Messaging API (WebSocket).
Rate of SendMessage requests per room 100 No (but configurable through the API) Maximum number of SendMessage requests that can be made per second for any one of your rooms. This is configurable with the maximumMessageRatePerSecond field of CreateRoom and UpdateRoom. These requests come from the Amazon IVS Chat Messaging API (WebSocket).
Rooms 50,000 Yes Maximum number of chat rooms per account, per AWS Region.

Service Quotas Integration with CloudWatch Usage Metrics

You can use CloudWatch to proactively manage your service quotas, via CloudWatch usage metrics. You can use these metrics to visualize your current service usage on CloudWatch graphs and dashboards. Amazon IVS Chat usage metrics correspond to Amazon IVS Chat service quotas.

You can use a CloudWatch metric math function to display the service quotas for those resources on your graphs. You can also configure alarms that alert you when your usage approaches a service quota.

To access usage metrics:

  1. Open the Service Quotas console at https://console.aws.amazon.com/servicequotas/

  2. In the navigation pane, select AWS services.

  3. From the AWS services list, search for and select Amazon Interactive Video Service Chat.

  4. In the Service quotas list, select the service quota of interest. A new page opens with information about the service quota/metric.

Alternately, you can get to these metrics through the CloudWatch console. Under AWS Namespaces, choose Usage. Then, from the Service list, choose IVS Chat. (See Monitoring Amazon IVS Chat.)

In the AWS/Usage namespace, Amazon IVS Chat provides the following metric:

Metric Name Description

ResourceCount

A count of the specified resources running in your account. The resources are defined by the dimensions associated with the metric.

Valid statistic: Maximum (the maximum number of resources used during the 1-minute period).

The following dimensions are used to refine the usage metric:

Dimension Description
Service

The name of the AWS service containing the resource. Valid value: IVS Chat.

Class

The class of resource being tracked. Valid value: None.

Type

The type of resource being tracked. Valid value: Resource.

Resource

The name of the AWS resource. Valid value: ConcurrentChatConnections.

The ConcurrentChatConnections usage metric is a copy of the one in the AWS/IVSChat namespace (with the None dimension), as described in Monitoring Amazon IVS Chat.

Creating a CloudWatch Alarm for Usage Metrics

To create a CloudWatch alarm based on an Amazon IVS Chat usage metric:

  1. From the Service Quotas console, select the service quota of interest, as described above. Currently, alarms can be created only for ConcurrentChatConnections.

  2. In the Amazon CloudWatch alarms section, choose Create.

  3. From the Alarm threshold dropdown list, choose the percentage of your applied quota value that you want to set as the alarm value.

  4. For Alarm name, enter a name for the alarm.

  5. Select Create.