Windows 2012 Hosting - MVC 6 and SQL 2014 BLOG

Tutorial and Articles about Windows Hosting, SQL Hosting, MVC Hosting, and Silverlight Hosting

Windows Hosting - ASPHostPortal.com :: Easy Steps to Add Docker containers on Windows Server 2016

clock December 5, 2016 08:47 by author Dan

According to Techgenix website. Docker containers, which were already taking the market by storm, received a big boost in September when the company announced a commercial partnership with Microsoft. The deal, which extends the Docker engine to Windows Server, is expected to double the size of the already fast-growing container market.

Understanding containers

If you’re reading this, chances are you already understand what Docker containers are. If so, feel free to skip ahead to see what this means for you and how to run the containers in Windows. But for Docker newbies, here’s some background information.

Docker launched just three years ago in 2013, but it has already become immensely popular. One of the reasons containers got such widespread support so immediately was because a company is able to put many more applications into a physical server with containers rather than with virtual machines (VMs).

Essentially, this is because VMs use much more system resources, such as RAM and CPU cycles. While a container essentially only needs a compatible operating system and supporting programs, libraries, and resources, a VM needs much more.

Virtual machines must virtually replicate the system hardware to run. But because containers use shared operating systems instead of virtualizing hardware, you can put many more applications on one server using containers.

Not only this, but containers also create an operating system that is consistent among machines and can be used for development, testing, and deployment.

Of course, this isn’t to say that they are better than virtual machines. They are simply for different purposes. When using Docker, every container has to use the same operating system and kernel. Simplified, containers are for you if you need multiple copies of the same application.

There are a few reasons why Docker skyrocketed quickly and has steadily remained one of the top container companies. Docker changed the way containers were deployed, making it safer and easier.

With Docker, it’s possible to create different environments like that of a live server for development purposes and allow those on different computers to work on the same project, without needing to change the settings or spend hours setting up the environment yourself.

Docker notes that “On average, Docker users ship 7X more software after deploying Docker in their environment.” Also, with Docker, it’s easy to “identify issues, isolate the problem container, quickly roll back to make the necessary changes, and then push the updated container into production. Isolation between containers makes these changes less disruptive than in traditional software models.”

Docker containers in Windows Server 2016

Now that you’ve got a good grasp of what Docker containers are (or you already knew), let’s see what that means for Windows users.

Before this, Docker containers were exclusive only to Linux. With this new partnership, though, they will be functional on the upcoming Windows servers. And what could be better than being able to run Docker containers on your Windows computer? Running it for free!

After two years of joint engineering, this commercial partnership entails a few specific things. First, the Commercially Supported Docker Engine, or “CS Docker Engine,” will be available to Windows Server 2016 customers for no additional cost.

Resolving some users’ issues with Docker support, Microsoft will provide Windows Server 2016 customers enterprise support for CS Docker Engine, backed by Docker Inc.

Additionally, Docker and Microsoft will jointly assist in providing more security by promoting Docker Datacenter. This will help “IT Pros to secure the Windows Server software supply chain and manage containerized Windows Server workloads, whether on-prem, in the cloud, or hybrid,” Docker says.

The partnership also includes the integration of Visual Studio Tools for Docker and Docker for Windows. This gives developers complete desktop development environments for building Dockerized Windows apps.

Microsoft has also contributed Windows Server container-base images and apps to Docker Hub to jumpstart app development, according to Docker’s site. And, for IT pros, Docker Datacenter has made it possible to manage Windows Server environments in addition to the Linux environments it already manages.

The Docker platform “represents a single set of tools, APIs and image formats for managing both Linux and Windows apps.” As Docker’s Michael Friis puts it, “As Linux and Windows apps and servers are dockerized, developers and IT-pros can bridge the operating system divide with shared Docker terminology and interfaces for managing and evolving complex microservices deployments both on-prem and in the cloud.”
How to use the new Docker containers on Windows

There are a few things to understand about how to run the containers on Windows. The command “docker run” is available natively on Docker for Windows, and the terminology hasn’t changed much between the operating systems. Also, like different security profiles can be run on Linux, this is also true of Windows.

There are two isolation modes available, according to Docker’s website:

  • “Windows Server Containers use the same shared-kernel process-isolation paradigm known from Linux. Since containers run as normal (but isolated) processes, startup is fast and resource overhead is minimal.”
  • “With Hyper-V isolation, container processes run inside a very minimal hypervisor created during container start. This yields potentially better isolation at the cost of slower startup and some resource overhead.”

So, a Windows container image can be run using either of these isolation modes, as long as the underlying host supports the requested isolation mode. Additionally, both of these hosts are able to be run at the same time, and the Docker control API is the same for both modes.

Generally, developers won’t have to worry about this and can simply use the typical “docker run” command, not needing the extra “docker run –isolation=hyperv microsoft/nanoserver”. Isolation mode is useful for IT pros, though, to decide how to deploy containerized apps in production.

Docker clarifies that “while Hyper-V is the runtime technology powering hyper-v isolation, hyper-v isolated containers are not Hyper-V VMs and cannot be managed with classic Hyper-V tools.”

Best Windows Server 2016 Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server 2016. We offers Windows hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Windows server 2016 Hosting, we should be your best choice.



Windows Hosting - ASPHostPortal.com :: Simple Steps To Set Windows Server 2016 With Static IP Address

clock November 28, 2016 10:05 by author Dan

According to ittutorials website, If you are setting up Windows Server 2016 as a domain controller or as any other production server function in your network it is recommended that you set it up with a static IP address. This is a quick how to guide on how to do that.

Note: you need an administrator account on the server to set your Windows 2016 server with a static IP address

Login to your Windows 2016 server, and click on the Start button, and then click on the Control Panel:

Then click on View network status and tasks under the Network and Internet applet:

Then click on Change adapter settings on the left menu:

then right-click on your network connection, and select Properties:

Select Internet Protocol Version 4 (TCP/IPv4) and then click on Properties:

Enter the IP address you want to assigned to this server, the Network Mask, Default Gateway, and the DNS IP address:

Click  OK and then reboot the server.

Best Windows Server 2016 Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server 2016. We offers Windows hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Windows server 2016 Hosting, we should be your best choice.



Windows Server 2016 Hosting - ASPHostPortal.com :: Installing SFTP/SSH Server on Windows using OpenSSH

clock November 21, 2016 10:35 by author Dan

According to winscpdotnet website, Recently, Microsoft has released an early version of OpenSSH for Windows. You can use the package to set up an SFTP/SSH server on Windows.

Installing SFTP/SSH Server

  • Download the latest OpenSSH for Windows binaries (package OpenSSH-Win32.zip)
  • Extract the package to a convenient location (we will use C:\openssh in this guide)
  • As the Administrator, install SSHD and ssh-agent services:
  • powershell.exe -ExecutionPolicy Bypass -File install-sshd.ps1
  • Generate server keys by running the following commands from the C:\openssh:

    .\ssh-keygen.exe -A

  • Open a port for the SSH server in Windows Firewall:
    • Either run the following PowerShell command (Windows 8 and 2012 or newer only), as the Administrator:
      New-NetFirewallRule -Protocol TCP -LocalPort 22 -Direction Inbound -Action Allow -DisplayName SSH
  •  
    • or go to Control Panel > System and Security > Windows Firewall > Advanced Settings > Inbound Rules and add a new rule for port 22.
  • To allow a public key authentication, as an Administrator, from C:\openssh, run:

powershell.exe -ExecutionPolicy Bypass -File install-sshlsa.ps1
and restart the machine

  • In C:\openssh\sshd_config locate a Subsystem sftp directive and change the path to sftp-server to its Windows location:
  • Subsystem sftp C:\openssh\sftp-server.exe
  • Start the service and/or configure automatic start:
    • Go to Control Panel > System and Security > Administrative Tools and open Services. Locate SSHD service.
    • If you want the server to start automatically when your machine is started: Go to Action > Properties. In the Properties dialog, change Startup type to Automatic and confirm.
    • Start the SSHD service by clicking the Start the service.

