Use VPC Service Controls with Memorystore for Memcached
Stay organized with collections
Save and categorize content based on your preferences.
You can protect your Memorystore for Memcached instances using VPC Service Controls.
VPC Service Controls protect against data exfiltration and provide an extra
layer of security for your instances. For more information about
VPC Service Controls, see Overview of VPC Service Controls.
Once the Memorystore for Memcached API is protected by your service perimeter,
Memorystore for Memcached API requests coming from clients outside of the perimeter
must have the proper access level rules.
Protecting your Memcached instances using VPC Service Controls
Add the Memorystore for Memcached API to your service perimeter. For
instructions on adding a service to your service perimeter, see
Updating a service perimeter.
Configuration requirements
If you use both Shared VPC and VPC Service Controls, you must have the host
project that provides the network and the service project that contains the
Memcached instance inside the same perimeter in order for Memcached requests to
succeed. Otherwise, requests between the service project instance and the host
project network are be blocked by the VPC Service Controls service perimeter.
At any time, separating the host project and service project with a perimeter
can cause a Memcached instance failure, in addition to blocked requests.
Limitations of VPC Service Controls for Memcached instances
[[["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-09-04 UTC."],[],[],null,["# Use VPC Service Controls with Memorystore for Memcached\n\nYou can protect your Memorystore for Memcached instances using VPC Service Controls.\n\nVPC Service Controls protect against data exfiltration and provide an extra\nlayer of security for your instances. For more information about\nVPC Service Controls, see [Overview of VPC Service Controls](/vpc-service-controls/docs/overview).\n\nOnce the Memorystore for Memcached API is protected by your service perimeter,\nMemorystore for Memcached API requests coming from clients outside of the perimeter\nmust have the proper access level rules.\n\nProtecting your Memcached instances using VPC Service Controls\n--------------------------------------------------------------\n\n1. [Create a service perimeter](/vpc-service-controls/docs/create-service-perimeters).\n\n2. Add the Memorystore for Memcached API to your service perimeter. For\n instructions on adding a service to your service perimeter, see\n [Updating a service perimeter](/vpc-service-controls/docs/manage-service-perimeters#update).\n\nConfiguration requirements\n--------------------------\n\nIf you use both Shared VPC and VPC Service Controls, you must have the host\nproject that provides the network and the service project that contains the\nMemcached instance inside the same perimeter in order for Memcached requests to\nsucceed. Otherwise, requests between the service project instance and the host\nproject network are be blocked by the VPC Service Controls service perimeter.\n\nAt any time, separating the host project and service project with a perimeter\ncan cause a Memcached instance failure, in addition to blocked requests.\n\nLimitations of VPC Service Controls for Memcached instances\n-----------------------------------------------------------\n\nFor a list of VPC Service Controls limitations for\nMemorystore, see [Supported products and limitations](/vpc-service-controls/docs/supported-products#table_memstore-memcache)\n\nWhat's next\n-----------\n\n- Learn more about Auto Discovery with the [Auto Discovery service overview](/memorystore/docs/memcached/auto-discovery-overview).\n- View the available [Memcached configurations](/memorystore/docs/memcached/memcached-configs)."]]