cloud

What alternatives are there to Google App Engine? [closed]

旧城冷巷雨未停 提交于 2019-11-26 23:57:29
问题 What alternatives are there to GAE, given that I already have a good bit of code working that I would like to keep. In other words, I'm digging python. However, my use case is more of a low number of requests, higher CPU usage type use case, and I'm worried that I may not be able to stay with App Engine forever. I have heard a lot of people talking about Amazon Web Services and other sorts of cloud providers, but I am having a hard time seeing where most of these other offerings provide the

Is there a business proven cloud store / Key=>Value Database? (Open Source) [closed]

六月ゝ 毕业季﹏ 提交于 2019-11-26 23:56:57
问题 I have been looking for cloud computing / storage solutions for a long time (inspired by the Google Bigtable). But I can't find a easy-to-use, business-ready solution. I'm searching a simple, fault tolerant, distributed Key=>Value DB like SimpleDB from Amazon. I've seen things like: The CouchDB Project : Simple and distributed, fault-tolerant Database. But it understands only JSON. No XML connectors etc. Eucalyptus : Nice Amazon EC2 interfaces. Open Standards & XML. But less distributed and

Force CloudFront distribution/file update

心不动则不痛 提交于 2019-11-26 23:46:16
问题 I'm using Amazon's CloudFront to serve static files of my web apps. Is there no way to tell a cloudfront distribution that it needs to refresh it's file or point out a single file that should be refreshed? Amazon recommend that you version your files like logo_1.gif, logo_2.gif and so on as a workaround for this problem but that seems like a pretty stupid solution. Is there absolutely no other way? 回答1: Good news. Amazon finally added an Invalidation Feature. See the API Reference. This is a

Authenticate my “app” to Google Cloud Endpoints not a “user”

ぃ、小莉子 提交于 2019-11-26 21:53:01
问题 What I'm trying to do is to authenticate my Android app to the Google Cloud Endpoint. Basically the endpoints should only allow my Android app to access the methods and nothing else. I have done these things - Create a client id using my SHA1 value in Eclipse in the Google Cloud Console. Create a web client id in the Google Cloud Console for my endpoint project. Add both these client id's in the "@Api" mentioned on each endpoint. Add an extra "user" parameter in the endpoint methods.

How to edit files in AWS S3 in the browser?

谁说我不能喝 提交于 2019-11-26 21:46:30
问题 I have hosted my Homepage over Amazon's S3 system. In order to change information on the page, currently, I have to change the file on my computer and upload the new version. However, I would like to directly change the file in the S3 bucket within a browser (to change it anywhere). Is there a cloud-based text editor that can use S3 as a "file system" and would allow me to change text files (e.g., html, css, js, etc.)? 回答1: I would use S3 Sync from the awscli to download the files and edit

How to elect a master node among the nodes running in a cluster?

时光总嘲笑我的痴心妄想 提交于 2019-11-26 20:54:49
问题 I'm writing a managed cloud stack (on top of hardware-level cloud providers like EC2), and a problem I will face soon is: How do several identical nodes decide which one of them becomes a master? (I.e. think of 5 servers running on EC2. One of them has to become a master, and other ones have to become slaves.) I read a description of the algorithm used by MongoDB, and it seems pretty complicated, and also depends on a concept of votes — i.e. two nodes left alone won't be able to decide

Should I persist images on EBS or S3?

江枫思渺然 提交于 2019-11-26 18:47:40
问题 I am migrating my Java,Tomcat, Mysql server to AWS EC2. I have already attached EBS volume for storing MySql data. In my web application people may upload images. So I should persist them. There are 2 alternatives in my mind: Save uploaded images to EBS volume. Use the S3 service. The followings are my notes, please be skeptic about them, as my expertise is not on servers, but software development. EBS plus: S3 storage is more expensive. (0.15 $/Gb > 0.1$/Gb) S3 plus: Serving statics from EBS

Databse architecture (single db vs client specific db) for Building Enterprise Web (RIA) application on cloud

 ̄綄美尐妖づ 提交于 2019-11-26 18:34:57
问题 We are working on rewriting our existing RIA and redesigning our database to re-architect it's design. Now we have 2 opinions about database: (This choices are for SaaS based hosting.) 1) Individual database for each customer. 2) Single DB for all customers. We are expecting good amount of data, some of our customers have db size ranging from 2GB to 10GB. # of tables are around 100. Can I get an answer about which choice we shall go for? We are not thinking about NoSQL solution as of now but

how to connect to the database in openshift application

守給你的承諾、 提交于 2019-11-26 18:26:00
问题 I did as following MySQL 5.1 database added. Please make note of these credentials: Root User: xxxxxxx Root Password: xxxxxxx Database Name: php Connection URL: mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT/ You can manage your new MySQL database by also embedding phpmyadmin-3.4. The phpmyadmin username and password will be the same as the MySQL credentials above. phpMyAdmin 3.4 added. Please make note of these MySQL credentials again: Root User: xxxxxxx Root Password: xxxxxxx URL

What's the difference between Apache's Mesos and Google's Kubernetes

坚强是说给别人听的谎言 提交于 2019-11-26 17:53:03
问题 What exactly is the difference between Apache's Mesos and Google's Kubernetes? I understand both are server cluster management software. Can anyone elaborate where the main differences are - when would which framework be preferred? Why would you want to use Kubernetes on top of Mesosphere? 回答1: Kubernetes is an open source project that brings 'Google style' cluster management capabilities to the world of virtual machines, or 'on the metal' scenarios. It works very well with modern operating