cloud

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

◇◆丶佛笑我妖孽 提交于 2019-11-28 16:18:47
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. fejta 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 request: PUT /bucket/obj?acl HTTP/1.1 Host: storage.googleapis.com x-goog-acl: public-read You can see this

Do you use Amazons Cloud services for your company? [closed]

泄露秘密 提交于 2019-11-28 15:48:16
问题 I read a lot about the possibilities of Amazons Cloud computing, like S3 or EC2 and I wondered if someone actually uses this for mission-critical applications. Do you host your company website in the cloud? Do you store files there? Do you run your build servers in the cloud? There are already some services like Scalr or WeoCeo that could help you with this task, but I don't know if management is already at the point where this is a real issue... edit I'd like to add another point: Do you

Single Sign-On in Microservice Architecture

一曲冷凌霜 提交于 2019-11-28 15:28:32
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 the credentials it has are valid. If they are not it will redirect the user for authentication. Use a

how to use free cloud database with android app? [closed]

十年热恋 提交于 2019-11-28 15:13:43
I am developing an Google maps android application in which I want to use database in cloud for saving usernames, passwords, GPS Locations etc. Can any option to achieve this with free of cost ? If there are any examples, posts, or tutorials? Updated Now there are a lot of cloud providers , providing solutions like MBaaS (Mobile Backend as a Service). Some only give access to cloud database, some will do the user management for you, some let you place code around cloud database and there are facilities of access control, push notifications, analytics, integrated image and file hosting etc.

When to use Amazon Cloudfront or S3

喜夏-厌秋 提交于 2019-11-28 14:59:10
Are there use cases that lend themselves better to Amazon cloudfront over s3 or the other way around? I'm trying to understand the difference between the 2 through examples. eillarra Amazon S3 is designed for large-capacity, low-cost file storage in one specific geographical region.* The storage and bandwidth costs are quite low. Amazon CloudFront is a Content Delivery Network (CDN) which proxies and caches web data at edge locations as close to users as possible. When end users request an object using this domain name, they are automatically routed to the nearest edge location for high

What is SaaS, PaaS and IaaS? With examples

有些话、适合烂在心里 提交于 2019-11-28 14:54:17
What do the following terms mean? SaaS PaaS IaaS? There are various cloud services available today, such as Amazon's EC2 and AWS, Apache Hadoop, Microsoft Azure and many others. Which category does each belong to and why? Tariq IaaS, PaaS and SaaS are cloud computing service models. IaaS (Infrastructure as a Service), as the name suggests, provides you the computing infrastructure, physical or (quite often) virtual machines and other resources like virtual-machine disk image library, block and file-based storage, firewalls, load balancers, IP addresses, virtual local area networks etc.

What is the difference between Cloud, Grid and Cluster? [closed]

跟風遠走 提交于 2019-11-28 13:38:08
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . What is the difference between Cloud, Cluster and Grid? Please give some examples of each as the definition of cloud is very broad. As

Windows Azure not finding DLL of C++/CLI project

筅森魡賤 提交于 2019-11-28 11:45:11
I have a C++/CLI project that wraps around an unmanaged C compression library, and this project is referenced by an MVC3 project that calls the C++ Compress function. Everything works fine locally, but when I publish the solution to the Azure cloud, I get an error saying it could not find the module/dll: Could not load file or assembly 'LZGEncoder.DLL' or one of its dependencies. The specified module could not be found. Why can't it find the DLL file? is it going to the wrong place or being compiled at all? Is there any way I can check? Thanks! The problem was that the Visual C++ 2010 Runtime

How to stop creating extra instances when using google managed vms?

冷暖自知 提交于 2019-11-28 09:25:15
问题 Every time I deploy to Google's Managed VM service, the console automatically creates a duplicated instance. I am up to 15 instances running in parallel. I even tried using the command: gcloud preview app deploy "...\app.yaml" --set-default I tried doing some research and it looks like even deleting these duplicated instances can be a pain. Thoughts on how to stop this duplication? 回答1: You can deploy over the same version each time: gcloud preview app deploy "...\app.yaml" --set-default -

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

别来无恙 提交于 2019-11-28 08:59:06
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 anything. Also their approach has a significant delay before it produces the results. I wonder if there are