-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(tutorial): publishing a website to a windows server instance #4242
base: main
Are you sure you want to change the base?
feat(tutorial): publishing a website to a windows server instance #4242
Conversation
@@ -0,0 +1,107 @@ | |||
--- | |||
meta: | |||
title: Publishing a website to a Windows instance using Web Deploy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
title: Publishing a website to a Windows instance using Web Deploy | |
title: Publishing a website to a Windows Instance using Web Deploy |
posted: 2025-01-20 | ||
--- | ||
|
||
## How to Use Web Deploy to Publish a Website to Scaleway's Windows Server VMs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## How to Use Web Deploy to Publish a Website to Scaleway's Windows Server VMs | |
## How to use Web Deploy to publish a website to Scaleway's Windows Server VMs |
|
||
## How to Use Web Deploy to Publish a Website to Scaleway's Windows Server VMs | ||
|
||
This guide explains how to publish a web application to a Scaleway instance with Windows Server using the following tools: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This guide explains how to publish a web application to a Scaleway instance with Windows Server using the following tools: | |
This guide explains how to publish a web application to a Scaleway Instance with Windows Server using the following tools: |
## How to Use Web Deploy to Publish a Website to Scaleway's Windows Server VMs | ||
|
||
This guide explains how to publish a web application to a Scaleway instance with Windows Server using the following tools: | ||
- (IIS)[https://iis.net/], which is the default web server developed by Microsoft for hosting web applications on Windows. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- (IIS)[https://iis.net/], which is the default web server developed by Microsoft for hosting web applications on Windows. | |
- [IIS](https://iis.net/), which is the default web server developed by Microsoft for hosting web applications on Windows. |
|
||
This guide explains how to publish a web application to a Scaleway instance with Windows Server using the following tools: | ||
- (IIS)[https://iis.net/], which is the default web server developed by Microsoft for hosting web applications on Windows. | ||
- [Web Deploy](https://www.iis.net/downloads/microsoft/web-deploy), a single click remote deployment technology for IIS. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- [Web Deploy](https://www.iis.net/downloads/microsoft/web-deploy), a single click remote deployment technology for IIS. | |
- [Web Deploy](https://www.iis.net/downloads/microsoft/web-deploy), a single-click remote deployment technology for IIS. |
This guide explains how to publish a web application to a Scaleway instance with Windows Server using the following tools: | ||
- (IIS)[https://iis.net/], which is the default web server developed by Microsoft for hosting web applications on Windows. | ||
- [Web Deploy](https://www.iis.net/downloads/microsoft/web-deploy), a single click remote deployment technology for IIS. | ||
Throughout this guide, you'll learn how to: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Throughout this guide, you'll learn how to: | |
Throughout this guide, you will learn how to: |
- (IIS)[https://iis.net/], which is the default web server developed by Microsoft for hosting web applications on Windows. | ||
- [Web Deploy](https://www.iis.net/downloads/microsoft/web-deploy), a single click remote deployment technology for IIS. | ||
Throughout this guide, you'll learn how to: | ||
- Configure the Windows Server instance with Web Deploy; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Configure the Windows Server instance with Web Deploy; | |
- Configure the Windows Server Instance with Web Deploy; |
<Macro id="requirements" /> | ||
- A Scaleway account logged into the [console](https://console.scaleway.com) | ||
- [Owner](/identity-and-access-management/iam/concepts/#owner) status or [IAM permissions](/identity-and-access-management/iam/concepts/#permission) allowing you to perform actions in the intended Organization | ||
- An [Instance](/compute/instances/how-to/create-an-instance/) running Windows Server or Windows Server Core with an attached IPV4 address |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- An [Instance](/compute/instances/how-to/create-an-instance/) running Windows Server or Windows Server Core with an attached IPV4 address | |
- An [Instance](/compute/instances/how-to/create-an-instance/) running on Windows Server or Windows Server Core with an attached IPV4 address |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe remove the info on it needing an IPv4 here, as it is highlighted in an alert right below?
- An [Instance](/compute/instances/how-to/create-an-instance/) running Windows Server or Windows Server Core with an attached IPV4 address | ||
|
||
<Message type ="note"> | ||
The Windows Server instance must have an [IPV4 address attached](/compute/instances/concepts/#dynamic-ip). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Windows Server instance must have an [IPV4 address attached](/compute/instances/concepts/#dynamic-ip). | |
The Windows Server Instance must have an [IPV4 address attached](/compute/instances/concepts/#dynamic-ip). |
|
||
## Configuring Windows Server to accept Web Deploy | ||
|
||
In Windows Server, IIS and its remote management components are not installed by default and need to be added as features. Web Deploy, a tool for deploying web applications, is distributed separately by Microsoft. Here's how to set up your Windows Server to accept Web Deploy: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In Windows Server, IIS and its remote management components are not installed by default and need to be added as features. Web Deploy, a tool for deploying web applications, is distributed separately by Microsoft. Here's how to set up your Windows Server to accept Web Deploy: | |
In Windows Server, IIS and its remote management components are not installed by default and need to be added as features. Web Deploy, a tool for deploying web applications, is distributed separately by Microsoft. Here is how to set up your Windows Server to accept Web Deploy: |
|
||
In Windows Server, IIS and its remote management components are not installed by default and need to be added as features. Web Deploy, a tool for deploying web applications, is distributed separately by Microsoft. Here's how to set up your Windows Server to accept Web Deploy: | ||
|
||
1. [Connect](/compute/instances/how-to/connect-to-instance/) to your Windows Server instance and open a PowerShell prompt. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1. [Connect](/compute/instances/how-to/connect-to-instance/) to your Windows Server instance and open a PowerShell prompt. | |
1. [Connect](/compute/instances/how-to/connect-to-instance/) to your Windows Server Instance and open a PowerShell prompt. |
Start-Service WMSVC | ||
``` | ||
|
||
## Creating the Website Configuration in IIS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Creating the Website Configuration in IIS | |
## Creating the website configuration in IIS |
|
||
## Creating the Website Configuration in IIS | ||
|
||
The instance is now ready to accept Web Deploy connections. You will create a configuration for a new website in IIS to use as a Web Deploy target. In this guide, the website is named *MyApplication*. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The instance is now ready to accept Web Deploy connections. You will create a configuration for a new website in IIS to use as a Web Deploy target. In this guide, the website is named *MyApplication*. | |
The Instance is now ready to accept Web Deploy connections. You will create a configuration for a new website in IIS to use as a Web Deploy target. In this guide, the website is named *MyApplication*. |
## Publishing from Visual Studio | ||
|
||
1. Open or create a web project in Visual Studio. | ||
2. Right-click the solution and select "Publish". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2. Right-click the solution and select "Publish". | |
2. Right-click the solution and select **Publish**. |
|
||
1. Open or create a web project in Visual Studio. | ||
2. Right-click the solution and select "Publish". | ||
3. Choose "Web Server (IIS)" and click "Next". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3. Choose "Web Server (IIS)" and click "Next". | |
3. Choose **Web Server (IIS)** and click **Next**. |
1. Open or create a web project in Visual Studio. | ||
2. Right-click the solution and select "Publish". | ||
3. Choose "Web Server (IIS)" and click "Next". | ||
4. Select "Web Deploy" and click "Next". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4. Select "Web Deploy" and click "Next". | |
4. Select **Web Deploy** and click **Next**. |
- User name: Administrator | ||
- Password: (Use the password retrieved earlier) | ||
<Lightbox src="scaleway-webdeploy_profile.webp" alt="A screenshot of the Web Deploy profile configuration in Visual Studio" size="medium" /> | ||
6. Click "Finish" to create the profile. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
6. Click "Finish" to create the profile. | |
6. Click **Finish** to create the profile. |
- Password: (Use the password retrieved earlier) | ||
<Lightbox src="scaleway-webdeploy_profile.webp" alt="A screenshot of the Web Deploy profile configuration in Visual Studio" size="medium" /> | ||
6. Click "Finish" to create the profile. | ||
7. Click "Publish" to deploy your website. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
7. Click "Publish" to deploy your website. | |
7. Click **Publish** to deploy your website. |
6. Click "Finish" to create the profile. | ||
7. Click "Publish" to deploy your website. | ||
|
||
## Accessing Your Website |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Accessing Your Website | |
## Accessing your website |
Your checklist for this pull request
Description
Tutorial on how to publish remotely a web application to a Scaleway instance with Windows Server. See #4243