we want to get price absed on all fields that are there in virtual machines. so do you have any specific API for virtual machines to get prices?
plus we want data of those fields so that we can use it to request from ServiceNow which is third party application. can we get data of those fields?
BR
Related
AWS provides a pricing api to get cost details of each service. If you want to know the price of an EC2 instance, you just pass the region,instance type(eg:t2.micro) and service code of EC2 to the pricing API and it returns the pricing details. I understand that azure exposes Ratecard API to get the prices. But It returns a huge JSON with all the services. How do I filter based on service type and its attributes. For example, I want the pricing details of Azure VM of instance type Standard_B2S in Central US. Is this possible?
No there is no separate API available for it apart from RateCard, if you need to get the details of particular VM you can use Virtual Machine Rest API. See this link.
GET
https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/vmSizes?api-version={apiVersion}
I am trying to query the Azure Rate card API using the below Endpoint
https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.Commerce/RateCard
I am able to see all azure resources with an hourly rate in its JSON response, but it doesn't have Memory and CPU values for Virtual Machines.
How to query the CPU, Memory along with hourly rate for Virtual Machines via REST API?
Unfortunately, the Rate Card API is only used for getting the price for each resource. The VM's detailed properties are not included.
If you want to get the Memory and CPU values of a VM size, you can use the Resource SKU API.
But, you may need to add some additional coding. This is a probable workaround. Hope it would be helpful to you.
I need a rest api which will list out all the images available with azure market place with its Location,publisher and SKU.
Here are available Azure REST API for Virtual Machine Images. You can find an image in 3 steps referring to Navigate the images:
List the image publishers.
For a given publisher, list their offers.
For a given offer, list their SKUs.
Then, for a selected SKU, get a list of all virtual machine image versions for the specified location, publisher, offer, and SKU to deploy.
List Offers
Gets a list of virtual machine image offers for the specified location and publisher.
List Publishers
Gets a list of virtual machine image publishers for the specified Azure location.
List Skus
Gets a list of virtual machine image SKUs for the specified location, publisher, and offer.
You need to use Azure Stack Admin API
Especially to get the list of images , you need Gallery Items - List
GET
https://adminmanagement.local.azurestack.external/subscriptions/0ff0bbbe-d68d-4314-8f68-80a808b5a6ec/providers/microsoft.gallery.admin/galleryItems?api-version=2015-04-01
I have some scripts and images(total size is 1MB) in the web role. I am planning to move these to some blob storage(CDN/Https/Query string) or static website.
The price for outbound data transfers (i.e. data going out of Windows Azure data centers)
First 10 TB / Month* $.12 per GB
source (http://www.windowsazure.com/en-us/pricing/details/#header-11)
I would like to know If I move the scripts and images to the following
1.Static content website (or)
2. Blob storage(Https)
Are the Price for outbound transfers same? Can anyone confirm this?
From the Microsoft site.
All inbound data sent to Windows Azure is free. Outbound data is
charged based on the total amount of data moving out of the Windows
Azure data centers via the Internet in a given billing cycle. Data
transfers between Windows Azure services located within the same data
center are not subject to any charge. The first 5 GB of outbound data
transfers per billing month are also free.
Full details http://www.windowsazure.com/en-us/pricing/details/#header-11
They don't mention details about specific services as they only monitor outbound transters for billing according to that information.
EDIT
One thing to bear in mind using blob storage you are limited to the number of accesses per second (I think this is 500) so a heavily loaded site will need to use the CDN as well as just blob storage.
We have our own application that stores contacts in an SQL database. What all is involved in getting up and running in the cloud so that each user of the application can have his own, private list of contacts, which will be synced with both his computer and his phone?
I am trying to get a feeling for what Azure might cost in this regard, but I am finding more abstract talk than I am concrete scenarios.
Let's say there are 1,000 users, and each user has 1,000 contacts that he keeps in his contacts book. No user can see the contacts set up by any other user. Syncing should occur any time the user changes his contact information.
Thanks.
While the Windows Azure Cloud Platform is not intended to compete directly with consumer-oriented services such as Dropbox, it is certainly intended as a platform for building applications that do that. So your particular use case is a good one for Windows Azure: creating a service for keeping contacts in sync, scalable across many users, scalable in the amount of data it holds, and so forth.
Making your solution is multi-tenant friendly (per comment from #BrentDaCodeMonkey) is key to cost-efficiency. Your data needs are for 1K users x 1K contacts/user = 1M contacts. If each contact is approx 1KB then we are talking about approx 1GB of storage.
Checking out the pricing calculator, the at-rest storage cost is $9.99/month for a Windows Azure SQL Database instance for 1GB (then $13.99 if you go up to 2GB, etc. - refer to calculator for add'l projections and current pricing).
Then you have data transmission (Bandwidth) charges. Though since the pricing calculator says "The first 5 GB of outbound data transfers per billing month are also free" you probably won't have any costs with current users, assuming moderate smarts in the sync.
This does not include the costs of your application. What is your application, how does it run, etc? Assuming there is a client-side component, (typically) this component cannot be trusted to have the database connection. This would therefore require a server-side component running that could serve as a gatekeeper for the database. (You also, usually, don't expose the database to all IP addresses - another motivation for channeling data through a server-side component.) This component will also cost money to operate. The costs are also in the pricing calculator - but if you chose to use a Windows Azure Web Site that could be free. An excellent approach might be the nifty ASP.NET Web API stack that has recently been released. Using the Web API, you can implement a nice REST API that your client application can access securely. Windows Azure Web Sites can host Web API endpoints. Check out the "reserved instance" capability too.
I would start out with Windows Azure Web Sites, but as my service grew in complexity/sophistication, check out the Windows Azure Cloud Service (as a more advance approach to building server-side components).