Azure App Services - Host free PHP Website - php

Is it possible to host a free php website with azure? Theoretically the App Services should be free for ever, but as soon as I select Linux when creating a new Instance it doesn't show any free option in the Pricing plans. Although there is a blog article which says there are free plans: https://azure.microsoft.com/en-us/blog/azure-app-service-update-free-linux-tier-python-and-java-support-and-more/

Yes, as per this MS Doc of App Service Plan Limits provided by #holger, 1 Linux Free App Service plan is per region basis.
I have checked that for some of the regions, Free SKU Tiers are not available in Dedicated App service plan and observed:

Related

How to make 2 website communicate with each other hosted on different cloud server

I have one website with one database hosted on Alibaba cloud chinese platform, I want to make a clone of the same website, host it on Alibaba cloud international platform with another database, now my question is how can I make those 2 websites communicate with each other so that I can keep datas in both the databases synced.
I am aware that having 2 domains but hosting on one server will solve my problem, but that is not to be done.
The answer to your question is you cannot in the manner that you have asked it.
The problem is that you cannot reliably communicate with a server inside China from outside China without setting up a VPN. This is expensive and requires government approval. If you try to get around this you will find extremely slow transfer speeds and / or blocking of your communications.
1) To connect a server inside China to a server outside of China, you will need to setup a VPN.
2) You will need to register the VPN used to transport traffic from China to outside China.
3) Currently, VPNs are only allowed to transfer traffic back to a company's corporate office.
In summary you will need to treat servers inside China as completely separate from servers in the rest of the world. Unless you have the budget, ICP license and government approval, synchronization between servers or databases will not happen.
I assume you are using the LAMP Stack, If so then you can access the MySQL instance create a new database with the same data but changing fields like WP_HOME & WP_SITEURL and access it via a VPC in other instance on AlibabaCloud adding custom security rules. You can bind this database in the new website.
I never tried it but you have to look into config.php/wp_config.php to set these parameters.
Let me know if you need more information.

Deploy a laravel app to Azure

I have my application developed with Laravel 5.1 & MySQL. I don't know how to move it to Microsoft Azure.
Can anyone tell me how to deploy to Azure?
I am trying to figure out the costing too, but azure pricing calculator doesn't show MySQL & PHP in the list. Can anyone help with this too??
Thanks!!!
Generally speaking, you can leverage Azure Web Apps of Azure App Services to host your PHP applications. And the MySQL database service is provided by ClearDB on Azure. For dev or testing, they all provide free pricing tier.
Refer to https://azure.microsoft.com/en-in/marketplace/partners/cleardb/databases/ for pricing plans of ClearDB on Azure.
Refer to https://azure.microsoft.com/en-in/pricing/details/app-service/ for App Service Pricing.
And you can refer to https://azure.microsoft.com/en-us/documentation/articles/app-service-web-php-get-started/#create-a-php-laravel-app-on-your-dev-machine for steps of how to build and deploy a laravel application to Azure Web Apps.
Any further concern, please feel free to let me know.

Azure Cloud Service Scaling - do I have to configure a Load Balancer?

I'm a little bit confused by how scaling in Azure works. I'm using a Cloud Service and have 2 web roles running a PHP application. I can RDP on both machines and both applications run great on each machine. Also I don't have any problems calling the staging URL.
But I can't figure out if I configure scaling so that 2 machines run always, if I have to configure a load balancer somehow. Or is this already done for me?
In Azure VM's I had to create a load-balanced set endpoint for an endpoint, but what about cloud services? (Load balance virtual machines)
And how is this done in the XML configuration file for my service? What if I don't do it?
The question has been answered in the MSDN Forums:
Windows Azure supports load balance for cloud services and standard websites, we just need to set instance count to more than 1 to enable load balance. For virtual machines, it needs to set up manually.
Answer at MSDN

Hosting the android mobile app in cloud server

I have developed an android app with the back end server in php using phpadmin.Now i want to export tables and the scripts to the server. I have following questions
Should i choose a cloud server like amazon ec2 or rack space or host ? I hosted a website previously , would it be the same way ?
I am using google api,GCM in my app, would they work without any issues ?
Please help in clarifying my questions
Im developing an app in html5 for android and ios and im going to host it in cloud, probably with amazon.
With cloud you will pay what you really use. With traditional hosting you pay a fixed amount a year/month regardless your app is being used or not.
Cloud is dynamic, so if suddenly your app becomes populuar your app will still work fine because the cloud provider will give more resources.
Ill try amazon because its free under a certain amount of resources demand.
For the second question i think there are no problems with these apis.
Android apps like
Connectbot
Overlook Whiz
Magic Color Picker skyvi
Ping & DNS is a DNS and WHOIS lookup tool that displays network diagnostics, pings servers, DNS lookup and reverse lookup, WHOIS queries, inspects HTTP response headers, traces routes, and checks whether a port is open. All of this is provided with no advertisements in sight!

Scaling: How to migrate a php app from one dedicated server to the cloud?

we're an experienced web dev team. we've built an invoicing app for a specific market. Developed with PHP/cakePHP. mySQL, python cronjobs and nodejs backend for notifications.
the app has upload and filestorage as well.
Currently we are deploying it to a dedicated server with each client having a sub domain clientName.appdomain.com with one base code and a separate mysql database for each client.
We are private beta testing the app with 100 clients.
We plan to hit 10 000 clients max ( as this is a very specific market ) and so we're looking for scalability and performance
The thing is we have no clue on how to scale, we read about clouds, amazon aws, appengine Heroku and so on it's so confusing.
We'd like to understand all the hype that is surrounding the cloud and we'd like to hear from teams that went to scale from one dedicated server to a cloud.
Is it seamless, Should we change the base code to accomodate to the cloud ? How to ? strategies ?

Categories