Skip to Content
Terraform in Action
book

Terraform in Action

by Scott Winkler
July 2021
Intermediate to advanced
408 pages
9h 51m
English
Manning Publications
Content preview from Terraform in Action

9 Zero-downtime deployments

This chapter covers

  • Customizing resource lifecycles with the create_before_destroy flag
  • Performing Blue/Green deployments with Terraform
  • Combining Terraform with Ansible
  • Generating SSH key pairs with the TLS provider
  • Installing software on VMs with remote-exec provisioners

Traditionally, there has been a window of time during software deployments when servers are incapable of serving production traffic. This window is typically scheduled for early morning off-hours to minimize downtime, but it still impacts availability. Zero-downtime deployment (ZDD) is the practice of keeping services always running and available to customers, even during software updates. If a ZDD is executed well, users should not be aware ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Terraform in Action

Terraform in Action

Scott Winkler

Publisher Resources

ISBN: 9781617296895Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link