cloud

How to restrict azure blob container creation using SAS

对着背影说爱祢 提交于 2019-12-02 22:27:32
问题 How to set permission to not create container, while generating Account SAS token? Here is my settings. // Create a new access policy for the account. SharedAccessAccountPolicy policy = new SharedAccessAccountPolicy() { Permissions = SharedAccessAccountPermissions.Read | SharedAccessAccountPermissions.Write, Services = SharedAccessAccountServices.Blob | SharedAccessAccountServices.Table, ResourceTypes = SharedAccessAccountResourceTypes.Service | SharedAccessAccountResourceTypes.Container |

Automount EBS volume in Amazon EC2 Windows Instance

拟墨画扇 提交于 2019-12-02 21:15:30
Does anyone know how to auto-mount an Elastic Block Storage (EBS) volume when starting a Windows 2003 instance in Amazon's Elastic Compute Cloud (EC2)? Setup: Make sure the EBS volume is formatted and labeled (in the example I used the label PDRIVE). Setup a drive mapping using Ec2ConfigServiceSettings.exe Install Java on the instance Install the EC2 API command line tools Install a copy of your cert and private key Install a copy of curl.exe (open source tool) You can use the group policy editor to set this script as your startup script. See http://technet.microsoft.com/en-us/library/cc739591

Moving a Google Cloud Platform project from one account to another account

末鹿安然 提交于 2019-12-02 21:13:52
问题 Can I migrate a project from one GCP account to another account? Account 1 has project 1 and Account 2 has Project 2. Account 1 and Account 2 have different sized Compute Engines. Would like to add Project 1 to Account 2 to get the benefit of a unified Compute Engine. Thanks -ravi 回答1: If by "Account" you mean "Billing Account", yes you can move projects between billing accounts. Instructions are at https://support.google.com/cloud/answer/6293499?hl=en. If you "Account" you mean between

What is the Difference between a Light, Medium or Heavy utilization Reserved instances on EC2?

情到浓时终转凉″ 提交于 2019-12-02 20:08:32
They talk about the different utilization instances, but I can't find a single place that actually states what the difference is between a light utilization Large instance or a heavy utilization Large instance other than price. Can someone please tell me what the difference is? The instances are the same. It's just a pricing difference so you can save money if you know you will be using the instance a lot, by paying an upfront cost. You pay more up front for a heavier utilization instance, but you save more in the long run assuming you have it running all the time, because the hourly rate is

Build self-healing distributed systems with Spring

≡放荡痞女 提交于 2019-12-02 19:48:26
原文链接: http://www.infoworld.com/article/2925047/application-development/build-self-healing-distributed-systems-with-spring-cloud.html 这篇文章介绍了如何 Spring Cloud 是如何帮助构建一个高可用的分布式系统的。在同类文章算是介绍的很不错的,感觉比 Spring Blog 里面的文章还要更全面易懂。 文章开始先介绍了构建分布式系统时会遇到的各种需要解决的问题,然后分别由这些问题引出 Spring Cloud 中的各种技术。 Spring Cloud Config Server Spring Cloud Config Server 以 Git、SVN 等 VCS 系统存储 properties、yml 等格式的配置文件,构建了一个可横向伸缩的配置服务器。且不说使用效果怎么样,这个思想还是很有启发性的。配置文件通常是文本文件,用 VCS 存储是顺理成章的,同时还具备了版本控制功能,使得配置的变化被记录了下来。再在这个基础之上,加上横向伸缩的能力,便成为了一个很不错的配置服务器。 Spring Cloud Bus Spring Cloud Bus 为 Spring 应用提供了 Message Broker 的功能。目前的唯一实现是基于 AMQP 的

Azure Key Vault secret to store app users secrets

蓝咒 提交于 2019-12-02 18:56:12
问题 In my application I have to store very sensitive data of its users, such as various password to other 3rd part services (user fill a form where he provides us login and password to 3rd part service) The goal of the application is to setup other complex system using powershell scripts generated from over 100 inputs. There is a requirement to save user work as draft, and that is why I need to encrypt sensitive fields somehow. I read a lot about Azure Key Vault and whenever I read about secrets

Sending mass mail without going insane (SendGrid? cloud?) [closed]

狂风中的少年 提交于 2019-12-02 17:38:26
I need to send regular newsletters, as well as smaller batches, to a 10k strong mailing list, programmatically. We're currently exporting our list and then using Campaign Monitor's web interface to create and send the newsletters. Campaign Monitor is great, but it is simply too expensive. Sending just one email to the entire list costs us $105, sending smaller batches is even more expensive as they charge 'per campaign'. I have two requirements: I don't want to worry about bouncing, domain keys, black lists, ISPs, or any of that bs. I want a solution that is as cheap as possible. My best bet

free cloud data stores that use get/post? [closed]

≡放荡痞女 提交于 2019-12-02 16:15:33
I know that there are other key/value stores similar to http://openkeyval.org out there but i cannot remember their names. Please enlighten me. i need the following features: free can be used via 100% clientside code fast and easy to integrate with edit : dropped the security requirement, since its not very important to me and was skewing the answers towards self-hosted solutions. found another service: http://rastajs.errorjs.com/ this one is easy to use but seems to mangle my values by removing all the spaces! I needed something like that, so I've built this: KVStore.io, a simple key/value

Cloud Foundry explained

孤街浪徒 提交于 2019-12-02 16:09:28
So I've been reading up on Cloud Foundry and yet I'm still confused as to what it is. Here is my take anyway on PaaS on CF, and hopefully you guys could tell me if I'm wrong and explain it a bit better. A traditional PaaS offering like Microsoft Azure or Google AppEngine provides a full platform to develop, test, host and manage your web app. You must however use their API and are restricted to the services that they offer and languages/frameworks that they support. Cloud Foundry seems to be some kind of "middle-man", whereby it allows your app to use services from many public clouds. How does

使用 Cloud Insight SDK 监控北京空气质量!

穿精又带淫゛_ 提交于 2019-12-02 14:41:47
现在越来越多的 App 都开始有广告了。特别是空气质量监测,和天气类的 App,广告还是蛮多的,眼花缭乱,真是够了。 最近刚好在用一款系统监控工具 Cloud Insight,它提供的 SDK 可以把任一数据上传到他们那做展示。 灵机一动,作为一个程序员,自己动手丰衣足食,没什么不能解决的。 pip install -i http://pypi.oneapm.com/simple --upgrade oneapm-ci-sdk 这就安装好了。 简单用 ipython 看了看接口文档, gauge 是主要的发数据的接口,好像 increment 也可以,但是不懂是搞啥的,貌似数据类型不一样。 ##PM 2.5 API 首先得找一个 PM 2.5 API,参考了一下这个教程: Air Quality Widget - New Improved Feed 。里面的资料显示,美国驻京使馆也用的是这里的数据,应该还算准确吧。 注意看教程里,他们请求的地址为: http://feed.aqicn.org/feed/beijing/en/feed.v1.json 请求这个地址,就可以得到数据啦。 说到这个,其实国内很多 App 和网站都在用 PM25.in 。用的人挺多的,就是发邮件速度有点慢,注册之后获取 Token 的邮件一直都没发给我! ##接入 Cloud Insight 先介绍下