aster.cloud aster.cloud
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
  • Tools
  • About
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
  • Tools
  • About
aster.cloud aster.cloud
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
  • Tools
  • About
  • Platforms
  • Programming
  • Tools

How To Provision And Manage A Redis Memorystore Instance In GCP

  • root
  • November 19, 2020
  • 4 minute read

In this guide you will be able to create a Redis Instance using Memorystore. It also supports Memcached, and if you are interested, here’s the best guide to provision and manage a Memcached Memory instance in GCP.

1. Login in to the Google Cloud Platform console. If you don’t have any account yet, follow the steps here to create.


Partner with aster.cloud
for your next big idea.
Let us know here.


cyberpogo

Creating the Redis Instance

2. Once authenticated, you will be shown the Dashboard. Click on the hamburger icon on the top-left to open the navigation menu. Navigate to Storage > Memorystore > Redis.

 

3. If you haven’t created any Redis instance previously or enabled it’s API, you will be shown a page where you have to enable it.

Click on the “Enable” button and wait until it’s complete. This might take some time.

 

4. On the new page, the Redis instances will be listed. In the image below, there are no instances created yet.

 

5. Select the “Create Instance” button. 

 

6. A form where you have to input the details on the Redis instance will be shown. 

 

Instance ID A unique ID that will be assigned to the instance. It must be unique across your instance. Unique across your GCP project.

This can be used in the GCP cloud console for various operations like removing the instance using this ID.

Display name Name of the instance. This field does not need to be unique. But it is still preferable to assign a unique name in order to avoid confusion if you are handling multiple instances.
Tier The “Basic” option has less cost than the “Standard”. But the “Standard” has a failover replica in case of unforeseen disaster.
Region and Zone These fields determine where the physical location where the instance will be created. For the full list of regions and zones, see here.
Capacity The size in GB of space available to the Redis instance for cache.  With a maximum of 300GB

It also shows below the estimated network throughput depending on the selected size.

Redis properties
Version The redis version, if you are unsure what to pick use the default. In this case it is 4.0. This is usually the stable version for the Memorystore.

If you are going to install and setup your own Redis, the current stable version is 6.0. If you want to install and configure in your own server see the following guide.

Configurations Additional settings for the Redis can be added using the “+ Add Configuration” button. The following options can be set:

  • activedefrag
  • maxmemory-policy
  • lfu-decay-time
  • Lfu-log-factor
  • notify-keyspace-events
Authorized network In this drop-down you need to select the network where the Redis can be accessed. The “default” network lets you access the Redis instance in any VM that resides or is configured in the “default” network. 
Instance IP address range This specifically set the IP address of the instance. Make sure it does not overlap with existing VPC network subnets or within range of other Redis instance in the current project.

 

Notice on the right side of the page, there is an estimation of the cost. This is only an approximation as the actual value could be lower or higher as you consume more memory.

After you have set the property of the redis instance. Select the “Create” button.

 

7. The creation of the instance will take some time. 

 

8. The Redis instance will be ready when there is a check mark on the left of the Instance ID.

 

Viewing the details of a Redis instance

9. Click on the Instance ID, in this case “ga-redis-001” and it will have a detailed view of the instance.

 

It shows memory usage of the Redis instance, along with its property. These properties are the ones configured during the creation. In the Connection properties section we can see the IP address and Port. These are used to access the instance. 

 

Updating the instance

10. Click on the “Edit” button at the top of the page.

11. The edit page is similar to the creation of the instance. But there are a few details which cannot be changed. The Instance ID, Tier, Location, Redis version, authorized network and IP Address range cannot be updated. Only the Display Name, Capacity, and Redis config can be updated.

With a few allowed changes possible, you need to plan the Redis Instance carefully. Some use cases which can be applied here are when you need to upgrade the Memory size if you found yourself running out of memory.

12. Apply your changes using the “Save” button. Or select the “Cancel” button to go back to the instance details page.

 

Removing the instance

13. While at the Instance details page, there is the “Delete” option beside the “Edit”. Select this and you will be confirmed before actually removing the instance.

 

