Link to home
Start Free TrialLog in
Avatar of mikha
mikhaFlag for United States of America

asked on

aws vs azure platform/pricing

I've looking into AWS, with an intention to host an application , but for any Microsoft .NET application , one has to pay for the licenses for the windows OS image on
AWS compared to some free linux version. but if the application is in .net core , which can be hosted on any platform.

will the pricing be significantly different between hosting a .net core application in a free version of linux in AWS (if possible) vs hosting it in Microsoft Azure.
Avatar of Chinmay Patel
Chinmay Patel
Flag of India image

Hi Mikha,

If you do not plan to use any Microsoft product (apart from. NET Core), I think it will be cheaper.

Remember, there are other reasons why people choose a Cloud Solution Provider. First and foremost, the eco system, then, your familiarity with the platform, then there is business's inclination (if your boss loves Microsoft, you can't go with AWS), there are other situations in which you want to take advantage of a particular offee/feature exclusively available on the platform.

Also, both the providers have calculators available, which are pretty accurate as long as you have detailed your requirements well.

Regards,
Chinmay.
Hi,
As it was mentioned for a good price on AWS you'll be limited to .Net Core / Linux. For any other .Net Framework version you'll need to go with Azure. Also, recently, Microsoft has decided to change the licensing model for third-party providers
https://www.microsoft.com/en-us/licensing/news/updated-licensing-rights-for-dedicated-cloud
in order to force them to ask for a higher price on hosted Microsoft products.
Avatar of mikha

ASKER

thank you both for your insights - I'm leaning towards linux machine in aws. I have a C# background and planning to work on API that can handle lot of calculations . Also, there is some analysis that needs to be done, so i'm planning to look into python for this.

also aws has those stateless lambda functions, which I think is perfect for say a calculation api. so the front end application can
throw in some values for calculation, invoke a lambda function which in turn invokes C# or python code to calculate and sends backs the response, which lambda responses to the front end.

one thing , I think can be thrown into mix is some kind of caching , i'm pretty sure aws has something for this, as lamda is stateless, calling same functions for same calculation will be resource intensive so , if i can apply some caching before lambda, that will
save some cost.
Hi Mikha,

I think you are talking about Redis cache. You can check AWS's implementation at
https://aws.amazon.com/elasticache/

Use a calculated hash as a key, and result as a value and you ate good to go.

And while we are at the topic, you'd also want to switch to. NET Core as it runs on Linux.

Regards,
Chinmay.
Hi,
Yes, the usage of in-memory storage like Redis for caching will save some cost, but you'll have to implement some logic in order to decide when the cached results are no longer valid. Plus, there is no warranty that a cached result is still in the store (because of the memory recovery policy).
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.