A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cloud.google.com/memorystore/docs/redis/create-instance-console below:

Create a Memorystore for Redis instance by using the Google Cloud console

Skip to main content

Stay organized with collections Save and categorize content based on your preferences.

Create a Memorystore for Redis instance by using the Google Cloud console Note: If you are looking for the Memorystore for Redis Cluster documentation, see Instance provisioning on a VPC network.

Learn how to create a new Memorystore for Redis instance, connect to it, and then delete it.

To follow step-by-step guidance for this task directly in the Google Cloud console, click Guide me:

Guide me

Before you begin
  1. Sign in to your Google Cloud account. If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
  2. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Note: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.

    Go to project selector

  3. Verify that billing is enabled for your Google Cloud project.

  4. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Note: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.

    Go to project selector

  5. Verify that billing is enabled for your Google Cloud project.

Create a Redis instance
  1. In the Google Cloud console, go to the Memorystore for Redis page.

    Memorystore for Redis

    If this page is unavailable, then enable or re-enable the Memorystore for Redis API.

    Enable the API
  2. Click Create instance.

  3. In the Create a Redis instance page, make the following configurations for the instance that you're creating.

  4. Click Create instance.

    Note: Memorystore for Redis doesn't support legacy-mode networks. To create an instance, use a VPC network. For more information, see Create and manage VPC networks.
  5. After the instance is created, obtain your instance's IP address by following these steps:

    1. Go to the Memorystore for Redis page in the Google Cloud console.
      Memorystore for Redis
    2. Click on the ID of the instance: my-instance-1.
    3. Under Connection properties, take a note of your instance's IP address.
    4. Also note that your instance's Port number is 6379.
Connect to the Redis instance from a Compute Engine VM instance

You can connect to the Redis instance from any Compute Engine VM that uses the Redis instance's authorized network with a supported RFC 1918 IP address.

  1. If you don't already have a Compute Engine VM that uses that same authorized network as your Redis instance, create one and connect to it by following Quickstart using a Linux VM.

  2. Install telnet using apt-get:

    sudo apt-get install telnet
    
  3. From the terminal, telnet to the IP address of the Redis instance, replacing variables with appropriate values.

    telnet instance-ip-address 6379
    

    If successful, the command will return this result:

    Trying instance-ip-address…
    Connected to instance-ip-address
    
  4. In the telnet session, enter some Redis commands:

    Enter:

    PING
    

    Result:

    PONG
    

    Enter

    SET HELLO WORLD
    

    Result:

    +OK
    

    Enter:

    GET HELLO
    

    Result:

    $5
    WORLD
    
Clean up

To avoid incurring charges to your Google Cloud account for the resources used on this page, follow these steps.

To avoid incurring charges to your Google Cloud account for the resources used in this quickstart:

  1. Go to the Memorystore for Redis page in the Google Cloud console.
    Memorystore for Redis
  2. Click the instance ID of the instance you want to delete.
  3. Click the Delete button.
  4. In the prompt that appears, enter the instance ID.
  5. Click Delete.
What's next

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-08-07 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4