These instructions are partially based on the official deployment instructions.

Setting up SSH public key authentication

Follow a generic guide for Setting up SSH public key authentication in *nix OpenSSH server, with following differences:

  • Create the .ssh folder (for the authorized_keys file) in your Windows account profile folder (typically in C:\Users\username\.ssh).
  • Do not change permissions for the .ssh and the authorized_keys.

Connecting to the server

Before the first connection, find out fingerprint of the server’s RSA key by running ssh-keygen.exe -l -f ssh_host_rsa_key -E md5 from the C:\openssh:

C:\openssh>ssh-keygen.exe -l -f ssh_host_rsa_key -E md5
2048 MD5:94:93:fe:cc:c5:7d:d8:2a:33:21:0e:f3:91:11:8a:d9 [email protected] (RSA)


Start WinSCP. Login dialog will appear. On the dialog:

  • Make sure New site node is selected.
  • On New site node, make sure the SFTP protocol is selected.
  • Enter your machine/server IP address (or a hostname) into the Host name box.
  • Enter your Windows account name to the User name box. It might have to be entered in the format [email protected], if running on a domain.
  • For a public key authentication:
    • Press the Advanced button to open Advanced site settings dialog and go to SSH > Authentication page.
    • In Private key file box select your private key file.
    • Submit Advanced site settings dialog with the OK button.
  • For a password authentication:
    • Enter your Windows account password to the Password box.
    • If you Windows account does not have a password, you cannot authenticate with the password authentication (i.e. with an empty password), you need to use the public key authentication.
  • Save your site settings using the Save button.
  • Login using Login button.
  • Verify the host key by comparing fingerprint with the one collected before (see above).

Best Windows Server 2016 Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server 2016. We offers Windows hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Windows server 2016 Hosting, we should be your best choice.



Windows Hosting - ASPHostPortal.com :: Windows Server 2008 Security Considerations

clock November 14, 2016 08:55 by author Dan

According to searchwindowsserver.techtarget website, Many strides were taken to make Windows Server 2008 a more secure operating system than its predecessors. This section takes a look at some of these enhancements, and provides advice on how admins can further harden there servers in certain areas.

Network Access Protection: Should you care?
While NAP might not be as flashy as some of Windows Server 2008's other new features, admins shouldn't overlook the security benefits it has to offer. This article breaks down how NAP works in the operating system.

Simple NAP Implementation

The installation process for Network Access Protection with Windows 2008 is easier than you think. Learn the basics of implementing NAP in your environment.

Security concerns with Server Core
Some of the lost functionality that goes with Server Core installations can make the OS a bit more difficult to properly secure. Follow these steps to ensure peak security when running Server Core, with advice on anti-malware, patching and command-line tools.

Windows PowerShell: A backdoor to malware?
One of the key benefits of Windows Server 2008 is that is comes with Windows PowerShell built in. However, if configured incorrectly this boon can quickly become a security liability. This tip explains how to avoid turning PowerShell into an entry point for malware.

Security in Windows Server 2008 R2
Security is often a top concern for admins moving to a new or updated operating system. Find out how Windows Server 2008 R2 beefs up protection.

Best Windows Server 2016 Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server 2016. We offers Windows hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Windows server 2016 Hosting, we should be your best choice.



About ASPHostPortal.com

We’re a company that works differently to most. Value is what we output and help our customers achieve, not how much money we put in the bank. It’s not because we are altruistic. It’s based on an even simpler principle. "Do good things, and good things will come to you".

Success for us is something that is continually experienced, not something that is reached. For us it is all about the experience – more than the journey. Life is a continual experience. We see the Internet as being an incredible amplifier to the experience of life for all of us. It can help humanity come together to explode in knowledge exploration and discussion. It is continual enlightenment of new ideas, experiences, and passions


Author Link


Corporate Address (Location)

ASPHostPortal
170 W 56th Street, Suite 121
New York, NY 10019
United States

Sign in