Skip to content

A Terraform Module for how to run Cardano on Azure using Terraform

License

Notifications You must be signed in to change notification settings

regel/terraform-azure-cardano

Repository files navigation

Cardano Azure Module

License

This repo contains a set of modules in the modules folder for deploying a Cardano node on Azure using Terraform.

Backers 🎯 😍

Thank you to all our backers! 🙏 [Become a backer]

Sponsors 🐳

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

Donations in ADA 💎

Cardano hodlers can send donations to this wallet address: addr1q973kf48y9vxqareqvxr7flacx3pl3rz0m9lmwt4nej0zr99dw6mre74f2g48nntw5ar6mz58fm09sk70e0k4vgmkess27g47n

Demo

terraform apply

How to use this Module

This repo has the following folder structure:

  • modules: This folder contains several standalone, reusable, production-grade modules that you can use to deploy the application.
  • examples: This folder shows examples of different ways to combine the modules in the modules folder to deploy the application.

What's a Module?

A Module is a canonical, reusable, best-practices definition for how to run a single piece of infrastructure, such as a database or server cluster. Each Module is created using Terraform, and includes automated tests, examples, and documentation. It is maintained both by the open source community and companies that provide commercial support.

Instead of figuring out the details of how to run a piece of infrastructure from scratch, you can reuse existing code that has been proven in production. And instead of maintaining all that infrastructure code yourself, you can leverage the work of the Module community to pick up infrastructure improvements through a version number bump.

Code included in this Module:

  • cluster: This module installs a Kubernetes cluster in Azure and network security plugins
  • helm-cardano: This module installs Kubernetes Helm releases
  • vault: This module configures an Azure Key Vault and network ACLs

How do I contribute to this Module?

Contributions are very welcome! Check out the Contribution Guidelines for instructions.

How is this Module versioned?

This Module follows the principles of Semantic Versioning. You can find each new release, along with the changelog, in the Releases Page.

During initial development, the major version will be 0 (e.g., 0.x.y), which indicates the code does not yet have a stable API.

How do I find the Blockchain snapshot

Cardano blockchain snapshots are updated daily. The URL of the snapshot can be set in pvc_source_url variable.

testnet:

echo $(curl -s https://downloads.csnapshots.io/snapshots/testnet/testnet-db-snapshot.json| jq -r .[].file_name ) 

mainnet:

echo $(curl -s https://downloads.csnapshots.io/snapshots/mainnet/mainnet-db-snapshot.json| jq -r .[].file_name ) 

About

A Terraform Module for how to run Cardano on Azure using Terraform

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published