generated from nginx/template-repository
-
Couldn't load subscription status.
- Fork 121
Added NGINXaaS for Azure doc on how to change from basic to standard plan #1359
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
Merged
Merged
Changes from all commits
Commits
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
This file contains hidden or 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,5 @@ | ||
| --- | ||
| title: Change pricing plan | ||
| weight: 300 | ||
| url: /nginxaas/azure/billing/change-plan/ | ||
| --- |
40 changes: 40 additions & 0 deletions
40
content/nginxaas-azure/billing/change-plan/basic-to-standard.md
This file contains hidden or 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,40 @@ | ||
| --- | ||
| title: Change from basic plan to standard plan | ||
| weight: 200 | ||
| toc: false | ||
| url: /nginxaas/azure/change-plan/basic-to-standard/ | ||
| type: | ||
| - how-to | ||
| --- | ||
|
|
||
| The basic plan is designed for early-stage trials and testing and is not intended for production use. If you are ready to create a standard plan deployment and wish to preserve the configuration of an existing basic plan deployment, you can [create a new deployment]({{< ref "/nginxaas-azure/getting-started/create-deployment.md">}}), selecting the latest standard pricing plan, and manually reapply your NGINX configuration and certificates. You can also follow the instructions below to recreate your deployment using an Azure Resource Manager (ARM) template. | ||
|
|
||
| ## Prerequisites | ||
|
|
||
| - [Azure CLI Installation](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli) | ||
| - You must be logged in to your Azure account through the CLI. See [Azure CLI Authentication](https://learn.microsoft.com/en-us/cli/azure/authenticate-azure-cli) | ||
|
|
||
| ## Recreate deployment using ARM template | ||
|
|
||
| To export an ARM template for an existing deployment: | ||
|
|
||
| 1. Go to your existing NGINXaaS deployment. | ||
| 1. Select **Export template** under **Automation** in the left menu. | ||
| 1. Wait for the template to generate. | ||
| 1. Select **Download**. | ||
| 1. Decompress the template archive. | ||
| 1. Open the `template.json` file and verify that the data in the template is correct. | ||
| 1. In the `resources` section, change `sku.name` to `standardv2_Monthly`. This recreates the deployment as a standard plan deployment. | ||
| 1. Delete the original basic plan deployment. | ||
| 1. On the command line, run: | ||
|
|
||
| ```shell | ||
| az deployment group create \ | ||
| --subscription=<deployment subscription ID> \ | ||
| --resource-group=<resource group name> \ | ||
| --template-file=</path/to/template.json> | ||
| ``` | ||
|
|
||
| ## Further reading | ||
|
|
||
| For further details on recreating a deployment, see our [guide]({{< ref "/nginxaas-azure/quickstart/recreate.md">}}). | ||
4 changes: 2 additions & 2 deletions
4
.../getting-started/migrate-from-standard.md → ...ling/change-plan/migrate-from-standard.md
This file contains hidden or 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 hidden or 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
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.
Is it necessary to do this step first? Won't the new deployment have a new IP address? I would think they'd want to change the DNS mapping first (which we can't be specific about) and then when they know it's rerouting traffic, they can delete the original basic plan deployment.
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.
If they care that much about preserving existing traffic, then they can refer to the recreate deployment guide (which I reference in this page). My intention was to give users a quick and easy way to recreate the deployment. The order of the step is intentional. If they wish to preserve the backing resources, such as the deployment's frontend IP address, there would be conflicts if they did not delete the original deployment first. FYI this PR is now merged, so I'll need to open a new PR with any emendations we wish to make.