-
Notifications
You must be signed in to change notification settings - Fork 237
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
base: main
Are you sure you want to change the base?
Conversation
tutorials/how-to-setup-applesilicon-server-with-terraform-ansible/index.mdx
Outdated
Show resolved
Hide resolved
tutorials/how-to-setup-applesilicon-server-with-terraform-ansible/index.mdx
Outdated
Show resolved
Hide resolved
tutorials/how-to-setup-applesilicon-server-with-terraform-ansible/index.mdx
Outdated
Show resolved
Hide resolved
tutorials/how-to-setup-applesilicon-server-with-terraform-ansible/index.mdx
Outdated
Show resolved
Hide resolved
tutorials/how-to-setup-applesilicon-server-with-terraform-ansible/index.mdx
Outdated
Show resolved
Hide resolved
tutorials/how-to-setup-applesilicon-server-with-terraform-ansible/index.mdx
Outdated
Show resolved
Hide resolved
tutorials/how-to-setup-applesilicon-server-with-terraform-ansible/index.mdx
Outdated
Show resolved
Hide resolved
tutorials/how-to-setup-applesilicon-server-with-terraform-ansible/index.mdx
Outdated
Show resolved
Hide resolved
tutorials/how-to-setup-applesilicon-server-with-terraform-ansible/index.mdx
Outdated
Show resolved
Hide resolved
tutorials/how-to-setup-applesilicon-server-with-terraform-ansible/index.mdx
Outdated
Show resolved
Hide resolved
tutorials/how-to-setup-applesilicon-server-with-terraform-ansible/index.mdx
Outdated
Show resolved
Hide resolved
tutorials/how-to-setup-applesilicon-server-with-terraform-ansible/index.mdx
Outdated
Show resolved
Hide resolved
tutorials/how-to-setup-applesilicon-server-with-terraform-ansible/index.mdx
Outdated
Show resolved
Hide resolved
tutorials/how-to-setup-applesilicon-server-with-terraform-ansible/index.mdx
Outdated
Show resolved
Hide resolved
tutorials/how-to-setup-applesilicon-server-with-terraform-ansible/index.mdx
Outdated
Show resolved
Hide resolved
…ble/index.mdx Co-authored-by: Benedikt Rollik <[email protected]>
…ble/index.mdx Co-authored-by: Benedikt Rollik <[email protected]>
…ble/index.mdx Co-authored-by: Benedikt Rollik <[email protected]>
…ble/index.mdx Co-authored-by: Benedikt Rollik <[email protected]>
…ble/index.mdx Co-authored-by: Benedikt Rollik <[email protected]>
…ble/index.mdx Co-authored-by: Benedikt Rollik <[email protected]>
…ble/index.mdx Co-authored-by: Benedikt Rollik <[email protected]>
…ble/index.mdx Co-authored-by: Benedikt Rollik <[email protected]>
…ble/index.mdx Co-authored-by: Benedikt Rollik <[email protected]>
…ble/index.mdx Co-authored-by: Benedikt Rollik <[email protected]>
…ble/index.mdx Co-authored-by: Benedikt Rollik <[email protected]>
…ble/index.mdx Co-authored-by: Benedikt Rollik <[email protected]>
…ble/index.mdx Co-authored-by: Benedikt Rollik <[email protected]>
…ble/index.mdx Co-authored-by: Benedikt Rollik <[email protected]>
…ble/index.mdx Co-authored-by: Benedikt Rollik <[email protected]>
…ble/index.mdx Co-authored-by: Benedikt Rollik <[email protected]>
…ble/index.mdx Co-authored-by: Benedikt Rollik <[email protected]>
…ble/index.mdx Co-authored-by: Benedikt Rollik <[email protected]>
…ble/index.mdx Co-authored-by: Benedikt Rollik <[email protected]>
Co-authored-by: Benedikt Rollik <[email protected]>
da2748a
to
0f533c7
Compare
tutorials/how-to-setup-applesilicon-server-with-terraform/index.mdx
Outdated
Show resolved
Hide resolved
tutorials/how-to-setup-applesilicon-server-with-terraform/index.mdx
Outdated
Show resolved
Hide resolved
tutorials/how-to-setup-applesilicon-server-with-terraform/index.mdx
Outdated
Show resolved
Hide resolved
tutorials/how-to-setup-applesilicon-server-with-terraform/index.mdx
Outdated
Show resolved
Hide resolved
tutorials/how-to-setup-applesilicon-server-with-terraform/index.mdx
Outdated
Show resolved
Hide resolved
tutorials/how-to-setup-applesilicon-server-with-terraform/index.mdx
Outdated
Show resolved
Hide resolved
tutorials/how-to-setup-applesilicon-server-with-terraform/index.mdx
Outdated
Show resolved
Hide resolved
tutorials/how-to-setup-applesilicon-server-with-terraform/index.mdx
Outdated
Show resolved
Hide resolved
tutorials/how-to-setup-applesilicon-server-with-terraform/index.mdx
Outdated
Show resolved
Hide resolved
tutorials/how-to-setup-applesilicon-server-with-terraform/index.mdx
Outdated
Show resolved
Hide resolved
Co-authored-by: Benedikt Rollik <[email protected]>
|
||
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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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`: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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: |
Your checklist for this pull request
Description
Please describe what you added or changed.