cloud

Error H14 (No web processes running) deploy on Heroku

空扰寡人 提交于 2019-12-05 16:56:35
问题 I try to create simple java App on Heroku. I following step by step from http://samuelsharaf.wordpress.com/2011/11/06/create-a-simple-java-web-app-using-maven-and-upload-to-heroku/ to do it. But when i try to deploy my app on heroku project i got error message like bellow when i try to view log $ heroku logs -t 2012-07-10T02:15:14+00:00 heroku[slugc]: Slug compilation started 2012-07-10T02:15:27+00:00 heroku[api]: Add shared-database:5mb add-on by anwar@meruvian.org 2012-07-10T02:15:27+00:00

How to connect Azure Storage to read .txt files from blob storage

夙愿已清 提交于 2019-12-05 15:40:44
Could anyone let me know how to read a text file from Azure Blob Storage? It's pretty easy: string text = CloudStorageAccount.Parse("<your connection string>").CreateCloudBlobClient().GetBlobReference("path/to/the/blob.txt").DownloadText(); Of course, if the blob is in a public container, you can just do: string text = new WebClient().DownloadString("http://youraccount.blob.core.windows.net/path/to/blob.txt"); // connect to development storage. To connect to azure storage use connection string CloudStorageAccount storageAccount = CloudStorageAccount.DevelopmentStorageAccount; CloudBlobClient

Mysterious ClassNotFoundException when Android system engage BackupAgent

坚强是说给别人听的谎言 提交于 2019-12-05 14:39:14
I have got a few (4) error reports on my app from when the Android system decides to do the backup to Google cloud using the BackupAgent. I am using the SharedPreferencesBackupHelper. The stack trace looks like this (my real package name is replaced below by com.xxx.yyy): java.lang.RuntimeException: Unable to create BackupAgent com.xxx.yyy.MyBackupAgent: java.lang.ClassNotFoundException: com.xxx.yyy.MyBackupAgent in loader dalvik.system.PathClassLoader[/mnt/asec/com.xxx.yyy-1/pkg.apk] at android.app.ActivityThread.handleCreateBackupAgent(ActivityThread.java:2114) at android.app.ActivityThread

Reserved IP for Azure Cloud Service doesn't persist

痞子三分冷 提交于 2019-12-05 10:01:41
I'm struggling to get to grips with Reserved IP addresses in an Azure Cloud Service. I have a Cloud Service with Staging and Productions deployments and I need at least the Production deployment to have a stable IP address. I set up 2 Reserved IP addresses as described here then assigned my reserved IPs to the Production and Staging deployments with Power Shell: Set-AzureReservedIPAssociation -ReservedIPName MyReservedIP1 -ServiceName mycloudservice -Slot “Production” Set-AzureReservedIPAssociation -ReservedIPName MyReservedIP2 -ServiceName mycloudservice -Slot “Staging” All well and good the

Google Cloud Stackdriver Monitor Compute Engine Disk Usage

。_饼干妹妹 提交于 2019-12-05 08:15:01
I have Google compute engine instances already up and running since recently. I have explored Google Cloud stackdriver for monitoring CPU Usage etc. I have installed Stackdriver agent on to one of the Compute Engine instance for testing. I have explored creating new chart on dashboard, tried with various metrics. But I could not find any metrics that can show disk usage of my instance. Yes there is list of plugins supported by Stackdriver agent to pump custom metrics but I could not find any specific metric that measure the instance disk usage. Please give me a pointer. Thanks Volume usage is

Neo4j in the cloud [closed]

社会主义新天地 提交于 2019-12-05 07:58:33
Is anyone aware of cloud services (PaaS) which could be suitable for a spring/neo4j application. Anything to look out for? AFAIK, Amazon EBS is currently the only stable option, Heroku is in private beta and Cloud Foundry is work in progress. Neo4j is available on Heroku now. Details in this document at infoq. http://www.infoq.com/minibooks/good-relationships-spring-data It seems that Jelastic PaaS has recently updated a blog post for Neo4j support. I have found it here: http://blog.jelastic.com/2013/03/21/neo4j-in-the-cloud/ 来源: https://stackoverflow.com/questions/7649319/neo4j-in-the-cloud

Terraform - should I use user_data or provisioner to bootstrap a resource?

此生再无相见时 提交于 2019-12-05 05:18:16
It seems like I can use either user_data with a template file or a "remote-exec" provisioner with inline commands to bootstrap. So which one is considered more idiomatic? You should use user_data . The user data field is idiomatic because it's native to AWS, whereas the remote-exec provisioner is specific to Terraform, which is just one of many ways to call the AWS API. Also, the user-data is viewable in the AWS console, and often an important part of using Auto Scaling Groups in AWS, where you want each EC2 Instance to execute the same config code when it launches. It's not possible to do

Indexes on BigQuery Table

隐身守侯 提交于 2019-12-05 03:57:22
I have a use case in which we have a few tables in BigQuery. Now I want to implement an index on one of the columns in the BigQuery table. But I am not finding enough documentation to do that. I found a few blogs and posts mentioning BigQuery doesn't support indexes. Please help me find a blog or post which can help me in implementing index on BigQuery. Thanks in advance. 2019 update: Check out how c lusters improve your querying times and data scanned : https://medium.com/google-cloud/bigquery-optimized-cluster-your-tables-65e2f684594b As stated in the comments this question is associated

How do I scale a Java app with a REST API and a Database?

给你一囗甜甜゛ 提交于 2019-12-05 02:15:22
问题 I have a typical stateless Java application which provides a REST API and performs updates (CRUD) in a Postgresql Database. However the number of clients is growing and I feel the need to Increase redundancy, so that if one fails another takes place For this I will probably need a load balancer? Increase response speed by not flooding the network and the CPU of just one server (however how will the load balancer not get flooded?) Maybe I will need to distribute the Database? I want to be able

Tutorial On Deploying Rails Apps to the Amazon Cloud? [closed]

核能气质少年 提交于 2019-12-05 01:45:30
问题 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'm looking for a solid beginning-to-end type tutorial for deploying a Rails application to the Amazon Cloud. Hopefully such a tutorial would include guidance on how, if at all, S3 should be used as well as managing all your persisted data collected in your database of choice. 回答1: Is this the kind of thing you