배포 이름과 설정을 선택하고 HTTP 트래픽 허용과 WebDeploy 트래픽 허용이 선택되어 있는지 확인합니다.
배포를 선택합니다.
Cloud Tools for Visual Studio 설치
Visual Studio의 Extensions and Updates(확장 및 업데이트) 대화상자에서 Cloud Tools for Visual Studio를 설치하려면 다음 안내를 따르세요.
Tools(도구) > Extensions and Updates(확장 및 업데이트)를 선택합니다.
왼쪽 창에서 Online(온라인) 속성을 선택합니다.
Google Cloud Tools for Visual Studio를 검색합니다.
Download(다운로드)를 클릭하고 표시되는 메시지를 따릅니다.
Visual Studio를 다시 시작하여 확장 프로그램을 로드합니다.
Google에 로그인
App Engine에 프로젝트를 배포하는 데 사용할 Google 계정에 로그인하려면 다음 안내를 따르세요.
Visual Studio를 엽니다.
Tools(도구) > Google Cloud Tools(Google Cloud 도구) > Google Cloud Explorer를 선택하여 Cloud Explorer를 시작합니다.
Select or create account(계정 선택 또는 만들기)를 클릭합니다.
계정 추가를 클릭합니다.
새 브라우저 창이 열리고 리소스를 관리하는 데 필요한 권한을 요청합니다. Google Cloud
애플리케이션에 사용할 계정을 선택합니다.
Allow(허용)를 클릭하고 브라우저 창을 닫습니다.
프로젝트 선택
애플리케이션을 배포할 Google Cloud 프로젝트를 선택하려면 다음 안내를 따르세요.
Cloud Explorer에서 Select Project(프로젝트 선택)를 클릭합니다.
목록에서 프로젝트를 선택합니다.
확인을 클릭합니다.
Cloud Explorer에서 선택한 프로젝트의 리소스가 새로 고침되어 표시됩니다.
ASP.NET 앱 만들기
새 ASP.NET 프로젝트를 만들고 로컬로 실행하려면 다음 안내를 따르세요.
File(파일) > New(새로 만들기) > Project(프로젝트)를 선택하여 New Project(새 프로젝트) 대화상자를 엽니다.
왼쪽 패널을 사용하여 Installed(설치됨) > Visual C# > Google Cloud Platform으로 이동합니다.
ASP.NET on Google Cloud Platform(Google Cloud Platform의 ASP.NET)을 선택합니다.
앱을 Compute Engine의 VM에 배포하려면 .NET Core가 아니라 .NET Framework를 대상으로 지정하세요. GKE 또는 App Engine의 경우에는 ASP.NET Core on Google Cloud Platform(Google Cloud Platform의 ASP.NET Core)을 선택하세요.
프로젝트의 Name(이름)을 입력합니다.
확인을 클릭합니다.
Template type(템플릿 유형)을 선택합니다.
확인을 클릭합니다.
솔루션을 빌드하고 로컬로 실행하여 작동하는지 확인합니다.
ASP.NET 앱 배포
ASP.NET 앱을 Compute Engine에서 실행되는 Windows VM에 배포하려면 다음 안내를 따르세요.
Cloud Explorer에서 새로 생성된 프로젝트를 선택하고 GKE를 확장합니다.
Cloud Marketplace를 사용하여 위에서 만든 VM 인스턴스를 마우스 오른쪽 버튼으로 클릭합니다.
Manage Windows credentials(Windows 사용자 인증 정보 관리)를 선택합니다.
Add credentials(사용자 인증 정보 추가)를 클릭합니다.
사용자 이름을 입력합니다.
Create a password for me(자동으로 비밀번호 만들기)가 선택되어 있는지 확인하고 Save(저장)를 클릭합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[],[],null,["Deploy an ASP.NET app by using Tools for Visual Studio This page shows you how to configure Microsoft Visual Studio and create and\ndeploy an ASP.NET application on Google Cloud.\n\nBefore you begin\n\n1. In the Google Cloud console, on the project selector page,\n click **Create project** to begin creating a new\n Google Cloud project.\n\n [Go to project selector](https://console.cloud.google.com/projectselector2/home/dashboard)\n2.\n [Verify that billing is enabled for your Google Cloud project](/billing/docs/how-to/verify-billing-enabled#confirm_billing_is_enabled_on_a_project).\n\n3. Make sure that you have the following software installed on your local system:\n - [Visual Studio 2022](https://www.visualstudio.com/vs/), [Visual Studio 2019, or Visual Studio 2017](https://www.visualstudio.com/vs/older-downloads/), any Windows edition. Cloud Tools for Visual Studio doesn't support Visual Studio 2017 for Mac.\n - [gcloud CLI](/sdk/docs/install)\n4. Create a new Windows VM to host your app:\n 1. Navigate to the ASP.NET Framework image on the Google Cloud Marketplace. \n [Go to the ASP.NET Framework image](https://console.cloud.google.com/marketplace/details/click-to-deploy-images/aspnet)\n 2. Select **Launch on Compute Engine**.\n 3. Choose your **Deployment name** and settings, ensuring that **Allow HTTP Traffic** and **Allow WebDeploy Traffic** are checked.\n 4. Select **Deploy**.\n\nInstalling Cloud Tools for Visual Studio\n\nTo install Cloud Tools for Visual Studio from the **Extensions and Updates** dialog in\nVisual Studio:\n\n1. Select **Tools** \\\u003e **Extensions and Updates**.\n2. Select the **Online** facet from the left pane.\n3. Search for **Google Cloud Tools for Visual Studio**.\n4. Click **Download** and follow the prompts.\n5. Restart Visual Studio to load the extension.\n\nSigning in to Google\n\nSign in to a Google account that you use to deploy your project to\nApp Engine.\n\n1. Open Visual Studio.\n2. Launch **Cloud Explorer** by selecting **Tools** \\\u003e **Google Cloud Tools** \\\u003e **Show Google Cloud Explorer**.\n3. Click **Select or create account**.\n4. Click **Add account**.\n5. A new browser window opens and asks for the permissions it needs to manage your Google Cloud resources.\n6. Select the account to use for your application.\n7. Click **Allow** and close the browser window.\n\n\u003cbr /\u003e\n\nSelecting a project\n\nTo select a Google Cloud project to deploy your application to:\n\n1. In the **Cloud Explorer** , click **Select Project**.\n2. Select your project in the list.\n3. Click **OK**.\n\nThe Cloud Explorer refreshes and displays the resources for the selected\nproject.\n\nCreating an ASP.NET app\n\nTo create a new ASP.NET project and run it locally:\n\n1. Choose **File** \\\u003e **New** \\\u003e **Project** to open the New Project dialog.\n2. Use the left panel to navigate to **Installed** \\\u003e **Visual C#** \\\u003e **Google Cloud Platform**.\n3. Select **ASP.NET on Google Cloud Platform**.\n4. To deploy your app to a VM on Compute Engine, target the .NET Framework, not .NET Core. Use the **ASP.NET Core on Google Cloud Platform** template for GKE or App Engine.\n5. Enter the **Name** of your project.\n6. Click **OK**.\n7. Select the **Template type**.\n8. Click **OK**.\n9. Build the solution and run it locally, verifying that it works.\n\nDeploying an ASP.NET app\n\nTo deploy your ASP.NET app to a Windows VM running on Compute Engine:\n\n1. In Cloud Explorer, select the newly created project and expand GKE.\n2. Right-click on the VM instance that you created above with Cloud Marketplace.\n3. Select **Manage Windows credentials**.\n4. Click **Add credentials**.\n5. Enter a username.\n6. Ensure that **Create a password for me** is selected and click **Save**.\n7. Click **Reset** when prompted with the confirmation question: \"Reset the password for \\[your username\\] on the instance \\[instance you created\\]?\"\n8. Then click the **Close** button to close the password window.\n9. Next click the **Close** button to close the **Windows\n Credentials** window.\n10. In the Visual Studio **Solution Explorer** pane, right click your application.\n11. In the context menu, click **Publish to Google Cloud**\n12. In the Publish dialog box, choose **Compute Engine**.\n13. Click **Publish** to build and deploy the sample application. After publishing completes, Visual Studio opens the application in your default web browser:\n\nThat's it --- your application is hosted on Compute Engine.\n\nWhat's next\n\n- Learn more about [Browsing Compute Engine Resources](/tools/visual-studio/docs/browse-compute)."]]