New Terraform Tutorial: Manage Private Environments using Terraform Cloud Agents
Manage private environments through Terraform Cloud using self-hosted agents.
Terraform Cloud’s Business Tier offering allows you to manage resources in private data centers using self-hosted agents. The standard Terraform Cloud setup requires that any resources managed by remote execution are accessible over public internet. With agents, you can also manage infrastructure in private environments without modifying your network perimeter to allow for public ingress. The agent runs within your environment and polls Terraform Cloud for workloads to execute. It is available as both a Docker container and standalone x86 binary.

In the new tutorial, you will configure a containerized Terraform Cloud agent to run on your local machine and manage an Nginx container. By the end of the exercise, you will know how to configure your Terraform Cloud workspaces to use agents for infrastructure management.
» Next Steps
Terraform Cloud agents allow you to take advantage of the Terraform Cloud management interface for more of your infrastructure topology without exposing the resources to the public internet. To get a broader picture of Terraform Cloud Agents and Terraform Cloud/Enterprise, visit the resources below:
- Learn more in the Terraform Cloud Agents documentation.
- Read about other Business Tier features.
- Explore the Terraform Cloud/Enterprise provider.
For even more news about our latest tutorials being added to HashiCorp Learn, follow @HashiCorp on Twitter.
Sign up for the latest HashiCorp news
More blog posts like this one

Terraform without writing code: How to build self-service with no-code modules
Terraform no-code modules are an advanced infrastructure as code best practice that helps everyone in the org use standard, approved modules, even if you don’t know Terraform.

Helvetia’s journey building an enterprise serverless product with Terraform
What started as a basic compliance challenge for one team at Helvetia Insurance evolved into a comprehensive enterprise solution for running self-managed installations like a cloud service, using Terraform to manage a serverless architecture.

Scalable, secure infrastructure code the right way: Use a private module registry
How do you ensure standard security, compliance, and reliability best practices are followed across your organization when provisioning infrastructure? A private module registry is the first step.