title: Deploy Flask app with celery worker on Google Cloud
body: <p>I have a very simple Flask app example which uses a celery worker to process a task asynchronously:</p>
  <p>app.py</p>
  <pre><code>app.config['CELERY_BROKER_URL'] = os.environ.get('REDISCLOUD_URL', 'redis://localhost:6379')
  app.config['CELERY_RESULT_BACKEND']= os.environ.get('REDISCLOUD_URL', 'redis://localhost:6379')
  app.config['SQLALCHEMY_DATABASE_URI'] = conn_str
  celery = make_celery(app)
  
  db.init_app(app)
  
  
  
  
  @app.route('/')
  def index():
      return &quot;Working&quot;
  
  @app.route('/test')
  def test():
      task = reverse.delay(&quot;hello&quot;)
      return task.id
  
  @celery.task(name='app.reverse')
  def reverse(string):
      return string[::-1]
  
      
  
  if __name__ == &quot;__main__&quot;:
      app.run()
  </code></pre>
  <p>To run it locally, I run celery -A app.celery worker --loglevel=INFO
  in one terminal, and python app.py in another terminal.</p>
  <p>I'm wondering how can I deploy this application on Google Cloud? I don't want to use Task Queues since it is only compatible with Python 2. Is there a good piece of documentation available for doing something like this? Thanks</p>