Deploy MongoDB on an Arm-based Google Axion C4A virtual machine
Introduction
About Google Axion C4A series and MongoDB
Create Google Axion instance
Install MongoDB
Baseline Testing
MongoDB Benchmarking
Next Steps
Deploy MongoDB on an Arm-based Google Axion C4A virtual machine
Who is this for?
This introductory topic is for software developers who want to migrate MongoDB workloads from x86_64 to Arm-based platforms, specifically on Google Axion-based C4A virtual machines (VMs).
What will you learn?
Upon completion of this Learning Path, you will be able to:
- Create an Arm-based VM on Google Cloud (C4A Axion family).
- Install and run MongoDB on the Arm-based C4A instance.
- Benchmark MongoDB performance with Yahoo Cloud Serving Benchmark (YCSB).
Prerequisites
Before starting, you will need the following:
- A Google Cloud Platform (GCP) account with billing enabled
Summary
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.
mongosh. Next, you’ll create a test database and exercise CRUD operations for a baseline. You’ll then build YCSB, load its initial dataset, run workloads, and review the resulting output.Frequently asked questions
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.
c4a-standard-4 machine type, which provides four vCPUs and 16 GB of memory.aarch64) MongoDB binaries for RHEL 9.3 and extract them on your C4A instance.mongosh mongodb://127.0.0.1:27017. A successful connection and mongosh prompt confirm that the server accepts local connections.mongosh to create the baselineDB database and test collection. Perform the CRUD checks and record the insert timings shown by the commands.