How should I host the servers for my project? - azure

I have started work on a game project which is expected to have a very high load on the servers.
My original plan was going with a general main server which hosts general game data and using a collection of servers hosting a node (or game world) server, being balanced with more CPU/network intensive worlds being hosted in less numbers on the machine.
Now I was wondering how it's best for me to set up the actual servers. Should I go with a cloud like Microsoft Azure, should I host it all myself on own bought hardware or should I use dedicated hosting from some hosting company?

Windows Azure actually has a Toolkit for Social Games which might provide some good guidance.
https://github.com/WindowsAzure-Toolkits/wa-toolkit-games
On Github the architecture section might also help you think about an Azure Solution
https://github.com/WindowsAzure-Toolkits/wa-toolkit-games/wiki/architecture
Re: Servers, the cloud is a perfect match for this workload/use case, you can grow quickly or fail fast depending on how successful you are and only ever pay for what you use. Azure has a IaaS and PasS offering which should meet all your needs (inc Windows and Linux on IaaS)

Well I believe now days people are engaged in social games; I believe you would be doing the same.
unsure about the development environment I suggest you to look at the Game Hosting by amazon.. It could be somewhat costlier but better then to have your own provided it meet all your needs.
You can also check gamersisle who allows you to rent game server based on your wish so you can rent more when you feel you are hitting client counts.
Happy game development.
P.S :- I always wonder how people build game.. just learning how? ;)

Related

How to affordably release a webapp for my job company

First of all, I'm not really sure if this question goes here in stackoverflow or if I should ask it on another place. Please if that's the case, indicate me in the right way :)
So, for context, this is an app that I was asked to develop for my job. At first I thought in doing a webapp and host it inside the company servers and domain (intranet), but it isn't possible due to external issues that I can't control.
Is there another way to achieve this? The app must have a database and should be accessible for a bunch of users at the same time.
Of course we want to spend the least amount of money possible to make this happen. Also, using a workstation of our own to host everything is not possible either.
Edit: I didn't finish developing, but for now I'm developing it in Python Flask.
The number of users is small really, just up to five people.
OK - I guess a lot of what you'll get in response to this is your definition is too vague. Things such as scale, number of users, programming languages used to create the web app etc are important when talking about hosting.
However, for me, there are three very good options out there for free hosting, up to a certain amount of traffic.
1.) Heroku - Heroku.com
A world known web hosting platform. You can publish code through GitHub, and it has some extensive coverage for different types of web apps. Definitely worth a look.
2.) Netlify - netlify.com
Similar to Heroku, but used by some major companies. Allows you to host for free to a point, and is relatively simple to get started with.
3.) Vercel - vercel.com
A bit more technical in my opinion - but again, very similar to the above two and has a free tier.
All three are great options, and I'd recommend looking into them in more detail to see what option is best for you. Can't go wrong with any of them.
I had a similar problem: A Python-Flask-SQLite app for me and my office pals to use together.
The solution was creating one .exe file with pyinstaller, hosting this and the database files in a network drive (one that everyone that will use the app has access). As everybody (~10 people) sees the same db, things works fine!

How is a web hosting service created? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I am a freshman Computer Science student. I would appreciate if some of you guys could help me understand the process of creating a web hosting service and explain how it works. Thank You. This question is my first; if I made mistakes, I look forward to positive criticism.
Although this is a simple and straightforward question, the answer can be far from it. There are several different categories of a web hosting service. Your typical "Godaddy, HostGator, Bluehost" shared web hosting service is the most common one, but there are also Amazon's AWS or Digital Ocean that focus on Virtual Private Servers and there are also web hosting companies with a strong added value such as a website builder (like Squarespace, Weebly or Wix).
A web hosting is often (especially shared hosting) combined with a powerful control panel (cPanel and Plesk have most users) which allow you to create additional addon domains, subdomains, email addresses, MySQL databases, FTP accounts and many other simple and complex features. It goes so far that cPanel combined with Fantastico offers automatic (few clicks) Wordpress and Joomla installation among many CMS systems. No need to manually upload files, create databases, etc.
If you are looking to start a shared web hosting business yourself, you have to go one level above. For example, above cPanel is WHM. You can look at WHM like a very powerful software that helps you monitor active processes on servers, create new web hosting resellers, new web hosting accounts, track CPU activity and many other functions. Now account creation, termination and suspending is easier and almost automated with additional systems like WHMCS.
WHMCS is an entirely different system that is installed on a single domain on a server. WHMCS besides from account creation and termination allows web hosting clients to open support tickets, register domain names, purchase and automatically create web hosting accounts, and manage their account in general. In WHMCS, you cannot create email address, subdomains and other cPanel functionality.
With web hosting, there are several products and services that go hand in hand. I've already mentioned website builders, Content Management Systems and domain names. But there are also SSL certificates, various analytics services, web shops and other products that are installed on millions of websites.
When you are managing a server that offers shared hosting, dedicated hosting or reseller hosting you need to pay attention to load averages (CPU usage), downtime (99.99%) email blacklisting, hacks, phishing attempts, virus injections, holes in various widgets installed on websites and other threats that come your way on a daily basis.
This is just scratching the surface, but it's a step in a right direction in understanding the overview of a small web hosting company.
You want to become a web host?
Just check out which all hosting services you want to provide
Research about Shared hosting, VPS hosting, Reseller hosting
check which all latest technologies can be used to create these services.
study how to setup and handle the activities.
web hosting is easy to create,
you need some requirement,
first is hardware requirement,
second is proper ISP bandwidth
you need more uploading speed again downloading speed,
because if request come out to your server service and all page or data send to client,
so require high uploading speed,
first thing is hardware requirement.
you need proper storage device,
with auto backup system,
do you need good ram capacity,
if your system is low speed all clients face slow speed,
in this case bandwidth not work,
Yara ISP provide 1gbps speed but your system process data only 200 MB to 300 MB so that all data useless

