Search⌘ K
AI Features

Deploying the Infrastructure

Explore how to deploy infrastructure to the cloud using Terraform in AWS. Understand how to configure and verify resources, manage Kubernetes clusters with K9s or kubectl, monitor deployment progress, and be aware of usage costs. This lesson helps you prepare and manage the cloud environment needed for event-driven Golang applications.

To create our deployment plan using the variable provided in the terraform.tfvars file, or when prompted to deploy it into AWS, we run the following command:

make deploy
Deploying the insfraturcture

This command will execute the plan and apply Terraform commands. These will be followed up with a command to fetch the cluster configuration so that we can connect to it with K9s.

Deployment plan and usage costs

The plan that Terraform creates will contain approximately 87 resources. During the apply stage, Terraform will make use of the plan and will immediately begin the process of creating, configuring, connecting, and verifying each resource. Terraform will do its best to ...