Developing Minimal Server with Features on Demand (4 of 4) – Sample scenario

In this final installment of Features On Demand for Windows Server 2012 R2 series, I walked through a simple scenario on how to develop a minimal server footprint by removing the payloads of all unwanted roles and features from a target configuration.

image

Build Your Lab! Download  Windows Server 2012 R2System Center 2012 R2 and  Hyper-V Server 2012 R2 and get the best virtualization platform and private cloud management solution on the market. Try it FREE now!

Don’t Have a Lab? Build Your Lab in the Cloud with Windows Azure Virtual Machines. Try Windows Azure for free with no cost or obligations, and use any OS, language, database or tool. FREE Download

Websites & Blogs:

Videos:

Develop minimal server footprint with Features on Demand (3 of 4) – Server Manager PowerShell Cmdlets

In Part 3 of his series focused on Features On Demand for Windows Server 2012 R2, I demonstrated how to use Server Manager PowerShell Cmdlets for adding/removing roles and features of a server installation.

image

Build Your Lab! Download  Windows Server 2012 R2,  System Center 2012 R2 and  Hyper-V Server 2012 R2 and get the best virtualization platform and private cloud management solution on the market. Try it FREE now!

Don’t Have a Lab? Build Your Lab in the Cloud with Windows Azure Virtual Machines. Try Windows Azure for free with no cost or obligations, and use any OS, language, database or tool. FREE Download

Websites & Blogs:

Videos:

Azure RemoteApp, An Introduction of

What It Is

clip_image002This is a combination of Remote Desktop and highly scalable Windows server-based applications hosted in Microsoft Azure. Company published applications are centrally managed and protected in Microsoft Azure. At the same time, employees can access authorized corporate applications from anywhere as if the applications are running locally on devices of their choices including Windows, Mac OS X, iOS, and Android.

To try Azure RemoteApp, first acquire a Microsoft Azure subscription from http://aka.ms/R2 by selecting Windows Server 2012 R2 Datacenter on Microsoft Azure from the dropdown list to kick off a registration process.

Why

Today’s dynamic business environment and increasing user expectations demand always-on connectivity and accessibility to LOB applications with an individual’s preferred devices. The trend of BYOD signifies the business needs and personal work styles to be productive anytime anywhere with any device. clip_image004Azure RemoteApp eliminates the physical aspects of an application infrastructure and converts a global application deployment into logical processes and operations carried out remotely on a proven and secure platform. It embraces the industry’s BYOD initiative and realizes two key attributes, self-servicing and ubiquitous access, of cloud computing. With Azure RemoteApp, IT can scale and maintain applications very productively, and respond timely and even proactively to dynamic business needs without large capital requirements, without compromising security, without lowering user expectations.

Azure RemoteApp enables IT to centrally manage corporate applications and reduces the complexity and administrative overhead in deployment scenarios including:

  • Branch offices with limited local IT support and limited network bandwidth.
  • Secure remote access of LOB applications with minimal capital requirements
  • Standard applications to computer kiosk or shared computers
  • On demand enabling and disabling accessibility to applications

Deployment Models

With Azure RemoteApp, a company has an opportunity to pursue a hybrid application deployment solution by integrating on-premises infrastructure and Remote Desktop Session Hosts. Or deploy Azure RemoteApp using pre-built application collections for a stand-alone cloud service, essentially Microsoft Azure hosts and stores all data for programs in cloud. There are also options for IT to authenticate a user with existing corporate credentials or a Microsoft Account. Azure RemoteApp presents a strategic, high-speed, and reliable vehicle for IT to transition on-premises application deployment into a corporate SaaS model in Microsoft Azure.

How

Azure RemoteApp applications are neither sent to, nor stored on employee devices. Employees download and install Microsoft Remote Desktop clients on their Internet-connected devices like clip_image006laptop, tablet, and phone to access applications via Microsoft Remote Desktop Protocol as if those applications were installing and running locally. The applications are centrally managed on Microsoft Azure, the same platform trusted and used by governments, financial services companies, and other large organizations dealing with sensitive information.

Instead of being presented to the user in the desktop of the Remote Desktop Session Host (RD Session Host) server, the RemoteApp program is integrated with the client’s desktop. A RemoteApp program runs in its own resizable window, can be dragged between multiple monitors, and has its own entry in the taskbar. If a user is running more than one RemoteApp program on the same RD Session Host server, the RemoteApp program will share the same Remote Desktop Services session.

Experience It Now

One thing about cloud computing is that all deliveries must be right there and then. Instant gratification is essential in everything we do in cloud. And it is the same with assessing a new service like Azure RemoteApp. Go to this DYI Public Demos, experience it now, and realize that application deployment is never the same.

develop minimal server footprint with Features on Demand (2 of 4) – DISM PowerShell Cmdlets

In Part 2 of the series focused on Features On Demand for Windows Server 2012 R2, Yung Chou dives into DISM PowerShell Cmdlets to work on daily system administration tasks for our Features on Demand.

fod2

