O'Reilly logo

Amazon Web Services in Action by Michael Wittig and Andreas Wittig

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Programming your infrastructure: the command line, SDKs, and CloudFormation

This chapter covers

  • Understanding the idea of infrastructure as code
  • Using the CLI to start a virtual server
  • Using the JavaScript SDK for Node.js to start a virtual server
  • Using CloudFormation to start a virtual server

Imagine that you want to create room lighting as a service. To switch off the light in a room with software, you need a hardware device like a relay that can break the circuit. This hardware device must have some kind of interface that lets you send it commands like on and off via software. With a relay and an interface, you can offer room lighting as a service. This also applies to virtual server as a service. If you want to start a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required