The Pulumi Book
$19.99
Minimum price
$29.99
Suggested price

The Pulumi Book

A developer's guide to programming the cloud with TypeScript and Amazon Web Services

About the Book

☝️ CascadiaJS 2019 the talk that inspired the book!

About the Book

Pulumi is an open-source command-line tool and software-development kit (SDK) that helps you build, deploy, and manage cloud applications and infrastructure with modern programming languages like TypeScript, C#, Python, and Go. With Pulumi, you can build just about anything that can be built with the cloud today, from simple static websites and serverless applications to vast constellations of distributed microservices, all managed with code, using the languages and tools that you use every day.

In The Pulumi Book, you'll learn Pulumi from the ground up by writing several different kinds of practical applications in TypeScript and deploying them into the Amazon Web Services (AWS) cloud. Among the many topics we'll cover are:

  • Infrastructure as code: what it is, why how it works, and why you should care
  • The components of the Pulumi platform — the CLI, the Node.js SDK, and the state-management service and console — and and how to use them effectively
  • Designing and developing various kinds of applications, like static websites, serverless applications, container-based microservices, and more, using cloud-native patterns and architectures and the full breadth of the AWS platform
  • Building hybrid applications that blend application and infrastructure code, and that take full advantage of the modern JavaScript ecosystem
  • Provisioning and managing cloud-native SQL and NoSQL databases, managing DNS, securing web applications and APIs with SSL/TLS, and rolling your own authentication and authorization, all with JavaScript
  • Combining Pulumi with GitHub Actions to deploy into multiple environments using fully-automated, Git-driven CI/CD workflows
  • Writing programs that drive Pulumi itself — for example, from within an Express or Electron application
  • Using Pulumi for your own projects, in teams, and across organizations
  • And lots more!

Written for full-stack developers who might be new to the cloud and to infrastructure as code, The Pulumi Book is a hands-on guide that'll show you how to use the cloud more fully and effectively, using the skills you already have and the tools of your everyday workflow. By the end of the book, you'll not only be comfortable using Pulumi to manage your own applications and infrastructure, but you'll have made the leap to thinking of infrastructure not just as code, but as software, and of the cloud as a powerful new tool in your ever-expanding toolbox.

Updated regularly to cover the latest versions of Pulumi (3.x), Pulumi AWS (5.x), Pulumi AWSx (1.x), Node.js (18.x), and TypeScript (3.x).

  • Share this book

  • Categories

    • Cloud Computing
    • JavaScript
    • Web Development
    • Amazon Web Services
    • DevOps
    • AWS
    • Node.js
    • Computers and Programming
    • Software
    • Cloud Computing
    • Node.js
    • Software Architecture
    • Software Engineering
  • Feedback

    You must own a copy of this Book to access the forums.

    Email the Author(s)

About the Author

Christian Nunciato
Christian Nunciato

Christian Nunciato is a full-stack developer and staff software engineer at Pulumi. Before joining the Pulumi team, he was a principal engineer at Chef, where he helped create Chef's open-source application automation platform, Habitat. He lives in the Pacific Northwest and blogs infrequently at https://chris.nunciato.org. You'll also find him on Mastodon at https://hachyderm.io/@cnunciato.

Table of Contents

  • Thanks, and welcome!
  • Part 1: Foundations
  • Chapter 1: Introducing Pulumi
    • Infrastructure: it’s complicated
    • What is infrastructure as code?
    • What is Pulumi?
    • Why should I use Pulumi?
    • Summary
  • Chapter 2: Your first Pulumi program
    • Building a serverless cloud notifier
    • Creating the project and stack
    • Understanding the new project layout
    • Writing the code
    • Deploying the application
    • Updating the stack
    • Browsing the stack
    • Tidying up
    • Summary
  • Chapter 3: Projects and stacks
    • Monitoring a website’s uptime serverlessly
    • Creating the project and stack
    • Thinking in projects and stacks
    • Developing the application
    • Taking stock
    • Making the program configurable
    • Adding a production stack
    • Stepping back, and looking ahead
    • Tidying up
    • Summary
  • Chapter 4: Configuration and secrets
    • A quick recap
    • Introducing Pulumi config
    • Configuring with more than just strings
    • Introducing Pulumi secrets
    • Keeping secrets secret
    • Configuring with AWS environment variables
    • Updating and deploying the production stack
    • Tidying Up
    • Summary
  • Part 2: Building and managing applications with Pulumi
  • Chapter 5: Static Websites
    • First, you need a website
  • Appendix A: Setting Things Up
  • Notes

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub