Skip to content

Commit

Permalink
Add note about memcache whitelist (#755)
Browse files Browse the repository at this point in the history
This is just for people who are browsing on
Github and might not be aware (I made this
mistake).
  • Loading branch information
waprin authored and Jon Wayne Parrott committed Jan 11, 2017
1 parent d732d44 commit 9c8e86d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions appengine/flexible/memcache/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
## Note

This sample demonstrates connecting to existing Memcache servers, or the
built-in Memcache server.

A managed option for Memcache is RedisLabs:

https://cloud.google.com/appengine/docs/flexible/python/using-redislabs-memcache

You can install and manage a Memcache server on Google Compute Engine. One way
to do so is to use a Bitnami click-to-deploy:

https://bitnami.com/stack/memcached/cloud/google

Built-in Memcache for Flexible environments is currently in a whitelist-only alpha. To have your project whitelisted,
see the signup form here:

https://cloud.google.com/appengine/docs/flexible/python/upgrading#memcache_service

## Running locally

Refer to the [top-level README](../README.md) for instructions on running and deploying.
Expand Down
1 change: 1 addition & 0 deletions appengine/flexible/memcache/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

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

0 comments on commit 9c8e86d

Please sign in to comment.