Skip to content

Commit

Permalink
Merge pull request #840 from pbk8s/main
Browse files Browse the repository at this point in the history
Learning Paths Review and minor updates.
  • Loading branch information
jasonrandrews authored Apr 5, 2024
2 parents 04f4c1f + e46cc05 commit 9d38a93
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ You should have the prerequisite tools installed before starting the Learning Pa

Any computer which has the required tools installed can be used for this section. The computer can be your desktop or laptop computer or a virtual machine with the required tools.

You will need an [AWS account](https://portal.aws.amazon.com/billing/signup?nc2=h_ct&src=default&redirect_url=https%3A%2F%2Faws.amazon.com%2Fregistration-confirmation#/start) to complete this Learning Path. Create an account if you don't have one.
You will need an [Azure portal account](https://azure.microsoft.com/en-in/get-started/azure-portal) to complete this Learning Path. Create an account if you don't have one.

Before you begin, you will also need:
- An AWS access key ID and secret access key.
- Login to the Azure CLI
- An SSH key pair

The instructions to create the keys are below.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Learn how to migrate an x86 application to multi-architecture with Arm on GKE
title: Learn how to migrate an x86 application to multi-architecture with Arm on Google Kubernetes Engine (GKE)

minutes_to_complete: 30

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ provider "aws" {
}

resource "aws_instance" "Mariadb_TEST" {
ami = "ami-0ca2eafa23bc3dd01"
ami = "ami-0a55ba1c20b74fc30"
instance_type = "t4g.small"
security_groups = [aws_security_group.Terraformsecurity.name]
key_name = aws_key_pair.deployer.key_name
Expand Down Expand Up @@ -119,7 +119,7 @@ There are 2 optional changes you can make to the `main.tf` file.

1. (optional) In the `provider` section, change the region to be your preferred AWS region.

2. (optional) In the `aws_instance` section, change the ami value to your preferred Linux distribution. The AMI ID for Ubuntu 22.04 on Arm is `ami-0ca2eafa23bc3dd01`.
2. (optional) In the `aws_instance` section, change the ami value to your preferred Linux distribution. The AMI ID for Ubuntu 22.04 on Arm is `ami-0a55ba1c20b74fc30`.

{{% notice Note %}}
The instance type is t4g.small. This is an Arm-based instance and requires an Arm Linux distribution.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,12 @@ variable "username" {
}

variable "password" {
default = "Armtest" #we_can_choose_any_password, except special_characters.
default = "Armtest1" #we_can_choose_any_password, except special_characters.
}
```
{{% notice Note %}}
The password length should be atleast 8 characters.
{{% /notice %}}

This file is used for configuring your password.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ provider "aws" {
}
resource "aws_instance" "MYSQL_TEST" {
count = "2"
ami = "ami-0ca2eafa23bc3dd01"
ami = "ami-0000456e99b2b6a9d"
instance_type = "t4g.small"
security_groups = [aws_security_group.Terraformsecurity1.name]
key_name = aws_key_pair.deployer.key_name
Expand Down Expand Up @@ -122,7 +122,7 @@ Make the changes listed below in `main.tf` to match your account settings.

1. In the `provider` section, update value to use your preferred AWS region.

2. (optional) In the `aws_instance` section, change the ami value to your preferred Linux distribution. The AMI ID for Ubuntu 22.04 on Arm is `ami-0ca2eafa23bc3dd01`. No change is needed if you want to use Ubuntu AMI.
2. (optional) In the `aws_instance` section, change the ami value to your preferred Linux distribution. The AMI ID for Ubuntu 22.04 on Arm is `ami-0000456e99b2b6a9d`. No change is needed if you want to use Ubuntu AMI.

{{% notice Note %}}
The instance type is t4g.small. This is an Arm-based instance and requires an Arm Linux distribution.
Expand Down

0 comments on commit 9d38a93

Please sign in to comment.