Skip to content

Commit 0f7fe7a

Browse files
Update Ruby on Rails learning path: refine content, add accomplishments sections, and improve clarity
1 parent a9ca570 commit 0f7fe7a

6 files changed

Lines changed: 21 additions & 7 deletions

File tree

content/learning-paths/servers-and-cloud-computing/ruby-on-rails/_index.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
---
22
title: Deploy Ruby on Rails on Google Cloud C4A (Arm-based Axion VMs)
33

4-
draft: true
5-
cascade:
6-
draft: true
7-
84
minutes_to_complete: 40
95

106
who_is_this_for: This is an introductory topic intended for software developers deploying and optimizing Ruby on Rails workloads on Linux Arm64 environments, specifically using Google Cloud C4A virtual machines powered by Axion processors.
117

128
learning_objectives:
139
- Provision an Arm-based SUSE SLES virtual machine on Google Cloud (C4A with Axion processors)
14-
- Install Ruby/Rails on a SUSE Arm64 (C4A) instance
10+
- Install Ruby on Rails on a SUSE Arm64 (C4A) instance
1511
- Validate Ruby on Rails functionality using PostgreSQL as the database
1612
- Benchmark Rails performance using the built-in Ruby Benchmark library on Arm64 (Aarch64) architecture
1713

content/learning-paths/servers-and-cloud-computing/ruby-on-rails/background.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,8 @@ Ruby on Rails (Rails) is an open-source, server-side web application framework w
2020

2121
It allows developers to build database-backed web applications quickly using convention over configuration, MVC (Model-View-Controller) architecture, and built-in tools for routing, database migrations, and view rendering.
2222

23-
Rails is widely used for web applications, APIs, and full-stack development projects. Learn more from the [Ruby on Rails official website](https://rubyonrails.org/) and its [guides and documentation](https://guides.rubyonrails.org/).
23+
Rails is widely used for web applications, APIs, and full-stack development projects. Learn more from the [Ruby on Rails official website](https://rubyonrails.org/) and the [Ruby on Rails Guides](https://guides.rubyonrails.org/).
24+
25+
## What you've accomplished and what's next
26+
27+
You’ve now learned about Google Axion C4A Arm instances and the fundamentals of Ruby on Rails. Understanding these technologies sets the stage for deploying and optimizing Rails workloads on Arm-based cloud infrastructure.

content/learning-paths/servers-and-cloud-computing/ruby-on-rails/baseline.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,3 +308,7 @@ You will see a Rails welcome page in your browser if everything is set up correc
308308
![Rails-info page alt-text#center](images/rails-web.png "Figure 6: Ruby/Rails Welcome Page")
309309

310310
With port 3000 reachable and the welcome page loading, your Rails stack on SUSE Arm64 (C4A Axion) is verified end-to-end and you can proceed to benchmarking.
311+
312+
## What you've accomplished
313+
314+
You’ve successfully set up a Ruby on Rails application with PostgreSQL on a Google Cloud C4A Arm-based virtual machine running SUSE Linux. You installed and configured PostgreSQL, created a dedicated database user, and connected your Rails app to the database. You verified connectivity, generated a scaffold for CRUD operations, and ensured your application is accessible over the network. With your Rails stack running on Arm, you’re ready to move on to benchmarking and performance validation.

content/learning-paths/servers-and-cloud-computing/ruby-on-rails/benchmarking.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,7 @@ Database I/O remains the main optimization target: Techniques such as query cach
112112
Compute-bound tasks scale well: Axion’s Arm cores and Ruby’s YJIT show excellent CPU utilization for non-I/O workloads.
113113

114114
Ruby on Rails runs efficiently on Google Cloud’s Axion-based C4A Arm64 instances.
115+
116+
## What you've accomplished
117+
118+
You’ve benchmarked your Ruby on Rails application on a Google Cloud C4A Arm-based VM using Ruby’s built-in Benchmark library. You measured database insert and query speeds, as well as CPU computation performance, and interpreted the results to identify optimization opportunities. With these insights, you’re equipped to further tune your Rails workloads for Arm and confidently deploy performance-sensitive applications on Arm-based cloud infrastructure.

content/learning-paths/servers-and-cloud-computing/ruby-on-rails/installation.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,6 @@ You should see output similar to:
9494
Rails 8.0.3
9595
```
9696

97-
You have now installed Ruby and Rails on your Google Cloud C4A Arm-based VM. You can now proceed with the baseline testing.
97+
## What you've accomplished
98+
99+
You’ve completed the installation of Ruby and Rails on your Google Cloud C4A Arm-based SUSE Linux VM. Your environment is now ready for Arm-native Rails development, with all dependencies, version management, and performance enhancements in place. You’re prepared to start building, testing, and optimizing Ruby on Rails applications on Arm infrastructure.

content/learning-paths/servers-and-cloud-computing/ruby-on-rails/instance.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,7 @@ To create a virtual machine based on the C4A instance type:
2929
- Under **OS and Storage**, select **Change**, then choose an Arm64-based OS image. For this Learning Path, use **SUSE Linux Enterprise Server**. Pick the preferred version for your Operating System. Ensure you select the **Arm image** variant. Click **Select**.
3030
- Under **Networking**, enable **Allow HTTP traffic**.
3131
- Click **Create** to launch the instance.
32+
33+
## What you've accomplished
34+
35+
Congratulations! You’ve successfully created a Google Axion C4A Arm virtual machine on GCP. Your Arm-based cloud environment is ready for Ruby on Rails development.

0 commit comments

Comments
 (0)