Creating a Compute Instance with the Linode Terraform Provider | Working With IaC Episode 1

preview_player
Показать описание
In this new series, Talia Nassi showcases how to build applications with Infrastructure as Code. In this episode, Talia uses a Linode Terraform provider to create a compute instance.

NOTE: When generating SSH keys, the ‘ssh-keygen’ command will generate two files, a public key and a private key. The public key has a “.pub” extension that should be entered in the “authorized_keys” parameter of your Terraform configuration file. The other file is your private key and is something a user should not share anywhere.

Chapters:
0:00 Introduction
0:20 Using IaC to Provision
0:50 Prerequisites
1:05 Overview of a Terraform Configuration File
2:05 Obtain Linode API Token
2:40 Create SSH Key
3:15 Add SSH Key to Build
3:42 Initialize Terraform
5:00 Check Deployment
5:40 Conclusion

#AkamaiDeveloper #Terraform #infrastructureascode
Product: Akamai, Terraform, Infrastructure as Code; Talia Nassi
Рекомендации по теме
Комментарии
Автор

3:19 for authorized_keys variable: the public key should be entered

crelloc
Автор

this video is laughable! The presenter is like "if you already have a key, you can overwrite it". what? if you have a key, you are probably using it somewhere, and you just lost it. Then ofc they show the private key as the thing to put in. The video description is updated noting you need to use the public key, but that is just lazy! Go back and edit the video! And there's no talk about a safer way to provide a token (reference a local config file or pass in as env variable) instead of keeping tokens in your terraform files which are probably going to end up in git. Making a video just to check some box "we make developer tutorials" is just terrible. Either learn what you are actually showing and make an informative video with good practices, or just don't make a video...

irreal