Skip to content

Commit 9c8e86d

Browse files
waprinJon Wayne Parrott
authored and
Jon Wayne Parrott
committed
Add note about memcache whitelist (GoogleCloudPlatform#755)
This is just for people who are browsing on Github and might not be aware (I made this mistake).
1 parent d732d44 commit 9c8e86d

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

appengine/flexible/memcache/README.md

+19
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
## Note
2+
3+
This sample demonstrates connecting to existing Memcache servers, or the
4+
built-in Memcache server.
5+
6+
A managed option for Memcache is RedisLabs:
7+
8+
https://cloud.google.com/appengine/docs/flexible/python/using-redislabs-memcache
9+
10+
You can install and manage a Memcache server on Google Compute Engine. One way
11+
to do so is to use a Bitnami click-to-deploy:
12+
13+
https://bitnami.com/stack/memcached/cloud/google
14+
15+
Built-in Memcache for Flexible environments is currently in a whitelist-only alpha. To have your project whitelisted,
16+
see the signup form here:
17+
18+
https://cloud.google.com/appengine/docs/flexible/python/upgrading#memcache_service
19+
120
## Running locally
221

322
Refer to the [top-level README](../README.md) for instructions on running and deploying.

appengine/flexible/memcache/main.py

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
# [START client]
2525
# Environment variables are defined in app.yaml.
26+
# Note: USE_GAE_MEMCACHE is in whitelist-only alpha. See README.md
2627
if os.environ.get('USE_GAE_MEMCACHE'):
2728
MEMCACHE_SERVER = ':'.join([
2829
os.environ.get('GAE_MEMCACHE_HOST', 'localhost'),

0 commit comments

Comments
 (0)