Build Your Lab! Download  Windows Server 2012 R2System Center 2012 R2 and  Hyper-V Server 2012 R2 and get the best virtualization platform and private cloud management solution on the market. Try it FREE now!

Don’t Have a Lab? Build Your Lab in the Cloud with Windows Azure Virtual Machines. Try Windows Azure for free with no cost or obligations, and use any OS, language, database or tool. FREE Download

Websites & Blogs:

Videos:

develop minimal server footprint with Features on Demand (1 of 4) – DISM Command Line Tool

Kicking off a new 4 part series focused on Features On Demand for Windows Server 2012 R2Yung Chou, introduces us to the benefits of having a minimal server footprint from not only a total cost of ownership perspective but also from the standpoint of having increased flexibility in your server roles. In Part 1 show how  to enable Features On Demand through the Deployment Image Servicing and Management (DISM) Command Line Tool.

fod1

Build Your Lab! Download  Windows Server 2012 R2System Center 2012 R2 and  Hyper-V Server 2012 R2 and get the best virtualization platform and private cloud management solution on the market. Try it FREE now!

Don’t Have a Lab? Build Your Lab in the Cloud with Windows Azure Virtual Machines. Try Windows Azure for free with no cost or obligations, and use any OS, language, database or tool. FREE Download

Websites & Blogs:

Videos:

Devops, automation, and cloud computing

Convention wisdom refers DevOps as a strategy, an approach, or a movement as some call it. DevOps addresses the idea that Development and Operations need to be aligned well in an application lifecycle, work closely and collaboratively to eliminate inefficiency, reduce bottlenecks, and maximize productivity. The concept is certainly not new, for decades business processes and operations based on software engineering concepts or lifecycle management methodologies are all trying to minimize inefficiency and maximize productivity. So what is different now.

DevOps in Cloud Computing

In cloud computing, infrastructure construction, run-time configuration, and application deployment are now delivered on demand, i.e. as a service, hence IaaS, PaaS, and SaaS. (1, 2) Form an operation’s point of view, cloud computing eliminates most, if not all, physical aspects of Dev and Ops. The physical establishments of Dev and Ops including servers, networks, and storage are now a lesser concern on application administration, maintenance, and costs since applications are based and operated upon logical artifacts like virtual machines, virtual networks, and virtual storage. From a user’s point of view, infrastructure support, run-time operations, and application maintenance are now all logical models where Dev and Ops can operate on a common, i.e. identical platform with standardized services from a cloud provider. This setting offers many opportunities to promote and to practice DevOps. With cloud computing, the integration of Dev and Ops becomes lucid and an achievable proposal both financially and administratively. DevOps is also an opportunity to further increase productivity, hence the ROI, of adopting cloud. I believe the inevitability to integrate Dev and Ops is quickly becoming apparent as IT continues to adopt cloud as a service delivery platform.

DevOps and Automation

Why to automate anything should be obvious. In addition to efficiency, there are also considerations on consistency, repeatability, and predictability to programmatically carry out tasks. Considering Dev and Ops, automation is an effective vehicle to minimal user interventions from both Dev and Ops for establishing application infrastructure, configuring run-time, and deploying a target application. This automation provides consistency and predictability of application deployment with transparency to both Dev and Ops. The theme is that DevOps calls for automation and automation sets DevOps in motion.

DevOps and Tools

Here, I highlight a few tools which can cultivate DevOps. Azure PowerShell Cmdlets and Cross-Platform Command Line Interface are for installing on individual devices, and with which each of us can take a DevOps approach and automate as much as applicable on our deliveries. Parallel processes, plan operations based on a logical unit of work, separate business logic from data, etc. and make automation a common work style.

Azure Automation is a Microsoft’s solution for IT automation. For those have not had a chance to work on Microsoft System Center Orchestrator, this may possibly present a learn curve to some. Orchestrator as the name suggests is a powerful component in System Center to for automating and orchestrating a data center. You can consider it as a turbo DevOps engine leaning towards the Ops side.

Visual Studio Lab Management on the other side is the ultimate DevOps operating environment facilitating entire application lifecycle management. Form departments, business units, organizations, to an entire enterprise, Visual Studio Lab Management can be scoped accordingly.

Azure PowerShell Cmdlets

This is the tool to manage Microsoft Azure with Windows PowerShell. For those who are new to PowerShell, relevant information is readily available in TechNet Library. To learn and assess Microsoft Azure cmdlets, one needs first acquiring a trial subscription, followed by downloading and installing Microsoft Azure PowerShell. Then, one must first configure a secure connection between an intended subscription and the Windows PowerShell environment in a local device. Instructions to Install and configure Windows Azure PowerShell are well documented.

Desired State Configuration (DSC)

This is an extension of Windows PowerShell in Windows Server 2012 R2 and Windows 8.1. Notice as of May, 2014, both Windows 7 and windows 8.1 are also available for MSDN subscribers to deploy in Microsoft Azure.  DSC provides a set of PowerShell cmdlets and resources enables to declaratively specify how to configure, manage and maintain configuration data for services and managing the environment in which these services run including:

  • managing server roles and features, registry settings, processes, files and directories, local groups and user accounts, environment variables, etc.
  • installing .msi and .exe packages
  • discover current state on a given node and validate its configuration

