All Products
Search
Document Center

Dedicated instances

Last Updated: May 20, 2021

All cloud resources of a dedicated instance are exclusive to a single user. Therefore, dedicated instances are more suitable for production environments.

API Gateway provides eight instance types. The following table lists the instance types and their specifications.

Instance type

Maximum number of inbound requests per second (RPS)

Maximum number of inbound connections

Maximum number of new inbound connections per second (CPS)

Maximum size of outbound connection pool

Maximum inbound Internet bandwidth (Mbit/s)

Maximum outbound Internet bandwidth (Mbit/s)

SLA

api.s1.small

2500

50000

5000

1200

5120

100

99.95%

api.s1.medium

5000

100000

5000

2400

5120

100

99.95%

api.s2.large

10000

200000

5000

4800

5120

200

99.99%

api.s2.large.x2

20000

400000

10000

9600

5120

200

99.99%

api.s2.large.x3

30000

600000

10000

14400

5120

400

99.99%

api.s2.large.x4

40000

800000

20000

19200

5120

400

99.99%

api.s2.large.x5

50000

1000000

20000

24000

5120

600

99.99%

api.s2.large.x6

60000

1000000

20000

28800

5120

600

99.99%

FAQ

1. How do I determine the type of a subscription instance?

API Gateway determines the instance type based on the maximum number of RPS. The queries per second (QPS) value is greater than the RPS value given the same network conditions. You can determine the instance type based on the QPS value. You can also submit a ticket or contact us on DingTalk (group ID: 23161837) to help you choose an appropriate instance type.

2. What options are provided for promotional events or other scenarios in which access traffic surges?

API Gateway does not support the upgrade of instance configurations. We recommend that you use both subscription and pay-as-you-go billing methods. You can also migrate API groups under the instance to another instance if required.

For example, the average QPS is 2,000. It is expected to increase to 4,000 QPS during a promotion. The promotion lasts for 24 hours. We recommend that you:

  • Choose a subscription instance of the api.s1.small type for daily use. You can get a 15% discount on a one-year subscription.

  • Before the promotion, purchase a pay-as-you-go instance of the api.s1.medium type. Three hours before the promotion starts, log on to the API Gateway console and migrate the API groups under the subscription instance to the purchased pay-as-you-go instance. After the migration, make sure that access to the pay-as-you-go instance is normal. After the promotion, migrate the API groups back to the subscription instance. Make sure that access to the subscription instance is normal. Then, release the pay-as-you-go instance. You need only to pay a small amount of fees for the pay-as-you-go instance.