webhosting on cloud Azure/Aws - mysql

Hi guys need your help for web hosting my website on cloud (Azure/Aws). I have a wordpress website with 100 users/day,mysql database max size 100GB. I am Planing to use Iaas but I am open to Pass also.

Azure offers several ways to host web sites: Azure App Service, Virtual Machines, Service Fabric, and Cloud Services.
Azure App Service is the best choice for most web apps. Deployment and management are integrated into the platform, sites can scale quickly to handle high traffic loads, and the built-in load balancing and traffic manager provide high availability.
There are 3 steps to migrating a WordPress website to Azure App Service Web Apps.
1. Copy WordPress files
2. Migrate the MySQL Database
3. Configure WordPress
The Azure App Service Migration site and the tool can be utilized to migrate sites from Windows and Linux web servers to Azure App Service. As part of the migration the tool will create Web Apps and databases on Azure if needs be, publish content and publish your database.
Reference: Azure App Service, Virtual Machines, Service Fabric, and Cloud Services comparison

Related

Setting up MySQL to provide API for a mobile app

I want to set up a MySQL instance to be accessible to a mobile app as a REST based API.
How do I make that API available on the internet?
One scenario I am considering is to install MySQL on a Linux instance within MS Azure and then I would generate the APIs using a tool like Dreamfactory.
Would that work or would I need to install the MySQL DB on an Apache web server to make the API available?
Additionally - do I need to be on a domain to do this? So I will have to pay for a domain and hosting too?

How to deploy laravel 8 web app to google cloud with mysql database?

I have a laravel application in local. I want to deploy this web app to google cloud. domain settings and I don't know what to do. I also have mysql database. An application that users can use in the internet environment where they can log in. what should i do?
To run Laravel on Google App Engine standard environment.
You should check https://cloud.google.com/community/tutorials/run-laravel-on-appengine-standard

Azure VM Web Access

I am constructing a scaling ETL process and am considering using small Azure VMs to do this, but can't tell from reading the documentation if these VMs have web access.
Example: one ETL process reads a web API and imports data into MySQL and another reads from an email account and imports the data.
Is Azure compatible with reading web APIs/email APIs inside these VMs - both for Linux and Windows?
VMs in azure have internet access, so grabbing data from external api is possible

Database on Cloud

BACKGROUND-
I am planning to make a website that will accept data from users to store them in a database(MySQL).The website would be served from google cloud servers.I have installed MAMP on my mac for web development.
PROBLEM-
Google cloud services also provide Cloud SQL.Now I have a few doubts-
1)Once I finish designing my website on MAMP and want to deploy it on cloud servers I would have database settings of my local machine.Does this mean that before putting it on cloud and in order to use Cloud SQL as database I would have to change code on back-end side that specifies database settings?If yes then how tedious is it to do so?(Changing database from testing environment from MySQL to deployment environment Cloud SQL).
2)Also is there a way to use cloud and not use Cloud SQL?
3)What else combination can be chosen with database to deploy website on cloud?
Usually changing the database needs huge efforts(testing and some config changes) as all the databases provide many additional features which doesn't work directly on another database.
You can use Cloud(Cloud SQL is just part of it).
But the Cloud SQL is mysql only as per the information given on the below link by google
https://cloud.google.com/products/
So, it should not be a big deal for you to migrate the project to cloud from your local system. Only you have to configure the connection details(it will not be simply localhost).

How to upload existing asp.net site to Windows Azure?

trying to migrate my existing asp.net website which is using mysql to Windows Azure.
I have a few questions
How do i host my existing asp.net application in Windows Azure?
Any good links to recommend for a beginner?
Is it a must to create a windows azure application in order to host my existing website in Azure?
Is it true that mysql will cost $0.12 an hour per web role?
Hosting asp.net applications in Windows Azure is a broad subject. I suggest starting with a tutorial such as this one for initial intro: http://www.asp.net/mvc/tutorials/deployment-to-windows-azure/walkthrough-hosting-an-aspnet-mvc-application-on-windows-azure
Simplest would be to add your existing ASP.NET project as a Web Role to a new Azure project. (Tutorial link above explains how this can be done)
MySQL is not supported in Windows Azure at this time. I suggest either switching to SQL Azure (prices here) or you will need to host MySQL instance elsewhere and connect to it from Azure servers (not recommended due to latency). Installing MySQL on a Windows Azure instances is totally not recommended, since those instances are stateless and Azure can choose to re-image them at any time. (Unless you have a read-only MySQL database and have a way to auto-install it via a setup script)
HTH
One thing to keep in mind, ASP.NET Sites are not supported, it has to be an application. You can see this link for how to convert to an application if needed:
http://msdn.microsoft.com/en-us/library/aa983476.aspx