douwen4178 2015-11-12 17:21
浏览 67

Deis上的PHP ObjectStorag

So, i've installed deis onto HyperV with three nodes. This is working as it should :). The applications that will be running on DEIS are PHP Applications and are Private applications, so no Public cloud services :(.

The App has three dependencies: Memcached (caching), MySql (Data, Session Storage) and File Storage. What are the best practices to run such an app? I would like to keep everything within these three nodes. Memcached is not the issue, just spin up some docker containers. MySQL could live on a separate server.

While trying to change the app to the 12Factor way i would like to use Object Storage for the uploaded files. S3 is not a option, and containers have no persistent storage. Which leaves another server or using the components already available.

I've noticed port 8888 is opened on the nodes, doing a Curl gives me an XML with "ListAllMyBucketsResult" Which is the respons from the Ceph Rados GW. Is there a way to add an user for the application and using this for object storage?

  • 写回答

1条回答 默认 最新

  • dongtang7347 2015-11-12 22:51
    关注

    If you want to use the Ceph gateway, you should create a new user account for it. Do this by entering the deis-store-gateway container with nse deis-store-gateway on the host the container runs on. You can then use radosgw-admin: http://docs.ceph.com/docs/master/radosgw/admin/

    评论

报告相同问题?

悬赏问题

  • ¥15 链接问题 C++LNK2001 无法解析的外部符号
  • ¥50 安装pyaudiokits失败
  • ¥15 计组这些题应该咋做呀
  • ¥60 更换迈创SOL6M4AE卡的时候,驱动要重新装才能使用,怎么解决?
  • ¥15 让node服务器有自动加载文件的功能
  • ¥15 jmeter脚本回放有的是对的有的是错的
  • ¥15 r语言蛋白组学相关问题
  • ¥15 Python时间序列如何拟合疏系数模型
  • ¥15 求学软件的前人们指明方向🥺
  • ¥50 如何增强飞上天的树莓派的热点信号强度,以使得笔记本可以在地面实现远程桌面连接