Operation managers always require infrastructure provisioning for cloud-native applications and environments. Terraform is one of the widely used tools by the IT operation team to automate setting up Infrastructure. However, developers still need to wait for the operation team to provision Infrastructure for their software. And this is non-continuous & time-consuming.
Spinnaker provides automated pipelines and is used by many organizations for continuous delivery. Making Terraform a part of the structured and automated workflow would make the developer and ops team’s life easy. In this blog, we shall specify how organizations can leverage Spinnaker and Terraform integration to achieve the ability to scale up and down Infrastructure on-demand while achieving continuous delivery.
Watch the on demand webinar on integrating Spinnaker with Terraform.
In this webinar you will learn how to integrate Spinnaker with Terraform and save both time and money.
- How to configure the integration of Terraform plans with Spinnaker pipelines.
- Why integrating Spinnaker and Terraform will enable your DevOps team to do more and at a lower cost.
- How the OpsMx Spinnaker integration with Terraform is fundamentally different from a default integration
What is Terraform?
Hashicorp Terraform helps in building, changing, and versioning infrastructure safely and efficiently. It is cloud vendor agnostic. The infrastructure Terraform can be hosted on public clouds like Amazon Web Services, Microsoft Azure, and Google Cloud Platform, or on-prem in private clouds such as VMWare vSphere, OpenStack, or CloudStack. In addition, Terraform treats infrastructure as code (IaC), so you never have to worry about your infrastructure drifting away from its desired configuration.
Terraform and Spinnaker Integration
When implementing Continuous Delivery (CD), it’s critical to ensure the two products are integrated and working together. Deploying the application and the associated infrastructure reduces cycle times and reduces errors – without a tight integration, you are bound to have problems in production.
OpsMx Enterprise for Spinnaker(OES) offers a dedicated microservice that handles Terraform operation like a plan, applying, and destroying infrastructure. OES provides an open-source Terraspin service (and a custom job) that seamlessly integrates Spinnaker. Terraspin allows developers and ops teams to execute Terraform templates or scripts and deploy/destroy infrastructure using Spinnaker deployment pipelines.
Benefits of Spinnaker and Terraform integration
The ability to provisioning and [de]commissioning of infrastructure on-demand, with the help of Terraform and Spinnaker integrations, has many benefits:
- Operational Benefits:
- Manage and orchestrate Terraform scripts on demand
- Reuse Terraform scripts to build and tear down infrastructure
- Zero dependence on active managers
- Business Benefits:
- Increase in the pace of software delivery with the end-to-end automation
- Increase productivity of dev and ops team
- Reduce cost