Overview
OpenTofu on Ubuntu 24.04 LTS provides a fully configured, production-ready environment for managing infrastructure as code on AWS.
OpenTofu is an open-source fork of Terraform, maintained by the Linux Foundation under the MPL 2.0 license. It is fully compatible with existing Terraform configurations, providers, and modules, making it a drop-in replacement for teams looking for a truly open-source IaC solution.
This AMI is built on a minimal installation of Ubuntu 24.04 LTS (Noble Numbat), updated to the latest security patches, and includes OpenTofu pre-installed and ready to use. It is designed for DevOps engineers, platform teams, and developers who want to manage AWS infrastructure without spending time on tool installation and configuration.
Key components included:
- OpenTofu 1.12.1 (Infrastructure as Code, Terraform-compatible)
- Git version control
- AWS CLI v2
- jq (JSON processing)
OpenTofu supports all Terraform providers and modules. Existing .tf configuration files work without modification. The syntax, commands (tofu plan, tofu apply, tofu destroy), and workflow are identical to Terraform.
The system is security hardened following best practices. SSH access uses key pair authentication only. Automatic security updates are enabled by default. AWS Security Groups are recommended for network access control.
This AMI is suitable for infrastructure provisioning, multi-cloud management, CI/CD pipelines, GitOps workflows, environment automation, and any use case where Terraform is commonly used.
Highlights
- Terraform compatible - Drop-in replacement for Terraform. Works with existing .tf files, providers, and modules without modification. Same commands, same workflow.
- Fully open source - Maintained by the Linux Foundation under MPL 2.0 license. No vendor lock-in, no commercial restrictions, community-driven development.
- Ready to use - OpenTofu pre-installed on Ubuntu 24.04 LTS with Git, AWS CLI v2, and jq. Security hardened with automatic updates. Start managing infrastructure immediately.
Details
Introducing multi-product solutions
You can now purchase comprehensive solutions tailored to use cases and industries.
Features and programs
Financing for AWS Marketplace purchases
Pricing
- ...
Dimension | Cost/hour |
|---|---|
t3.small Recommended | $0.10 |
t3.micro | $0.10 |
t2.micro | $0.10 |
m7a.16xlarge | $0.308 |
c6i.4xlarge | $0.148 |
i3en.12xlarge | $0.308 |
m5dn.xlarge | $0.10 |
m5n.metal | $0.365 |
c5.xlarge | $0.10 |
r7iz.4xlarge | $0.148 |
Vendor refund policy
no refund
Custom pricing options
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
64-bit (x86) Amazon Machine Image (AMI)
Amazon Machine Image (AMI)
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
This is the release of OpenTofu on Ubuntu 24.04 LTS AMI.
Included Software:
- OpenTofu 1.12.1 (Infrastructure as Code tool, Terraform-compatible)
- Git 2.43.0 (version control for IaC configurations)
- AWS CLI 2.x (AWS service management)
- jq 1.7 (JSON processing)
- curl (HTTP client)
Security:
- SSH hardened: root login disabled, password authentication disabled
- Automatic security updates enabled via unattended-upgrades
- AWS Security Groups recommended for network access control
Optimizations:
- Minimal installation with only essential packages
- OpenTofu ready to use out of the box
- Compatible with existing Terraform configurations and providers
Additional details
Usage instructions
SSH to the instance and login as 'ubuntu' using the key pair specified at launch. For more details on connecting to a Linux instance, see: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AccessingInstancesLinux.html
Once connected, refer to the documentation in /home/ubuntu/ for quick start and configuration guidance:
- README.md - Environment overview and component versions
- deployment.md - Deployment guide with OpenTofu usage, AWS provider setup, and common patterns
Resources
Vendor resources
Support
Vendor support
For product technical support, please contact prosupport@hanweie.com
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.
Similar products