14. Enter the Instance ID, in this example “ga-redis-001”. Then select the “Delete” option on the modal.

 

15. Wait until the instance has been removed. 

16. Congratulations! You have created, viewed, updated and removed a Redis GCP Memorystore. If you want to try out GCP Memorystore for Memcached click here.

Read More  EVO2CLOUD - Vodafone’s SAP Migration From On-Prem To Google Cloud

Our humans need coffee too! Your support is highly appreciated, thank you!

root

Related Topics
  • GCP
  • google
  • Google Cloud Platform
  • Memorycloud
  • Redis
  • Redis Instance
You May Also Like
View Post
  • Architecture
  • Data
  • Engineering
  • People
  • Programming
  • Software Engineering
  • Technology

Predictions: Top 25 Careers Likely In High Demand In The Future

  • June 6, 2023
View Post
  • Architecture
  • Platforms
  • Software
  • Solutions
  • Technology

What To Expect From Apple’s WWDC 2023

  • June 1, 2023
View Post
  • Engineering
  • Tools

Red Hat Puts Podman Container Management On The Desktop

  • May 30, 2023
View Post
  • Platforms

Build Next-Generation, AI-Powered Applications On Microsoft Azure

  • May 26, 2023
View Post
  • Platforms
  • Solutions

MongoDB And Alibaba Cloud Extend Global Partnership

  • May 25, 2023
View Post
  • Engineering
  • Practices
  • Tools

Tricentis Launches Quality Engineering Community ShiftSync

  • May 23, 2023
View Post
  • Programming
  • Software Engineering
  • Technology

Build a Python App to Alert You When Asteroids Are Close to Earth

  • May 22, 2023
View Post
  • Computing
  • Platforms

Oracle Cloud Infrastructure Adds To Growing List Of Government Approved Cloud Services

  • May 22, 2023

Stay Connected!
LATEST
  • 1
    Microsoft Offers Azure ML Data Import CLI, SDK For Snowflake, Other Databases
    • June 8, 2023
  • 2
    Why Are Humans Afraid Of AI?
    • June 7, 2023
  • 3
    The Technical Architecture And Components Of A.I. Systems
    • June 7, 2023
  • 4
    Nature Already Inspired A.I. Than Most Realise
    • June 7, 2023
  • 5
    “A Field Guide To AI: For Business, Institutions, Society & Political Economy” — Your Essential Companion In Navigating the World of Artificial Intelligence.
    • June 7, 2023
  • 6
    Predictions: Top 25 Careers Likely In High Demand In The Future
    • June 6, 2023
  • 7
    A S.W.O.T. Analysis Of Current A.I. Systems
    • June 6, 2023
  • Apple-WWCD23-Vision-Pro-glass-230605 8
    Introducing Apple Vision Pro: Apple’s first spatial compute
    • June 5, 2023
  • 9
    Apple Unveils New Mac Studio And Brings Apple Silicon To Mac Pro
    • June 5, 2023
  • 10
    Apple Introduces M2 Ultra
    • June 5, 2023
about
Hello World!

We are aster.cloud. We’re created by programmers for programmers.

Our site aims to provide guides, programming tips, reviews, and interesting materials for tech people and those who want to learn in general.

We would like to hear from you.

If you have any feedback, enquiries, or sponsorship request, kindly reach out to us at:

[email protected]
Most Popular
  • 1
    tvOS 17 Brings FaceTime And Video Conferencing To The Biggest Screen In The Home
    • June 5, 2023
  • 2
    Apple Introduces The 15‑Inch MacBook Air
    • June 5, 2023
  • 3
    Huawei ICT Competition 2022-2023 Global Final Held In Shenzhen — 146 Teams From 36 Countries And Regions Win Awards
    • May 27, 2023
  • 4
    Building A Kubernetes Platform: How And Why To Apply Governance And Policy
    • June 4, 2023
  • 5
    Leave, This “United” “Kingdom”, This “Great” “Britain”
    • June 4, 2023
  • /
  • Technology
  • Tools
  • About
  • Contact Us

Input your search keywords and press Enter.