Step 1: Create an instance

更新时间:
复制 MD 格式

Create a Tair (Redis OSS-compatible) instance to get started with ApsaraDB for Redis. This guide covers only the key parameters — leave everything else at its default value.

For production deployments with specific capacity or architecture requirements, follow the Instructions for selecting an appropriate Tair (Redis OSS-compatible) instance.

Prerequisites

You need:

  • An Alibaba Cloud account. Create an account

  • (Recommended) An Elastic Compute Service (ECS) instance in the target region. Place your Redis instance in the same virtual private cloud (VPC) for internal network access.

Quick creation

Click the creation links in the following table to create an instance with the recommended specifications. You need to configure only basic options such as the region and network.

Key Feature

Recommended specifications

Reason for Recommendation

Performance-first

Tair (Enterprise Edition) Memory-Optimized (Redis 6.0-compatible), high availability, cluster enabled

Provides the following features in addition to those of Redis Open-Source Edition:

Balanced performance and cost

Redis Open-Source Edition 6.0, high availability, cluster enabled

  • High availability: Provides high data availability through primary/replica replication and automatic failover.

  • High extensibility: You can increase capacity and performance by adding more shards or by adding nodes to shards.

Cost-first

Redis Open-Source Edition 6.0, high availability, cluster disabled

  • High availability: Provides high data availability through primary/replica replication and automatic failover.

  • Low cost: Supports a minimum capacity of 256 MB, which is suitable for the initial stages of your business.

Create a Redis Open-Source Edition instance

This example creates a standard Redis Open-Source Edition 6.0 instance: 1 GB memory, one master node and one replica.

  1. Go to the and set the Service parameter to Redis Open-Source Edition.Redis purchase page

  2. Set Billing Method: The estimated price appears in the lower-right corner and updates as you configure the instance.

    • Subscription — Pay upfront. More cost-effective for long-term use; longer durations get lower prices.

    • Pay-as-you-go — Charged hourly. Release the instance at any time to stop billing.

  3. Set Region and Zone Settings:

    • If you have an ECS instance, select the same region and zone to enable internal network communication.

    • If connecting from a local machine, select the nearest region.

    If you select Dual-zone Deployment and set the secondary zone to Auto Select, the system assigns a zone with sufficient resources automatically.
  4. Select a VPC and a vSwitch.

    • Same VPC as your ECS instance: internal network communication is enabled.

    • Different VPC: the instances cannot communicate over the internal network.

    • Same VPC, different vSwitches: internal network communication is still enabled.

  5. Set Version to Redis 6.0.Major version

  6. Set Set Password to Now and enter a password.

    You can reset or change the password in the console after the instance is created.
  7. (Subscription only) Set the Validity Period.

  8. Leave Quantity at the default value of 1.

  9. Click Buy Now. On the Confirm Order page, review the terms of service and complete the payment.

After payment, the instance becomes available within 1–5 minutes. Open the console and select your region to verify.

Create a Tair (Enterprise Edition) instance

This example creates a standard Tair DRAM-based instance (Redis 6.0-compatible): 1 GB memory, one master node and one replica.

  1. Go to the and set the Service parameter to Tair (Enterprise Edition).Tair purchase page

  2. Set Billing Method: The estimated price appears in the lower-right corner and updates as you configure the instance.

    • Subscription — Pay upfront. More cost-effective for long-term use; longer durations get lower prices.

    • Pay-as-you-go — Charged hourly. Release the instance at any time to stop billing.

  3. Set Storage Type to Memory.

  4. Set Region and Zone Settings:

    • If you have an ECS instance, select the same region and zone to enable internal network communication.

    • If connecting from a local machine, select the nearest region.

    Select a recommended zone — these are primary zones in the current region with long-term resource availability. If you select Dual-zone Deployment and set the secondary zone to Auto Select, the system assigns a zone with sufficient resources automatically.
  5. Select a VPC and a vSwitch.

    • Same VPC as your ECS instance: internal network communication is enabled.

    • Different VPC: the instances cannot communicate over the internal network.

    • Same VPC, different vSwitches: internal network communication is still enabled.

  6. Set Version to Redis 6.0.

  7. Set Password Setting to Set Now and enter a password.

  8. (Subscription only) Set the Subscription Duration.

  9. Leave Quantity at the default value of 1.

  10. Click Buy Now. On the Confirm Order page, review the terms of service and complete the payment.

After payment, the instance becomes available within 1–5 minutes. Open the console and select your region to verify.

What's next

Configure an IP address whitelist so your application or ECS instance can connect. Step 2: Configure whitelists.

FAQ

Can I change the instance configuration after creation?

Yes. You can upgrade or downgrade configurations or change the architecture (for example, standard to cluster). Change instance configurations.

How long does instance creation take?

A standard master-replica instance takes 2–3 minutes. Cluster instances take longer: 10–15 minutes for 128 shards, 20–40 minutes for 256 shards.

Why can't I find the instance after creation?

Check that the region in the console matches where you created the instance. If it does, wait a few minutes and refresh — the instance may still be provisioning.

Why was my order refunded?

If the system cannot allocate resources in the selected zone, creation fails and your payment is refunded automatically. Check the refund on the Orders page, then retry in a different zone.

How do I view when an instance was created?

On the Instances page, click the image icon, select Creation Time in the Customize List dialog box, and click OK. The creation time appears in the instance list.

API reference

API operationDescription
CreateInstanceCreates a Redis Open-Source Edition instance or a classic Tair DRAM-based instance.
CreateTairInstanceCreates a Tair cloud-native instance.

References

To create an instance with a different architecture or edition, configure the parameters as prompted. Parameter definitions are in Terms.