aster.cloud aster.cloud
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
    • Learning
  • Tools
  • About
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
    • Learning
  • 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
    • Learning
  • Tools
  • About
  • Platforms
  • Programming
  • Tech

How To Provision And Manage A Memcached Memorystore Instance In GCP

  • root
  • November 19, 2020
  • 4 minute read

In this guide you will be able to create a Memcached Instance using Memorystore. It also supports Redis, and if you are interested in that, click the following link [link to How 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.



From our partners:

CITI.IO :: Business. Institutions. Society. Global Political Economy.
CYBERPOGO.COM :: For the Arts, Sciences, and Technology.
DADAHACKS.COM :: Parenting For The Rest Of Us.
ZEDISTA.COM :: Entertainment. Sports. Culture. Escape.
TAKUMAKU.COM :: For The Hearth And Home.
ASTER.CLOUD :: From The Cloud And Beyond.
LIWAIWAI.COM :: Intelligence, Inside and Outside.
GLOBALCLOUDPLATFORMS.COM :: For The World's Computing Needs.
FIREGULAMAN.COM :: For The Fire In The Belly Of The Coder.
ASTERCASTER.COM :: Supra Astra. Beyond The Stars.
BARTDAY.COM :: Prosperity For Everyone.

 

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 > Memcached.

 

3. If you haven’t created any Memcached 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 Memcached 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.

With memcached you are able to select the option of “Automatically distribute” the zone. 

Nodes Preferred number of nodes
Memory per node Memory in GB assigned to each node
Cores per node Number of virtual CPU assigned to each node.
Memcached properties
Version At the time of this writing, the version cannot be changed and is fixed to 1.5.16. This could change in the future as the Memorystore for Memcached is still in Beta stage.
Configurations Additional settings for the Redis can be added using the “+ Add Configuration” button. The following options can be set:

  • disable-cas
  • disable-evictions
  • disable-flush-all
  • listen-backlog
  • max-item-size
  • max-reqs-per-event
  • protocol
  • slab-growth-factor
  • slab-min-size

For a description on each setting, see here.

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 Memcached instance in any VM that resides or is configured in the “default” network. 
Private service connection This is required if you are using the default network. Or if you have created a network that already has a private connection you can use that.

 

7. To setup a private service connection from the Memcached creation, select the “Setup Connection” button.

If this is your first time using the Service Networking API, a confirmation to enable the API will be shown. Then click on the “Continue” button.

 

8. On the next step, you will need to select an IP range or create a new one. For simplicity, we will let Google allocate the IP range. Select the “Use an automatically allocated IP range” then click on “Continue”

 

9. Review the changes that will be applied and click on the “Create Connection” button.

 

10. Wait until the connection has been created. This might take some time if the API will be enabled for the first time. Once done, a check will be shown on the Private service connection.

 

11. View the cost estimate on the right side. It will show the specs and estimated cost.

 

12. Click on the “Create” button if you are satisfied with the specs and cost. Wait until the instance has been created.

 

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

 

Viewing the details of a Redis instance

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

It shows memory usage of the Memcached instance, along with its property. These properties are the ones configured during the creation. In the Connection properties section we can see the Discovery endpoint. These are used to access the instance. 

 

Updating the instance

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

 

16. The edit page is similar to the creation of the instance. But there are a few details which cannot be changed. The Instance ID, Location, memory per node, cores per node, connection property cannot be updated. Only the Display Name and the number of nodes can be changed.

 

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

18. To edit the Memcached configuration. Select the “Edit Configuration” at the top, on the details page.

 

19. In this page, the Memcached configuration can be updated.

 

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

 

Removing the instance

21. 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.

 

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

 

23. Wait until the instance has been removed. 

 

24. Congratulations! You have created, viewed, updated and removed a Memcached GCP Memorystore. If you want to try out GCP Redis for Memcached click here [link to How To: Provision and manage a Redis Memory instance in GCP.

Read More  Google I/O 2019 | Kotlin Under the Hood: Understand the Internals

For enquiries, product placements, sponsorships, and collaborations, connect with us at [email protected]. We'd love to hear from you!

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

root

Related Topics
  • GCP
  • google
  • Google Cloud Platform
  • Instances
  • Memcached Memorystore Instance
You May Also Like
Getting things done makes her feel amazing
View Post
  • Computing
  • Data
  • Featured
  • Learning
  • Tech
  • Technology

Nurturing Minds in the Digital Revolution

  • April 25, 2025
View Post
  • Tech

Deep dive into AI with Google Cloud’s global generative AI roadshow

  • February 18, 2025
Volvo Group: Confidently ahead at CES
View Post
  • Tech

Volvo Group: Confidently ahead at CES

  • January 8, 2025
zedreviews-ces-2025-social-meta
View Post
  • Featured
  • Gears
  • Tech
  • Technology

What Not to Miss at CES 2025

  • January 6, 2025
View Post
  • Tech

IBM and Pasqal Plan to Expand Quantum-Centric Supercomputing Initiative

  • November 21, 2024
Black Friday Gifts
View Post
  • Tech

Black Friday. How to Choose the Best Gifts for Yourself and Others, Plus Our Top Recommendations.

  • November 16, 2024
Google Cloud and Smart Communications
View Post
  • Platforms
  • Technology

Smart Communications, Inc. Dials into Google Cloud AI to Help Personalize Digital Services for Filipinos

  • October 25, 2024
zedreviews-Apple-iPhone-16-Pro-finish-lineup-240909
View Post
  • Featured
  • Gears
  • Tech
  • Technology
  • Tools

Apple debuts iPhone 16 Pro and iPhone 16 Pro Max

  • September 10, 2024

Stay Connected!
LATEST
  • 1
    Just make it scale: An Aurora DSQL story
    • May 29, 2025
  • 2
    Reliance on US tech providers is making IT leaders skittish
    • May 28, 2025
  • Examine the 4 types of edge computing, with examples
    • May 28, 2025
  • AI and private cloud: 2 lessons from Dell Tech World 2025
    • May 28, 2025
  • 5
    TD Synnex named as UK distributor for Cohesity
    • May 28, 2025
  • Weigh these 6 enterprise advantages of storage as a service
    • May 28, 2025
  • 7
    Broadcom’s ‘harsh’ VMware contracts are costing customers up to 1,500% more
    • May 28, 2025
  • 8
    Pulsant targets partner diversity with new IaaS solution
    • May 23, 2025
  • 9
    Growing AI workloads are causing hybrid cloud headaches
    • May 23, 2025
  • Gemma 3n 10
    Announcing Gemma 3n preview: powerful, efficient, mobile-first AI
    • May 22, 2025
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
    Cloud adoption isn’t all it’s cut out to be as enterprises report growing dissatisfaction
    • May 15, 2025
  • 2
    Hybrid cloud is complicated – Red Hat’s new AI assistant wants to solve that
    • May 20, 2025
  • 3
    Google is getting serious on cloud sovereignty
    • May 22, 2025
  • oracle-ibm 4
    Google Cloud and Philips Collaborate to Drive Consumer Marketing Innovation and Transform Digital Asset Management with AI
    • May 20, 2025
  • notta-ai-header 5
    Notta vs Fireflies: Which AI Transcription Tool Deserves Your Attention in 2025?
    • May 16, 2025
  • /
  • Technology
  • Tools
  • About
  • Contact Us

Input your search keywords and press Enter.