cloud-hosting

Allowed Host Setting for Django on EC2

こ雲淡風輕ζ 提交于 2019-12-05 08:08:51
I just deployed to an Amazon EC2 bitnami djnago stack and I'm having trouble with the ALLOWED_HOSTS setting in the settings.py file. I am not sure what hostname to use or where to find it. I have tried internal IP, external IP, localhost, domain name. The only thing that gets the 500 error pages to stop, is: ALLOWED_HOSTS = ['*'] But, this is a security issue. What am I missing? Set it to - ALLOWED_HOSTS = [ '.yourdomain.com' ] Where yourdomain.com is the domain name you're using to access it. The documentation says - Values in this list can be fully qualified names (e.g. 'www.example.com'),

Why do my Azure sites keep going down?

孤街醉人 提交于 2019-12-05 07:09:14
I am testing Microsoft's Azure cloud platform and am hosting two very low-requirement websites. One is a simple single form MVC website that simply accepts some input from the user, performs some calculations, and spits out an output. The second is similar, but it performs a simple query against an Azure SQL Server instance. Both websites go down constantly. What appears to be happening is that if I don't hit the website for awhile (maybe an hour or so) the GET request simply fails. Nothing is ever returned from the server. If I wait a minute or two and try again, the website works perfectly.

Is Windows Azure Storage (Blob, Table, Queue) optimized for access from Windows Azure Roles?

我的梦境 提交于 2019-12-04 23:06:07
问题 I'm currently looking at Windows Azure to host an ElasticSearch implementation. Loading the application and running it under Java is not that difficult. Currently, ElasticSearch only supports Amazon's S3 when it comes to cloud storage. As a result, I've made a request to add support for Azure Blob Storage in ElasticSearch. Right after I made the request, it occured to me that while I can host ElasticSearch in Azure, I can create an Amazon S3 account and then have the instance running in Azure

What do 'instances' mean in terms of cloud computing?

蹲街弑〆低调 提交于 2019-12-04 20:05:20
问题 While looking through the pricing of some cloud computing hosting services like Google App engine, Amazon, etc, I see terms like $0.0x per instance per hour, etc. What exactly does that mean? Is an instance = X page views, or is there any other way to estimate how many instances I would need? 回答1: Generally 1 instance == 1 machine/server (often a virtual machine). See e.g. http://aws.amazon.com/ec2/instance-types/ and https://developers.google.com/appengine/docs/adminconsole/instances 回答2:

chrome extension with cloud storage

↘锁芯ラ 提交于 2019-12-04 13:40:00
问题 I'm making a small Chrome extension and would like to keep its data online. I need a free and very small(<1MB per user) cloud hosting provider that has painless authentication. Ideally, I'd just like a Google API that does localStorage, but in the cloud and different for each username. 回答1: Why can't you use Google App Engine? The API is pretty easy to use. Or use other Google services tied to each individual user such as Google Docs. That is how Google Chrome Sync stores bookmarks that are

What cloud platform supports playframework 2.x deployments?

佐手、 提交于 2019-12-04 10:57:11
I know many platforms that currently support play 1.x but did any one have tried any that support play 2.x. There is also dotCloud . I would recommend Heroku as The One (in capital letters). They are amazing, and provide excellent support for Play. BUT! we aware that (unless I missed something last week) they still DO NOT SUPPORT WebSockets, arguably one of the major improvements in Play 2.0. So, if your application requires WebSockets, go with Amazon EC2. As far as I know, you have : Heroku Cloudfoundry EDIT : I'll add a bit of information about Play! cloud platforms. Zenexity , the company

Migrate Azure Web Site to Azure Cloud Service

时光怂恿深爱的人放手 提交于 2019-12-04 09:14:25
问题 I have a project and I'm planning to start the web app as an Azure Web Site and then migrate it to an Azure Cloud Service (also called Hosted Service) if it is needed as a scale strategy. The decision is because I read that Azure Web Sites are more simple and fast to develop with almost no Azure-specific configurations or code. So starting fast and simple is a good starting point for the project. But, is that a good starting point for you? Is migrating an Azure Web Site to an Azure Cloud

Heroku vs EngineYard: which one is more worth the money? [closed]

瘦欲@ 提交于 2019-12-04 07:25:46
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I looked this up on Google, but wanted more opinions before I committed to either service. Has anyone had experience with either (or maybe both) services? Are there any advantages or disadvantages that stood out about either one? Particular areas of interest are: Security Stability Scalability. Price 回答1: I am

mongodb read/write performance and mongo hosting in the cloud

不想你离开。 提交于 2019-12-03 21:06:01
we are currently developing a high traffic rails application with facebooker (facebook game). since amazon simpledb (aws-sdb) is really slow, we are thinking of using a dedicated mongodb server as offered by mongoHQ for example. questions: what is the read/writes peak value for a mongodb server running on a amazon ec2 instance? what would be a recommended setup for a ec2 hosted app with mongodb - a master on amazon EBS and replicas on the ec2 instances? any examples or experiences? is there a company that offers mongodb hosting in the cloud? thanks, mz 1) Your reads/inserts/updates values will

Is Windows Azure Storage (Blob, Table, Queue) optimized for access from Windows Azure Roles?

断了今生、忘了曾经 提交于 2019-12-03 14:40:56
I'm currently looking at Windows Azure to host an ElasticSearch implementation. Loading the application and running it under Java is not that difficult. Currently, ElasticSearch only supports Amazon's S3 when it comes to cloud storage. As a result, I've made a request to add support for Azure Blob Storage in ElasticSearch . Right after I made the request, it occured to me that while I can host ElasticSearch in Azure, I can create an Amazon S3 account and then have the instance running in Azure connect to the S3 account for storage. However, I do have concerns about the speed between the two.