Fazer upgrade da versão do Memcached de uma instância
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Esta página descreve como fazer upgrade da versão do Memcached de uma instância do Memorystore para Memcached. Para ver uma lista de versões disponíveis, consulte Versões compatíveis. Para mais informações sobre o comportamento da instância durante uma operação de upgrade, consulte Sobre o upgrade da versão do Memcached de uma instância.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-09-05 UTC."],[],[],null,["# Upgrade the Memcached version of an instance\n\nThis page describes how to upgrade the Memcached version of a Memorystore for Memcached instance. For a list of available versions, see [Supported versions](/memorystore/docs/memcached/supported-versions). For more information about instance behavior during an upgrade operation, see [About upgrading the Memcached version of an instance](/memorystore/docs/memcached/about-upgrading-version).\n| **Note:**\n| - Upgrading an instance is irreversible. You cannot downgrade the Memcached version of a Memorystore for Memcached instance.\n| - Upgrading the Memcached instance causes a full cache flush on the instance.\n| - Version upgrade is only available by using the gcloud CLI.\n\nUpgrading the instance version\n------------------------------\n\n### Console\n\n1. Go to the **Memorystore for Memcached** page in the Google Cloud console\n\n [Memorystore for Memcached](https://console.cloud.google.com/memorystore/memcached/instances)\n\n2. Click the instance ID of the instance you want to upgrade\n\n3. In the **Instance properties** section next to **Version** , click **UPGRADE**\n\n4. Select the Memcached version to upgrade to\n\n5. Click the **Submit** button\n\n### gcloud\n\nTo upgrade the Memcached version of your instance, run the `upgrade` command: \n\n```\ngcloud memcache instances upgrade instance-id --memcached-version=memcached-version --region=region\n```\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003einstance-id\u003c/var\u003e is the ID of your instance.\n\n- \u003cvar translate=\"no\"\u003ememcached-version\u003c/var\u003e is your desired Memcached version for your\n instance. The accepted values is `1.6.15`.\n\n- \u003cvar translate=\"no\"\u003eregion\u003c/var\u003e is the region where you want to deploy your instance."]]