Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

antoinechampion
Copy link
Contributor

@antoinechampion antoinechampion commented Jan 20, 2025

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

@@ -0,0 +1,107 @@
---
meta:
title: Publishing a website to a Windows instance using Web Deploy
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## 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:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- (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.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- [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:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- 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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- 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

Copy link
Collaborator

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).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## 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*.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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".
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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".
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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".
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Accessing Your Website
## Accessing your website

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants