terraform init # Initialize the Terraform configuration
terraform plan # Review the plan to see what resources will be created
terraform apply # Apply the configuration to create the resourcesterraform destroy # Destroy the resources created by Terraformterraform fmtterraform validate# Get the internal IP, external IP, nginx external IP
terraform output
# SSH into the instance
# (that you already setup the ssh config to use your private key)
ssh <your_username>@<public_ip>