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

Update how-to-deploy-on-azure-free-account.md (Typo "flexible server"… #9

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,29 @@ ms.custom:

# Use an Azure free account to try Azure Database for MySQL - Flexible Server for free

Azure Database for MySQL flexible server is a managed service that you use to run, manage, and scale highly available MySQL databases in the cloud. With an Azure free account, you can use Azure Database for MySQL flexible server for **free for 12 months** with **monthly limits** of up to:
Azure Database for MySQL Flexible Server is a managed service that you use to run, manage, and scale highly available MySQL databases in the cloud. With an Azure free account, you can use Azure Database for MySQL Flexible Server for **free for 12 months** with **monthly limits** of up to:
- **750 hours** of **Burstable B1MS** instance, enough hours to run a database instance continuously each month.
- **32 GB storage and 32 GB backup storage.**

This article shows you how to create and use an Azure Database for MySQL flexible server instance for free using an [Azure free account](https://azure.microsoft.com/free/).
This article shows you how to create and use an Azure Database for MySQL Flexible Server instance for free using an [Azure free account](https://azure.microsoft.com/free/).

## Prerequisites

To complete this tutorial, you need:

- An Azure free account. If you don't have one, [create a free account](https://azure.microsoft.com/free/) before you begin.

## Create an Azure Database for MySQL flexible server instance
## Create an Azure Database for MySQL Flexible Server instance

In this article, you'll use the Azure portal to create an Azure Database for MySQL flexible server instance with public access connectivity method. Alternatively, refer to the respective quickstarts to create an Azure Database for MySQL flexible server instance using [Quickstart: Create an instance of Azure Database for MySQL - Flexible Server by using the Azure CLI](quickstart-create-server-cli.md), [Quickstart: Create an instance of Azure Database for MySQL - Flexible Server by using Azure Resource Manager](quickstart-create-arm-template.md), [Quickstart: Create an instance of Azure Database for MySQL - Flexible Server by using Terraform](quickstart-create-terraform.md), or [within a VNET](quickstart-create-connect-server-vnet.md).
In this article, you'll use the Azure portal to create an Azure Database for MySQL Flexible Server instance with public access connectivity method. Alternatively, refer to the respective quickstarts to create an Azure Database for MySQL Flexible Server instance using [Quickstart: Create an instance of Azure Database for MySQL - Flexible Server by using the Azure CLI](quickstart-create-server-cli.md), [Quickstart: Create an instance of Azure Database for MySQL - Flexible Server by using Azure Resource Manager](quickstart-create-arm-template.md), [Quickstart: Create an instance of Azure Database for MySQL - Flexible Server by using Terraform](quickstart-create-terraform.md), or [within a VNET](quickstart-create-connect-server-vnet.md).

1. Sign in to the [Azure portal](https://portal.azure.com/) with your Azure free account.

The default view is your service dashboard.

1. To create an Azure Database for MySQL flexible server instance, search for and select **Azure Database for MySQL servers**:
1. To create an Azure Database for MySQL Flexible Server instance, search for and select **Azure Database for MySQL servers**:

:::image type="content" source="media/how-to-deploy-on-azure-free-account/search-select-azure-database-for-mysql.png" alt-text="Screenshot that shows how to search and select an Azure Database for MySQL flexible server instance in the Azure portal.":::
:::image type="content" source="media/how-to-deploy-on-azure-free-account/search-select-azure-database-for-mysql.png" alt-text="Screenshot that shows how to search and select an Azure Database for MySQL Flexible Server instance in the Azure portal.":::

Alternatively, you can search for and navigate to **Free Services**, and then select the **Azure Database for MySQL** tile from the list:

Expand All @@ -50,7 +50,7 @@ In this article, you'll use the Azure portal to create an Azure Database for MyS

1. Enter the basic settings for a new **Flexible server**.

:::image type="content" source="media/how-to-deploy-on-azure-free-account/basic-settings-all.PNG" alt-text="Screenshot that shows the Basic Settings for creating an Azure Database for MySQL flexible server instance.":::
:::image type="content" source="media/how-to-deploy-on-azure-free-account/basic-settings-all.PNG" alt-text="Screenshot that shows the Basic Settings for creating an Azure Database for MySQL Flexible Server instance.":::

| Setting | Suggested value | Description |
| --- | --- | --- |
Expand All @@ -59,7 +59,7 @@ In this article, you'll use the Azure portal to create an Azure Database for MyS
| Server name | mydemoserver-mysql | Specify a unique name to identify your flexible server. The domain name mysql.database.azure.com is appended to the server name you provide. The server name can contain only lowercase letters, numbers, and the hyphen (-) character. It must contain between 3 and 63 characters. |
| Region | The region closest to your users | Select a location from the list, preferably the location that's closest to your users. |
| Workload type | Development | For a free trial, select Development workload. For a production workload, choose Small/Medium-size or Large-size depending on [max_connections](concepts-server-parameters.md) requirements. |
| Availability zone | No preference | If your application (hosted on Azure VMs, virtual machine scale sets or AKS instance) is provisioned in a specific availability zone, create your an Azure Database for MySQL flexible server instance in the same availability zone. Collocating the application and database improves performance by reducing network latency across zones. |
| Availability zone | No preference | If your application (hosted on Azure VMs, virtual machine scale sets or AKS instance) is provisioned in a specific availability zone, create your an Azure Database for MySQL Flexible Server instance in the same availability zone. Collocating the application and database improves performance by reducing network latency across zones. |
| High Availability | Default | Leave the High Availability option unchecked. |
| MySQL version | The latest major version | Use the latest major version. For more information, see [all supported versions](../concepts-supported-versions.md). |
| Admin username | myadmin | Create a sign-in account to use when you connect to the server. The admin username can't be azure_superuser, admin, administrator, root, guest, or public. |
Expand All @@ -75,7 +75,7 @@ In this article, you'll use the Azure portal to create an Azure Database for MyS

1. Select **Networking** tab to configure how to reach your server.

Azure Database for MySQL flexible server provides two ways to connect:
Azure Database for MySQL Flexible Server provides two ways to connect:

- Public access (allowed IP addresses)
- Private access (VNet Integration)
Expand All @@ -94,26 +94,26 @@ In this article, you'll use the Azure portal to create an Azure Database for MyS
> [!NOTE]
> You can't change the connectivity method after you create the server. For example, if you select **Public access (allowed IP addresses)** during server creation, you can't change to **Private access (VNet Integration)** after the server is created. We highly recommend that you create your server with private access to help secure access to your server via VNet Integration. For more information about private access, see [Connectivity and networking concepts for Azure Database for MySQL - Flexible Server](concepts-networking.md)

1. To review your an Azure Database for MySQL flexible server configuration, select **Review + create**.
1. To review your an Azure Database for MySQL Flexible Server configuration, select **Review + create**.

:::image type="content" source="media/how-to-deploy-on-azure-free-account/review-and-create.png" alt-text="Screenshot that shows the Review + create blade." lightbox="media/how-to-deploy-on-azure-free-account/review-and-create.png":::

> [!IMPORTANT]
> While creating the an Azure Database for MySQL flexible server instance from your Azure free account, you still see an **Estimated cost per month** in the **Compute + Storage : Cost Summary** blade and **Review + Create** tab. But, as long as you're using your Azure free account, and your free service usage is within monthly limits, you won't be charged for the service. To view usage information, see the following [Monitor and track free services usage](#monitor-and-track-free-services-usage) section. We're currently working to improve the **Cost Summary** experience for free services.
> While creating the an Azure Database for MySQL Flexible Server instance from your Azure free account, you still see an **Estimated cost per month** in the **Compute + Storage : Cost Summary** blade and **Review + Create** tab. But, as long as you're using your Azure free account, and your free service usage is within monthly limits, you won't be charged for the service. To view usage information, see the following [Monitor and track free services usage](#monitor-and-track-free-services-usage) section. We're currently working to improve the **Cost Summary** experience for free services.

1. Select **Create** to provision the server.

Provisioning can take a few minutes

1. On the toolbar, select **Notifications** (the bell icon) to monitor the deployment process.

After the deployment is complete, select **Pin to dashboard**, to create a tile for the Azure Database for MySQL flexible server instance on your Azure portal dashboard. This tile is a shortcut to the server's **Overview** page. When you select **Go to resource**, the server's **Overview** page opens.
After the deployment is complete, select **Pin to dashboard**, to create a tile for the Azure Database for MySQL Flexible Server instance on your Azure portal dashboard. This tile is a shortcut to the server's **Overview** page. When you select **Go to resource**, the server's **Overview** page opens.

By default, your server included these databases: information_schema, mysql, performance_schema, and sys.

## Connect and query

Now that you've now created an Azure Database for MySQL flexible server instance in a resource group, you can connect to the server and query databases by using the following Connect and query quickstarts:
Now that you've now created an Azure Database for MySQL Flexible Server instance in a resource group, you can connect to the server and query databases by using the following Connect and query quickstarts:

- [mysql.exe](quickstart-create-server-portal.md)
- [Use MySQL Workbench with Azure Database for MySQL - Flexible Server](connect-workbench.md)
Expand All @@ -125,22 +125,22 @@ Now that you've now created an Azure Database for MySQL flexible server instance

## Monitor and track free services usage

You're not charged for Azure Database for MySQL flexible server services included for free with your Azure free account unless you exceed the free service limits. To remain within the limits, use the Azure portal to track and monitor your free services usage.
You're not charged for Azure Database for MySQL Flexible Server services included for free with your Azure free account unless you exceed the free service limits. To remain within the limits, use the Azure portal to track and monitor your free services usage.

1. In the Azure portal, search for **Subscriptions** and select the Azure Free Account - **Free Trial** subscription.

1. On the **Overview** page, scroll down to show the tile **Top free services by usage**, and then select **View all free services**.

:::image type="content" source="media/how-to-deploy-on-azure-free-account/free-services-usage-overview.png" alt-text="Screenshot that shows the Free Trial subscription overview page and highlights View all free services." lightbox="media/how-to-deploy-on-azure-free-account/free-services-usage-overview.png":::

1. Locate the meters related to **Azure Database for MySQL Flexible Server** to track usage.
1. Locate the meters related to **Azure Database for MySQL - Flexible Server** to track usage.

:::image type="content" source="media/how-to-deploy-on-azure-free-account/free-services-tracking.png" alt-text="Screenshot that shows the View and track usage information blade on Azure Portal for all free services." lightbox="media/how-to-deploy-on-azure-free-account/free-services-tracking.png":::

| Meter | Description | Monthly Limit |
| --- | --- | --- |
| Azure Database for MySQL flexible server Burstable BS Series Compute, B1MS | Tracks Compute usage in terms of number of hours of running | 750 Hours per month - Burstable B1MS Compute Tier |
| Azure Database for MySQL flexible server Storage, Data Stored | Tracks Data Storage Provisioned in terms of GiB used per month | 32 GB per month |
| Azure Database for MySQL Flexible Server Burstable BS Series Compute, B1MS | Tracks Compute usage in terms of number of hours of running | 750 Hours per month - Burstable B1MS Compute Tier |
| Azure Database for MySQL Flexible Server Storage, Data Stored | Tracks Data Storage Provisioned in terms of GiB used per month | 32 GB per month |
| - Meter: Identifies the unit of measure for the service being consumed. |
| - Usage/Limit: Current month's usage and limit for the meter. |
| - Status: Usage status of the service. Based on your usage, you can have one of the following statutes: |
Expand All @@ -151,16 +151,16 @@ You're not charged for Azure Database for MySQL flexible server services include

> [!IMPORTANT]
> With an Azure free account, you also get $200 in credit to use in 30 days. During this time, any usage beyond the free monthly amounts of services will be deducted from this credit.
> At the end of your first 30 days or after you spend your $200 credit (whichever comes first), you'll only pay for what you use beyond the free monthly amounts of services. To keep getting free services after 30 days, move to pay-as-you-go pricing. If you don't move to pay as you go, you can't purchase Azure services beyond your $200 creditand eventually your account and services will be disabled.
> At the end of your first 30 days or after you spend your $200 credit (whichever comes first), you'll only pay for what you use beyond the free monthly amounts of services. To keep getting free services after 30 days, move to pay-as-you-go pricing. If you don't move to pay as you go, you can't purchase Azure services beyond your $200 credit?and eventually your account and services will be disabled.
> For more information, see [**Azure free account FAQ**](https://azure.microsoft.com/free/free-account-faq/).

## Clean up resources

If you are using the Azure Database for MySQL flexible server instance for development, testing or predictable time-bound production workloads, optimize usage by starting and stopping the server on-demand. After you stop the server, it remains in that state for seven days unless restarted sooner.
If you are using the Azure Database for MySQL Flexible Server instance for development, testing or predictable time-bound production workloads, optimize usage by starting and stopping the server on-demand. After you stop the server, it remains in that state for seven days unless restarted sooner.
For more information, see [Server concepts in Azure Database for MySQL - Flexible Server](concept-servers.md).
When your Azure Database for MySQL flexible server instance is stopped, there is no Compute usage, but Storage usage is still considered.
When your Azure Database for MySQL Flexible Server instance is stopped, there is no Compute usage, but Storage usage is still considered.

Alternatively, if you don't expect to need these resources in the future, you can delete them by deleting the resource group, or you can just delete the Azure Database for MySQL flexible server instance.
Alternatively, if you don't expect to need these resources in the future, you can delete them by deleting the resource group, or you can just delete the Azure Database for MySQL Flexible Server instance.

- To delete the resource group, complete the following steps:

Expand All @@ -169,7 +169,7 @@ Alternatively, if you don't expect to need these resources in the future, you ca
1. On the **Overview** page for your resource group, select **Delete resource group**.
1. In the confirmation dialog box, type the name of your resource group, and then select **Delete**.

- To delete the Azure Database for MySQL flexible server instance, on the **Overview** page for the server, select **Delete**.
- To delete the Azure Database for MySQL Flexible Server instance, on the **Overview** page for the server, select **Delete**.

## Next step

Expand Down