Postingan

Menampilkan postingan dengan label Terraform

Cara konfigurasi Server dan perangkat jaringan dengan automasi

Berikut versi yang sudah diperbaiki konteks, tata bahasa, dan alurnya agar lebih rapi dan profesional: Secara umum, dapat dikatakan bahwa hasil akhirnya tetap sama—misalnya untuk kebutuhan VPN, web server, high availability, dan lain-lain. Namun, setiap sistem operasi (OS) maupun vendor memiliki interface dan metode konfigurasi yang berbeda-beda. Ada beberapa cara untuk melakukan konfigurasi sistem, di antaranya: 1. GUI (Graphical User Interface) / Web Interface Metode ini dibuat untuk memudahkan interaksi antara manusia dan sistem melalui tampilan grafis. Dengan GUI, pengguna dapat melihat tampilan visual dan melakukan tindakan seperti klik kiri, klik kanan, drag and drop, scroll, hover, dan sebagainya. 2. CLI (Command Line Interface) Pada metode ini, pengguna lebih sering berinteraksi menggunakan perintah (command) yang telah disediakan oleh OS atau vendor. Contohnya seperti: route ipconfig ifconfig tracert nslookup konfigurasi VLAN perintah VPN dan berbagai command jaringan ...

Basic Terraform to create an instance on AWS

This is basic implement infrastructure as code using terraform: First, install terraform binary, this is like a command: https://nciptandani.blogspot.com/2020/11/how-to-install-terraform-command-in.html Second, because of using AWS so install AWS-CLI and then configure it with your credentials like using AWS IAM policy EC2-Full access, in this tutorial just only to create an instance. Third, create a folder for the project mkdir learn-terraform cd learn-terraform vim main.tf   resource "aws_instance" "my-practice-www1" {   ami = "ami-015a6758451df3cb9"   instance_type = "t2.micro"   } The last, executing the terraform command. Default AWS configuration will be called automatically by the terraform so just executing that code with the terraform command below: terraform init terraform plan terraform apply So yeah just one file main.tf with some code we can create an instance on AWS but of course with the default configuration. More resources:...

How to install Terraform command in the GNU/Linux Debian

Gambar
Terraform is one of the popular tools to implement infrastructure as code (IAC). My trial is using GNU/Linux Debian. Here are two steps to install the terraform command: Terraform can be downloaded on this website: https://www.terraform.io/downloads.html Unzip it's the file to the binary PATH Reference: https://www.terraform.io/downloads.html