Who is this for?

This is an advanced topic for developers who want to use memcached as their in-memory key-value store.

What will you learn?

Upon completion of this Learning Path, you will be able to:

  • Deploy memcached as a cache for MySQL on AWS, Azure and GCP Arm based Instance
  • Deploy memcached as a cache for PostgreSQL on AWS, Azure and GCP Arm based Instance

Prerequisites

Before starting, you will need the following:

Summary

AI-assisted

This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

Close
?
You’ll deploy Memcached as a cache for MySQL or PostgreSQL on Arm-based cloud servers. First, you’ll use Terraform to provision a Linux instance on AWS Graviton, Azure Cobalt, or Google Axion. Then, you’ll run the corresponding Ansible automation to install and configure Memcached. Successful Terraform and Ansible runs confirm that your cache is ready for the selected database.

Frequently asked questions

AI-assisted

These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

Close
?
Which cloud provider should I use for my database?
For MySQL, you can use AWS, Azure, or Google Cloud. For PostgreSQL, you can use AWS or Azure.
Do I need to edit the Ansible inventory file?
No. Terraform generates /tmp/inventory automatically. Use the file when you run ansible-playbook playbook.yaml -i /tmp/inventory.
Can I run Terraform and Ansible from any computer?
Yes. You can run Terraform and Ansible from any computer that has the prerequisite tools installed.
How do I know that the deployment succeeded?
Confirm that Terraform completes without errors and that the cloud instance appears in your account. Then, verify that Ansible finishes successfully after installing and configuring Memcached.
How do I remove the cloud resources after I finish?
Run terraform destroy to delete the resources created by your deployment.
Next