DSC is a vehicle to realize automation for predictability. Additional information of DSC is available elsewhere.

Azure Cross-Platform Command Line Interface (Xplat-CLI)

The xplat-cli is for managing resources like web sites, virtual machines, mobile services, SQL Database and other services provided by the Azure platform. It is written in JavaScript and requires Node.js. There are two installer packages available: Windows and OS X, with detailed installation instructions. The source code is also available for download from GitHub.

Cross-Platform Automation in Azure with Puppet and Chef

Both Puppet and Chet offers technologies to automate deployments, configurations, and management of VMs across platforms. Microsoft Azure VM has both as configuration extensions as shown below. Microsoft Azure VM Image Gallery also includes a pre-configured Puppet Master based on Ubuntu Linux distribution. These additions offers vehicles to integrate with developed DevOps communities and practices, facilitate hybrid cloud adoption with automated deployment across platforms, and realize operating on Microsoft Azure is essentially a continual DevOps practice.

image image

Azure Automation

This is an IT automation solution for Microsoft Azure by employing the concept of a runbook as employed in System Center Orchestrator. A runbook comprises activities which are the steps, i.e. instructions for an automated process, operations, and tasks. A runbook in Microsoft Azure is a Windows PowerShell workflow to automating the management and deployment of resources. Above all, an Azure runbook can automate essentially what a Microsoft Azure PowerShell and Windows PowerShell script can perform.

To configure Azure Automation, one must first create an automation account which is a container for managing automation resources including runbooks, jobs, and assets. Each automation account is associated with an Azure subscription, and a subscription can have multiple automation accounts.

This feature is being previewed in Microsoft Azure at this time.

Visual Studio Lab Management

Managing development, test, staging, user acceptance tests, demo environment, etc. are key part of application life cycle management. Visual Studio Lab Manager, a feature of Team Foundation Server (TFS), facilitates the management of existing and simplifies the process of provisioning of new environments for all team members. It can automate the routines of building, deploying, running tests on, and removing a lab environment. Here a lab environment is a collection of virtual and physical machines for developing and testing applications. A target lab environment, for instance, can now be automatically provisioned using templates with consistency and predictability, and as needed reverted to a specific point of time with snapshots. Visual Studio Lab Manager is raising application lifecycle management to a new standard.

Closing Thoughts

For developers, cloud computing has rejuvenated DevOps with a higher intensity and a bigger ambition. The integration and collaboration of Dev and Ops, from users’ point of view are now pertinent most at a logical level and above fabric, i.e. the virtualization layer. DevOps is no longer just a right idea, but now an approachable proposition with cloud computing both administratively and financially. Application lifecycle management environment like Visual Studio takes full advantages of System Center and Hyper-V and integrates Dev with Ops (System Center and Hyper-V) at an enterprise architecture level and with methodologies. The result of practicing DevOps will be timely, impactful, and rewarding.

For IT professionals, DevOps signifies a call to action for data center automation with a comprehensive system management solution. DevOps is much more than just automation, nevertheless towards DevOps automation is an essential step. Above all, I view DevOps as an exciting prospect with a strategic roadmap for IT professionals like you and me to continue growing professionally, and explore career opportunities with DevOps or data center automation discipline in this cloud computing era.

Deploying windows 7 and windows 8.1 enterprise clients to Microsoft azure available for msdn subscribers

As announced at TechEd 2014 North America, deploying Windows 7 and Windows 8.1 Enterprise clients to Microsoft Azure is now available for MSDN subscribers. The following is a typical user experience.

Log into Microsoft Azure Management Portal with a MSDN subscription account, click VIRTUAL MACHINE workspace, then click NEW to start the process of deploying a VM interactively.

image

Click either QUICK CREATE or FROM GALLERY. With QUICK CREATE, pick the dropdown of IMAGE and click “more images” to bring up the image gallery.

image

Or FROM GALLERY, bring up the image gallery directly.
image

From the image gallery, scroll down to select an intended Windows 7 or Windows 8.1 client and proceed with the deployment process as shown below.

image

image

image

Notice now there are VM AGENT, CONFIGURATION EXTENSIONS, and SECURITY EXTENSIONS available. Here Microsoft Antimalware is to be included in the VM deployment.

image

Once deployed, we can now capture image while a VM is still running as opposed to previously a VM must be first syspreped. Here, simply click CAPTURE while highlighting the running VM to create an image.

image

Once captured,the image of a VM is placed under IMAGES tab as shown, here while the VM is still running.

image

Remotely connecting to a VM is much the same as before. Click CONNECT from the bottom black menu bar, while highlighting the VM on the instance page. After providing the admin credentials and accepting the certificate for establishing secure commination, RDP brings a user directly into desktop. Here notice Task Manager reveals that the antimalware is running as configured.

image

And the Start screen shows a standard Windows 8.1 layout with a power button placed next to user icon on upper right corner.

image

This is a Windows 8.1 Enterprise client on demand deployed in minutes in Microsoft Azure.