cloud

What Constitutes a Compute Hour or Cost/Hour

[亡魂溺海] 提交于 2019-11-30 13:10:08
问题 Preface I've been shopping around for cloud based hosting solutions, particularly MS Azure & Amazon's EC2. They, Microsoft and Amazon, have pricing tables which describe a "cost/hour"/"compute hour." Question When they say "cost/hour" or "compute hour," what's in an hour? Is it the amount of time an application pool, in the case of an ASP.NET app, is active? Or, the amount of time that your application is active? Or, is it related in some manner to the incoming requests per hour/minute? Is

Azure Task Scheduler

送分小仙女□ 提交于 2019-11-30 11:28:24
问题 While this question is particular to Azure, I'm sure that it is a common situation for cloud computing in general. I have a list of tasks that I need run at a certain time. With a window's server, I can use Task Scheduler and schedule my program to run at a certain time. I could go a step further and create a windows service that would run at a given interval and then execute the appropriate task. Does anyone have a suggestion on the best approach is for a cloud computing environment? I could

Problem with copying local data onto HDFS on a Hadoop cluster using Amazon EC2/ S3

我的未来我决定 提交于 2019-11-30 09:37:43
I have setup a Hadoop cluster containing 5 nodes on Amazon EC2. Now, when i login into the Master node and submit the following command bin/hadoop jar <program>.jar <arg1> <arg2> <path/to/input/file/on/S3> It throws the following errors (not at the same time.) The first error is thrown when i don't replace the slashes with '%2F' and the second is thrown when i replace them with '%2F': 1) Java.lang.IllegalArgumentException: Invalid hostname in URI S3://<ID>:<SECRETKEY>@<BUCKET>/<path-to-inputfile> 2) org.apache.hadoop.fs.S3.S3Exception: org.jets3t.service.S3ServiceException: S3 PUT failed for '

Multiple site strategy on web role(s) and cloud service(s)

我与影子孤独终老i 提交于 2019-11-30 09:08:21
We have 3 public facing web applications which we are migrating to Azure. All sites use port 80. OPTIONS As far as I understand, there are three different options when using Web Roles: 1. All 3 sites hosted in ONE web role in a single cloud service : HTTP access can be configured by hostHeader in ServiceDefinition.csdef This is the cheapest Requires that all projects need to be published at the same time The sites cannot be scaled separately, only as a whole 1 Cloud Service project in Visual Studio 2. Each site hosted on a SEPARATE web role in a single cloud service : HTTP access can be

GAE/J request log format breakdown

烈酒焚心 提交于 2019-11-30 07:25:32
Here is a sample of GAE Console log record: http://i.stack.imgur.com/M2iJX.png for readable high res version. I would like to provide a breakdown of the fileds, displayed both in the collpased (summary) view and the expended (detail) view. I will fill the fields I know their meaning and would appreciate assistannce with dichipering the rest. This post will be updated once new information is available. Thank you, Maxim. Open issues: How to read timestamp? [...-prod/0-0-39. 346862139187007139 ] Why in summary it says request took 343ms but in details is says 344ms ? If request spend 123ms on cpu

Node.js TCP Socket Server on the Cloud [Heroku/AppFog]

微笑、不失礼 提交于 2019-11-30 06:57:09
Is is possible to run a Node.js TCP Socket oriented application on the Cloud , more specifically on Heroku or AppFog . It's not going to be a web application, but a server for access with a client program. The basic idea is to use the capabilities of the Cloud - scaling and an easy to use platform. I know that such application could easily run on IaaS like Amazon AWS , but I would really like to take advantage of the PaaS features of Heroku or AppFog . I am reasonably sure that doesn't answer the question at hand: "Is is possible to run a Node.js TCP Socket oriented application". All PaaS

How can I update files on Amazon's CDN (CloudFront)?

北慕城南 提交于 2019-11-30 06:48:01
Is there any way to update files stored on Amazon CloudFront (Amazon's CDN service)? Seems like it won't take any update of a file we make (e.g. removing the file and storing the new one with the same file name as before). Do I have to explicitly trigger an update process to remove the files from the edge servers to get the new file contents published? Thanks for your help Amazon added an Invalidation Feature. This is API Reference . Sample Request from the API Reference: POST /2010-08-01/distribution/[distribution ID]/invalidation HTTP/1.0 Host: cloudfront.amazonaws.com Authorization: [AWS

How do you make many files public in Google Cloud Storage?

China☆狼群 提交于 2019-11-30 06:13:59
问题 I have 1000 files in Google Cloud Storage to make public, or in general a directory hierarchy. In the Web UI, I can only seem to make one at a time public. Is there some way to do this. 回答1: Run gsutil -m acl set -R -a public-read gs://bucket The -m issues multiple requests at the same time. The -R issues requests for every object in your bucket. The -a issues requests for every version of every object. See gsutil help acl for more info. At the API layer gsutil issues the following HTTP

Single Sign-On in Microservice Architecture

柔情痞子 提交于 2019-11-30 06:12:34
问题 I'm trying to design a green-field project that will have several services (serving data) and web-applications (serving HTML). I've read about microservices and they look like good fit. The problem I still have is how to implement SSO. I want the user to authenticate once and have access to all the different services and applications. I can think of several approaches: Add Identity service and application. Any service that has protected resources will talk to the Identity service to make sure

What Constitutes a Compute Hour or Cost/Hour

▼魔方 西西 提交于 2019-11-30 05:58:47
Preface I've been shopping around for cloud based hosting solutions, particularly MS Azure & Amazon's EC2. They, Microsoft and Amazon , have pricing tables which describe a "cost/hour"/"compute hour." Question When they say "cost/hour" or "compute hour," what's in an hour? Is it the amount of time an application pool, in the case of an ASP.NET app, is active? Or, the amount of time that your application is active? Or, is it related in some manner to the incoming requests per hour/minute? Is there a possibility that if the app is not active (serving requests) it's not factored into the overall