Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(apple-silicon): add tutorial ansible and terraform #3823

Open
wants to merge 28 commits into
base: main
Choose a base branch
from

Conversation

Laure-di
Copy link
Contributor

Your checklist for this pull request

Description

Please describe what you added or changed.

@Laure-di Laure-di self-assigned this Oct 10, 2024
@Laure-di Laure-di marked this pull request as draft October 10, 2024 15:58
@github-actions github-actions bot added the status: draft Work in progress - do not merge or review label Oct 10, 2024
@bene2k1 bene2k1 requested review from bene2k1 and RoRoJ October 11, 2024 07:12
@Laure-di Laure-di marked this pull request as ready for review February 26, 2025 09:14
@github-actions github-actions bot removed the status: draft Work in progress - do not merge or review label Feb 26, 2025
@github-actions github-actions bot added type: developer Front Website changes type: dependencies Pull requests that update a dependency file type: changelog Changelog entries labels Mar 11, 2025
Laure-di and others added 15 commits March 12, 2025 14:23
@Laure-di Laure-di force-pushed the int-add-applesilicon branch from da2748a to 0f533c7 Compare March 12, 2025 13:23
@github-actions github-actions bot removed type: developer Front Website changes type: dependencies Pull requests that update a dependency file type: changelog Changelog entries labels Mar 12, 2025

1. Download and install [Terraform](https://developer.hashicorp.com/terraform/install).

2. Create a directory: First, create a directory for your Terraform project. Open your terminal and run:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
2. Create a directory: First, create a directory for your Terraform project. Open your terminal and run:
2. Create a directory for your Terraform project. Open your terminal and run the following command:

cd apple_silicon_server_terraform
```

3. Create a Terraform configuration file: Inside this directory, create a file named `resources.tf`:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
3. Create a Terraform configuration file: Inside this directory, create a file named `resources.tf`:
3. Create a Terraform configuration file. Inside the directory, create a file named `resources.tf`:

touch resources.tf
```

4. Define the required providers: Open the `resources.tf` file and add the following configuration to define the Scaleway provider and set the required Terraform version:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
4. Define the required providers: Open the `resources.tf` file and add the following configuration to define the Scaleway provider and set the required Terraform version:
4. Define the required providers. Open the `resources.tf` file and add the following configuration to define the Scaleway provider and set the required Terraform version:


```

5. Define the Apple silicon server: Add the following code to define your Apple silicon server (M2-M type) in the same `resources.tf` file:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
5. Define the Apple silicon server: Add the following code to define your Apple silicon server (M2-M type) in the same `resources.tf` file:
5. Define the Apple silicon server. Add the following code to define your Apple silicon server (M2-M type) in the same `resources.tf` file:

}
```

6. Apply the configuration: To apply this configuration, run the following commands in your terminal:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
6. Apply the configuration: To apply this configuration, run the following commands in your terminal:
6. Run the following commands in your terminal to apply the configuration:


When prompted, type **yes** to confirm the creation of the resources.

7. Enable Virtual Private Cloud (VPC) and a Private Network: To enhance the network setup, you can update the configuration to enable the VPC option and attach a Private Network to your Apple silicon server. Update your `resources.tf` file with the following:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
7. Enable Virtual Private Cloud (VPC) and a Private Network: To enhance the network setup, you can update the configuration to enable the VPC option and attach a Private Network to your Apple silicon server. Update your `resources.tf` file with the following:
7. Enable Virtual Private Cloud (VPC) and a Private Network. To enhance the network setup, you can update the configuration to enable the VPC option and attach a Private Network to your Apple silicon server. Update your `resources.tf` file with the following:

}
}
```
8. Apply the configuration update: Run the following command to apply the changes and update the server configuration:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
8. Apply the configuration update: Run the following command to apply the changes and update the server configuration:
8. Run the following command to apply the changes and update the server configuration:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants