How to migrate server group mule applications to cluster in mule 4? - mule4

We have domain applications deployed on Runtime Manager with 2 dev servers in a server group in Develop Environment and have one QA server in Test Environment.
Now, we are planning to migrate these QA server and DEV-Server group to Cluster in their respective environments.
I would like to know the procedure for migration of servers to cluster and its pros and cons.
TIA

You can't migrate applications, either between servers, clusters or any combination. You'll need to recreate the applications in the deployment target.

Related

Can we deploy domain projects into Server groups or server clusters?

I have a domain project and I am trying to deploy application in both server group and cluster. Is this possible for domain projects? Please let me know.
I am able to deploy on-premises applications to server group and server cluster.
TIA
If you want to deploy through Anypoint Runtime Manager then the answer is no, because it doesn't support deploying Mule domain projects.

Azure Web Sites - multiple versioned deployments

We have multiple clients and we use Azure web sites to host our web application. When we upgrade a client to a newer version of our software we have to upgrade all of our clients to the latest version.
We would like to be able to upgrade a subset of clients when we release a new version. This would give us the ability to test that the new solution is working properly before we bring all of our clients to the new version. We would like to offer a beta version option to selected clients so that they can access new features of our software and are aware that the version they are using is still in a 'beta' mode.
When we deploy a new version we would like to create a web site just for this new version whilst leaving the other clients on the more stable previous version. To do this we are thinking of writing a reverse proxy that directs traffic to the different versioned web sites depending on the client.
Can we host multiple versions of the web site using the same Azure web site. (IIS directories) The documentation I have read relating to this does not mention being able to build multiple versions of the web site based on different code bases.
Is there a way to set up the build so that each new version is deployed to a directory on the Azure same web site so we can effectively host multiple versions of our app under the same azure web site?
We could do every versioned build to a new Azure web site but this could get quite expensive as we run two instances so as to maintain a good SLA. It is feasible that we could end up with ten versions in the wild at once, running 20 Azure web sites to support these versions could get expensive. How can we save on costs and give our clients a good experience?
You can have up to 5 deployment slots including production on azure web apps. Each slot can use a different branch of your source control system like git or tfs. If you use any of these two, deploy is also automatic (continuous deployment) and you can swap slots any time very fast with minimium to none downtime. Each slot has it's own url for external access.
To save costs, you can run multiple web apps on the same hosting plan. There's no limit for the number of web apps running on the same hosting plan. For each hosting plan it's possible to have 10 small/medium/large instances.
Set up staging environments for web apps in Azure App Service
https://azure.microsoft.com/en-us/documentation/articles/web-sites-staged-publishing/
Azure App Service plans in-depth overview
https://azure.microsoft.com/en-us/documentation/articles/azure-web-sites-web-hosting-plans-in-depth-overview/
Yes this is possible. In management portal, You need to configure the details for the IIS virtual directory or application in the website’s configuration.
Ref - http://blogs.msdn.com/b/tomholl/archive/2014/09/22/deploying-multiple-virtual-directories-to-a-single-azure-website.aspx

Continuous delivery to Azure using Visual Studio Online with Azure Virtual Machines

I need Continuous delivery to Azure virtual machines(not cloud service or websites) using Visual Studio Online
Here is the link for Continuous delivery - http://azure.microsoft.com/en-us/documentation/articles/cloud-services-continuous-delivery-use-vso/
Is this possible with Azure Virtual Machines?
My another question is which one is best Azure Virtual Machines, Cloud services or Websites? My application is big business application which is built in asp.net 4.5 and SQL server 2012 so I wanted to
know which one is best with the "Continuous delivery"
The continuous delivery you are talking about can be achieved in an Infrastructure as a service(IAAS , Virtual machines) scenario as well as in Platform as a Service ( PAAS ,Azure websites) scenario.
1. In case you want to have control on the platform, runtime , roles etc. and you decided to go he IAAS route your CI/CD setup will be no different from a on-premises machine deployed , the deployment destination changes to an Azure VM instead of local machine.
2.If you decided to offload the OS/runtime/Environment management to Azure and are only taking care of your application deployment , azure still supports CI/CD using the KUDU engine. And slots( Dev/Staging) could be configured for continuous deployment. You can setup continuous deployment or you may want to deploy your app in a staging slot for validation and promote to PROD when things look good.
CI/CD in Azure VM - https://azure.microsoft.com/en-us/solutions/architecture/cicd-for-azure-vms/
CI/CD for Azure Websites - https://azure.microsoft.com/en-us/solutions/architecture/vsts-continuous-integration-and-continuous-deployment-for-azure-web-apps/

Can a .NET web application be host on dedicated linux server with static IP and run this web app as a web site?

I am working on a project which is a web based in which it has three different modules. For this whole project I am using a dedicated server with static IP which is a linux server with MySQL as a database.
Now my query is, in my project I am using a web and desktop application which connects to my server. Now my web application is integrated with my company website which is done in .NET
Is it possible to host my website in my dedicated server which is a linux version?
Could some one tell me which is the best way to run my whole project in a better way.
Thank you.
You can access a remote MySQL server instance from your .NET application, you need to ensure that any network routing and firewall rules let you through. You must ensure that the application server can reach the MySQL server on the 'listening' port (probably 3306).
Ideally you will have both the database server and application server in close proximity and on the same local network, otherwise there is no problem in this hosting architecture at all. Web applications and databases often require different tuning optimisations and for redundancy purposes it is also good practice to separate them out. Of course, you only have redundancy if you have more than one application server and more than one database server.

IIS, EC2, Web Farm, Web Deploy and ELB

I'm a developer now developing my startup. I really don't know much about IIS setup. I will host my startup on Amazon EC2. And I want to know how can I scale my application if my traffic increase. I been reading about MS Deploy and Web Farm Framework here: https://serverfault.com/questions/127409/iis-configuration-synchronization-for-web-server-farm . And I want a simple architecture, with not to much configuration. So I been looking an experience with an IIS web farm and Amazon ELBs. And I did not find any one.
So the question is:
It is possible to make a IIS web farm with Amazon ELBs?
Any experience on Ec2? IIS web deploy or WFF and/or without ELBs?
What you recommend for an easy web farm setup?
You can do almost anything you want with IIS on EC2. They are full servers (well window 2k8 datacenter edition) and you can open any ports you need to communicate between servers. Here is an explicit tutorial on how to set up WFF, for example, on EC2.
The question is, are you sure you need to build a web farm? If you simply want to have multiple servers running your code then you can accomplish this without anything more than IIS and the tools that EC2 provides.
You build your app so it uses shared resources (like a session state server, central location for storing user uploaded content), configure a server the way you like it, and capture a server image (AMI). You use this image when you configure AutoScaling to launch new instances based on server metrics (like CPU usage), and they would be automatically added to the load balancer when launched.
The last challenge is ensuring servers launched automatically are running your latest code. You can write a custom program to get the latest code from somewhere (like SVN) on server startup, or you can use something much simpler like Dropbox to handle the synchronization.

Resources