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  Monitor All Your Deep Links In One Place On This New Play Console Page

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
  • college-of-cardinals-2025 1
    The Definitive Who’s Who of the 2025 Papal Conclave
    • May 7, 2025
  • conclave-poster-black-smoke 2
    The World Is Revalidating Itself
    • May 6, 2025
  • 3
    Conclave: How A New Pope Is Chosen
    • April 25, 2025
  • Getting things done makes her feel amazing 4
    Nurturing Minds in the Digital Revolution
    • April 25, 2025
  • 5
    AI is automating our jobs – but values need to change if we are to be liberated by it
    • April 17, 2025
  • 6
    Canonical Releases Ubuntu 25.04 Plucky Puffin
    • April 17, 2025
  • 7
    United States Army Enterprise Cloud Management Agency Expands its Oracle Defense Cloud Services
    • April 15, 2025
  • 8
    Tokyo Electron and IBM Renew Collaboration for Advanced Semiconductor Technology
    • April 2, 2025
  • 9
    IBM Accelerates Momentum in the as a Service Space with Growing Portfolio of Tools Simplifying Infrastructure Management
    • March 27, 2025
  • 10
    Tariffs, Trump, and Other Things That Start With T – They’re Not The Problem, It’s How We Use Them
    • March 25, 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
    IBM contributes key open-source projects to Linux Foundation to advance AI community participation
    • March 22, 2025
  • 2
    Co-op mode: New partners driving the future of gaming with AI
    • March 22, 2025
  • 3
    Mitsubishi Motors Canada Launches AI-Powered “Intelligent Companion” to Transform the 2025 Outlander Buying Experience
    • March 10, 2025
  • PiPiPi 4
    The Unexpected Pi-Fect Deals This March 14
    • March 13, 2025
  • Nintendo Switch Deals on Amazon 5
    10 Physical Nintendo Switch Game Deals on MAR10 Day!
    • March 9, 2025
  • /
  • Technology
  • Tools
  • About
  • Contact Us

Input your search keywords and press Enter.