-
Notifications
You must be signed in to change notification settings - Fork 92
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
Azure Deploy Targets refresh #2593
Merged
Merged
Changes from 4 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
ccb1b22
Updated overview, web app and redirected cloud service
tleed5 74b4ce8
Merge branch 'main' into tl/azure-deployment-target-refresh
tleed5 e1be50e
Redirect all existing azure cloud service pages
tleed5 81378b1
Merge branch 'main' into tl/azure-deployment-target-refresh
tleed5 6ca9150
Update warning message
tleed5 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file modified
BIN
+36.9 KB
(120%)
...ucture/deployment-targets/azure/web-app-targets/create-azure-web-app-target.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+60.3 KB
(170%)
...deployment-targets/azure/web-app-targets/deployment-targets-web-app-healthy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...s/deployments/azure/cloud-services/getting-started-with-azure-cloud-services.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
--- | ||
layout: src/layouts/Redirect.astro | ||
title: Redirect | ||
redirect: https://octopus.com/docs/deployments/azure/cloud-services | ||
redirect: https://octopus.com/docs/infrastructure/deployment-targets/azure | ||
pubDate: 2023-01-01 | ||
navSearch: false | ||
navSitemap: false | ||
navMenu: false | ||
--- | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
layout: src/layouts/Redirect.astro | ||
title: Redirect | ||
redirect: https://octopus.com/docs/infrastructure/deployment-targets/azure | ||
pubDate: 2023-01-01 | ||
navSearch: false | ||
navSitemap: false | ||
navMenu: false | ||
hideInThisSectionHeader: true | ||
--- |
188 changes: 0 additions & 188 deletions
188
src/pages/docs/deployments/azure/cloud-services/index.mdx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
layout: src/layouts/Redirect.astro | ||
title: Redirect | ||
redirect: https://octopus.com/docs/infrastructure/deployment-targets/azure | ||
pubDate: 2023-01-01 | ||
navSearch: false | ||
navSitemap: false | ||
navMenu: false | ||
--- |
72 changes: 0 additions & 72 deletions
72
src/pages/docs/deployments/azure/cloud-services/vip-swap.mdx
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...s/docs/deployments/azure/deploying-a-package-to-an-azure-cloud-service/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/pages/docs/infrastructure/azure/cloud-service-targets/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 8 additions & 54 deletions
62
...ges/docs/infrastructure/deployment-targets/azure/cloud-service-targets/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,9 @@ | ||
--- | ||
layout: src/layouts/Default.astro | ||
pubDate: 2023-01-01 | ||
modDate: 2024-06-27 | ||
title: Azure Cloud Service targets | ||
description: Azure Cloud Service deployment targets allow you to reference existing classic Cloud Services in your Azure subscription, that you can then reference by target tag during deployments. | ||
navOrder: 100 | ||
--- | ||
|
||
Azure Cloud Service deployment targets allow you to reference existing classic Cloud Services in your Azure subscription, that you can then reference by [target tag](/docs/infrastructure/deployment-targets/target-tags) during deployments. | ||
|
||
:::div{.warning} | ||
Microsoft [announced](https://blogs.msdn.microsoft.com/appserviceteam/2018/03/12/deprecating-service-management-apis-support-for-azure-app-services/) that from June 30th 2018 they are retiring support for Azure Service Management API (which indicates Cloud Services). Microsoft stated that _"Cloud Services is similar to Service Fabric in degree of control versus ease of use, but it's now a legacy service and Service Fabric is recommended for new development"_ ([source](https://docs.microsoft.com/en-us/azure/app-service/choose-web-site-cloud-service-vm)). | ||
|
||
Support for this feature will be deprecated in Octopus Server from the `2024.1` release. | ||
::: | ||
|
||
## Requirements | ||
|
||
You can read more about all the PaaS targets [in our blog](https://octopus.com/blog/paas-targets). | ||
|
||
- You will need an [Azure Management Certificate account](/docs/infrastructure/accounts/azure/#azure-management-certificate) that references your Azure subscription. | ||
|
||
- Once your Azure account is setup, you will then need an existing Azure Cloud Service (classic) setup within your Azure subscription. To learn more about App Services, the Azure team provide [useful documentation on App Services](https://docs.microsoft.com/en-us/azure/cloud-services/) that can help you get started. If you are dynamically creating the cloud services during your deployment, check our section about [creating Cloud Service targets by scripts using service messages](#creating-cloud-service-targets-by-scripts). | ||
|
||
## Creating Cloud Service targets | ||
|
||
Once you have a Cloud Service setup within your Azure subscription, you are then ready to map that to an Octopus deployment target. | ||
|
||
To create an Azure Cloud Service target within Octopus: | ||
|
||
- Go to **Infrastructure ➜ Deployment Targets ➜ Add Deployment Target**. | ||
- Select **Azure Cloud Service** from the list of available targets and click _Next_. | ||
- Fill out the necessary fields, being sure to provide a unique target tag that clearly identifies your Azure Cloud Service target. | ||
|
||
:::figure | ||
![](/docs/infrastructure/deployment-targets/azure/cloud-service-targets/create-azure-cloud-service-target.png) | ||
::: | ||
|
||
- After clicking _Save_, your deployment target will be added and go through a health check to ensure Octopus can connect to it. | ||
- If all goes well, you should see your newly created target in your **Deployment Targets** list, with a status of _Healthy_. | ||
|
||
### Creating Cloud Service targets by scripts | ||
|
||
Azure Cloud Service targets can also be created via a PowerShell cmdlet within a Deployment Process, this can be especially handy if you are also creating the Azure Cloud Service via a script. | ||
|
||
See [Creating Resources by script](/docs/infrastructure/deployment-targets/dynamic-infrastructure) for more information on creating Azure Cloud Services via a script. | ||
|
||
## Deploying to Cloud Service targets | ||
|
||
See our [documentation about this topic](/docs/deployments/azure/cloud-services) | ||
|
||
## Troubleshooting | ||
|
||
If your Azure Cloud Service target is not completing a health check successfully, you may need to check that your Octopus Server can communicate with Azure. It may be worth checking that your Azure Account is able to complete a _Save and Test_ to ensure Octopus can communicate with Azure and the management certificate referenced by the account is valid. If your Octopus Server is behind a proxy or firewall, you will need to consult with your Systems Administrator to ensure it is able to communicate with Azure. | ||
layout: src/layouts/Redirect.astro | ||
title: Redirect | ||
redirect: https://octopus.com/docs/infrastructure/deployment-targets/azure | ||
pubDate: 2023-01-01 | ||
navSearch: false | ||
navSitemap: false | ||
navMenu: false | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
...ructure/deployment-targets/dynamic-infrastructure/azure-cloud-service-target.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
layout: src/layouts/Redirect.astro | ||
title: Redirect | ||
redirect: https://octopus.com/docs/infrastructure/deployment-targets/azure | ||
pubDate: 2023-01-01 | ||
navSearch: false | ||
navSitemap: false | ||
navMenu: false | ||
--- |
50 changes: 0 additions & 50 deletions
50
...ucture/deployment-targets/dynamic-infrastructure/azure-cloud-service-target.mdx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.