In Stackdriver, How can I edit number of resource? - google-app-engine

Recently, Google started charging for stackdriver service. Its 8 USD per resource, and I would like to opt for single service only. But in my selected project it have 4 resources, If I select single project, it takes all 4 resources, which I do not need. And it will charge me more.
Is their any configuration change, where i can alter to select required resource only?
Thanks

For the moment, you cannot select which resources to monitor in your Stackdriver account. All resources created in the projects within your Stackdriver account are monitored.

Related

Why Google cloud vision auto create many Computer Engine

My application run normal until now.
But suddenly one service account (used for google cloud vision) create many Computer Engine instances(about 32 instances).
I checked log and see this line.
enter image description here
My billing increase from 10 to 200$/day :(
Anyone help me?
This does not seem normal as the Vision API does not require to create Compute Engine instances to work with. It is possible that your credentials might have been filtered. I suggest you remove the service account that is generating the problem and create a new one. Also you can contact Google Cloud billing support if you need more information on your charges. You can fill this form to get in touch with them.

Create multiple databases dynamically in Microsoft Azure

I am a newbie in Microsoft Azure platform. I want to create multiple databases dynamically (We are developing multi-tenant model. So, Each organization should have their own database. Whenever an organization is registered with our system, we need to create a new database dynamically). Please provide some insights on this.
By using Azure Resource Manager Templates you can reliably deploy the whole infrastructure required by each organisation. So if they need a webserver, database and middleware servers, you can define the whole thing in a template and reliably deploy that for every client.
(from the above link)
You can deploy, manage, and monitor all of the resources for your solution as a group, rather than handling these resources individually.
You can repeatedly deploy your solution throughout the development lifecycle and have confidence your resources are deployed in a consistent state.
You can use declarative templates to define your deployment.
You can define the dependencies between resources so they are deployed in the correct order.
You can apply access control to all services in your resource group because Role-Based Access Control (RBAC) is natively integrated into the management platform.
You can apply tags to resources to logically organize all of the resources in your subscription.
You can clarify billing for your organization by viewing the rolled-up costs for the entire group or for a group of resources sharing the same tag.
The link above has a lot of resources for learning how to use templates as well as the syntax and usage.
There are a large number of templates at the Azure ARM Template Github page and even some pre-existing templates to get you started deploying SQL Server to Azure (there's also mysql and postgress if you prefer)
Plus many others that you can work through to get accustomed to how they work.
you can use the AZURE SQL Database REST API to do so, its as simple as sending a PUT Request to a URL https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/microsoft.sql/servers/{server-name}/databases/{database-name}?api-version={api-version}
Check out these links for more details
https://msdn.microsoft.com/en-us/library/azure/mt163571.aspx
https://msdn.microsoft.com/en-us/library/azure/mt163685.aspx

Programmatically modify cron schedule in Google App Engine

I am writing a wrapper around the Github Issues API to allow managers in my company to set up daily reminder emails to be sent to their devs. I want this to be configurable through an admin console, and give them the flexibility of setting up reminders at any time of day and any number of times a day.
The main App Engine cron system is configured statically through the cron.yaml file and cannot be changed by user action. Looking at the documentation it appears like I can only do this by reimplementing an entire cron infrastructure on top of the basic App Engine cron. Am I missing something? Is there anything like this that is already available elsewhere?
You are correct, you cannot setup programmatically the cron configuration.
You can configure a single cron which triggers a customized functions. This functions can read the configured crons (like datastore entities) and the launch different task based on your needs

How to associate a pre-existing billing account with a new app engine project in Google cloud console?

I have a pre-existing billing account for an earlier project, that works fine.
How can I associate a new project with that same account?
In the Google Developer Console, if I select the new project and try to enable billing it gives me the forms to create a new billing account. I did not find a way to associate the project's billing to the existing account.
If I look at the existing billing account I can see my earlier project in the list of projects but have found no way add a new project to the account.
If I have enabled billing for one of my applications already, why do I have to do it again for my other apps?
We want to provide developers with fine-grained control over each of
their applications. They may wish to have a separate budget for
different apps, or apps that run entirely on free quota, rather than a
single budget for each.
DOCUMENTATION
Try hitting cancel at the end when it asks you to choose a name for the news billing account. After I did that I was able to associate my second project with my primary billing account. I also noticed some weirdness with a billing account that was in trial mode. Once I "upgraded" this billing account I think I could associate other projects with it.
Of course make sure you are an admin for the billing account and all projects you wish to associate with that billing.

Google Checkout Order Report API -> Google Wallet analog?

I used Google Checkout API for getting subscriptions reports every half an hour.
https://checkout.google.com/api/checkout/v2/reports/Merchant/
(https://developers.google.com/checkout/developer/Google_Checkout_XML_API_Order_Report_API)
Our company have ours support team which provides help for users of application. My script downloaded last purchases every half an hour and stored in DB (time,serialnumber,email). After that support was getting access to this information through our web-interface (thus, we did not give an access (login,pass) for a main Checkout account).
Now Google Checkout was shut down and I don't understand how to do it at Google Wallet. Does anyone now can it provide this functionality or not?
AFAIK there currently is no similar "infrastructure" (reporting, querying, etc, via API like in Google Checkout) for Google Wallet for Digital Goods which, based on your comments, sounds like the product you are looking for (to replace your current Google Checkout implementation) - it's specifically for digital goods and does support subscriptions.
You'd manage orders via Merchant Center.
You will get order data via postbacks so as for ideas - you would need to store order data on your end when you handle the postback/s from Google - for both "placed" and "cancelled".
This would replace how you currently do it via Order Report API in Google Checkout...
Hth...

Resources