An open API service indexing awesome lists of open source software.

https://github.com/kitsuyaazuma/learn-linux-kernel

Learn Linux Kernel on Azure VM
https://github.com/kitsuyaazuma/learn-linux-kernel

azure golang linux-kernel python terraform

Last synced: 3 months ago
JSON representation

Learn Linux Kernel on Azure VM

Awesome Lists containing this project

README

          

# Learn Linux Kernel

The implementation code for the following book:

[[試して理解]Linuxのしくみ ―実験と図解で学ぶOS、仮想マシン、コンテナの基礎知識【増補改訂版】](https://amzn.asia/d/4Kf8V8v)

## Use Terraform to create a Linux VM
Terraform code to set up a VM in Azure for learners who do not have a Linux machine.

architecture

[クイック スタート: Terraform を使用して Linux VM を作成する \- Azure Virtual Machines \| Microsoft Learn](https://learn.microsoft.com/ja-jp/azure/virtual-machines/linux/quick-create-terraform)

```bash
cd terraform

terraform init -upgrade

terraform plan -out main.tfplan
terraform apply main.tfplan

terraform output -raw tls_private_key > id_rsa
terraform output public_ip_address | sed -e 's/"//g' | pbcopy

eval `ssh-agent`
ssh-add
ssh -i id_rsa -A azureuser@

terraform plan -destroy -out main.destroy.tfplan
terraform apply main.destroy.tfplan
```