Azure configuration for a university student

Hopefully my question is in the right forum here. I've just checked out the pricing model of windows azure and checked out the different configuration options:
http://www.windowsazure.com/de-de/pricing/calculator/
I have been working as a developer for almost two years now and worked a lot with IIS and the WPF technology. As a little private project I checked out HTML 5 and JS with MVC4 Web API and wondered what azure configuration I'd need to host a MVC 4 Web API project. Would it be rather a virtual machine or a full calculator? What benefits grants one over another?
I am going to start my studies soon, so I'd like the cheapest I can possibly get. I won't use it a lot (mainly for testing reasons), as well I think there won't be too much traffic either. Would a virtual machine also include the possibility of using IIS?
Could I also run a MVC project with something else than VM/full calculator?
And what would happen if for some reason my traffic just explodes? Would my services just be shut down until I increase the power of my machine? Or would I just get a huge bill and be surprised quite a lot?
Use websites.
You can start with 10 Web Sites absolutely free! So this is the cheapest. And it certainly supports MVC4 Web API.
For starter you can get a 3 month trial with enough credits to start. By default you'll have a spending limit on your account. This mean if you start to get too much traffic your services will shut down and you won't have to pay any extra. I think you can configure how much you are willing to pay but I never tried, it is still the default which is 0$.
You should start with Shared Web Sites and move to reserved instance, VM or web role later if you ever need to scale up or out.

Explaining windows azure to layman or students

I am looking for simple analogies to explain windows azure, app fabric, etc to students or layman person. Please let me know if you have any suggestions.
Thanks
N
Well, first I would try and talk about how we used to build and maintain things. Buying our own hardware, building it, programming it, and connecting it to the internet. That's the old way. Then, I would pivot into what cloud service providers are. In a nutshell, they are just somebody else's servers. Usually Amazons, Microsoft's or Googles servers. AWS/Azure/GCP.
Here is a quick youtube video explaining it in layman's terms.
https://www.youtube.com/watch?v=1ERdeg8Sfv4
Cloud service providers offer web portal, a website, where folks can click and build services like storage, backup, DNS, database, more websites, load balancing, and - maybe the most popular - virtual machine hosting.
What makes CSPs so successful is economies of scale. CSPs will build huge data centers and engineer them to provide the kind of services that most businesses need. COntrast that to if every business were to build their own from scratch. There are however lots of challenges to these CSPs, like needing a lot more spare capacity and having to build something that fits everyone as opposed to something that fits a particular user. So, for a small business, whether they save money depends on their use case. You might save more building from scratch, but then you'd have to train and pay folks to maintain your own servers.
One of the most revolutionary benefits that cloud service providers brought into the market is that purchasing additional capacity is much easier and faster. You might have taken weeks to buy hardware and install it at your location. Or if you are renting though traditional suppliers you might take a few hours to let them manually reconfigure things. However they now make everything automatic so you can get a new server within seconds. This have allowed businesses to build their applications to allow them to scale on demand. This means that they pay different amount of money for the services depending on how much they use. This have the ability to reduce costs but it again require more time to develop and maintain the more complex applications.

hardware infrastructure for public web application

I'd like to start a free budget/personal finance site and will need plenty of horsepower and storage. I'm definitely a nubee, so how does one get started in terms of hardware infrastructure? Do I need to get a dedicated IP from my ISP and obtain my own servers? Do I go with amazon or Sql Server Data Services/Azure or something like that? Is the latter services free or a discount offering available to non-profit/free services such as the budget/personal finance site I'm looking to start?
If you don't mind writing your web application in python, then I's suggest using Google App Engine. See: What Is Google App Engine?
What I like to do when I have new ideas for a site is to find an inexpensive hosting solution ($10 per month). This allows me to test the idea and see if the site is going to be successful. If it is a flop, I haven't wasted much money and if it is successful I can upgrade to better hosting (dedicated server).
There are many hosting options available and several of them have great tools such as an online SQL Server management studio. Your other option would be to host it yourself if you are prepared to deal with firewall issues, backups, storage, etc.
Whether it is feasible to DIY varies a lot by country...if you have a decent broadband connection with a fixed IP this can be the cheapest route to play around with first, especially if you need an awful lot of storage.
Note however that many fast broadband connections are only fast for downloads - when you're running a server, the speed your users will see is the upload speed, which is usually a lot less. Also, you'll need to do your own admin and backup etc.
Apart from this most hosting options have a price tag on top, varying from virtual hosts (sharing a real machine), to colocation (your machine in somebody's data center), to cloud services like amazon et al (which have a good scaling ability)- and you will need to shop around for the software stack and hardware features you really need.
There's really two ways to answer this question, what differentiates them is budget.
One is to properly design this solution, prototype it, benchmark the prototype, extrapolate anticipated user load, add overhead and scale accordingly. This takes time, costs but gives you a supportable solution that serves your customers well.
The other is to just give something, anything a go and fix the problems as they come along. This is quicker and cheaper but might be a headache for a while and might p*** off your customers.
Basically it comes down to budget.
Best of luck.

Resources