hands-on lab

Creating a Webserver using Pulumi to Build and Manage Infrastructure

Beginner
1h
247
4.4/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Lab description

Pulumi is an Infrastructure as Code tool that supports multiple cloud providers. The key feature of Pulumi is that it allows you to describe your infrastructure using any of the popular programming languages it supports.

Using a programming language to describe your infrastructure allows you to re-use existing programming skills and develop infrastructure code using familiar tools (such as your favorite IDE) and established development workflows and practices.

In this lab, you will learn how to install and configure the Pulumi command-line tool, and you will learn how to use it to create a web server.

Learning Objectives

Upon completion of this beginner level lab, you will be able to:

  • Install the Pulumi command-line tool
  • Create and configure a new Pulumi project
  • Create an Amazon S3 bucket using Pulumi
  • Create an Amazon EC2 instance and configure it as a simple web server using Pulumi

Intended Audience

  • Cloud Engineers
  • DevOps Engineers
  • Developers 

Prerequisites

Knowledge and experience with the following will be beneficial, but is not required:

  • Concept of Infrastructure as Code
  • Amazon EC2
  • Amazon S3
  • The Linux Bash shell

The following courses can be used to fulfill the prerequisites:

 

Updates

October 10th, 2023 - Resolved Node.js issue

November 1st, 2022 - Addressed an issue preventing the pulumi up command from working

Environment before
Environment after
About the author
Avatar
Andrew Burchill
Labs Developer
Students
66,016
Labs
163
Courses
2
Learning paths
4

Andrew is a Labs Developer with previous experience in the Internet Service Provider, Audio Streaming, and CryptoCurrency industries. He has also been a DevOps Engineer and enjoys working with CI/CD and Kubernetes.

He holds multiple AWS certifications including Solutions Architect Associate and Professional.

Covered topics
Lab steps
Logging In to the Amazon Web Services Console
Connecting to the Virtual Machine using EC2 Instance Connect
Installing Pulumi and Creating a Project
Creating a Webserver with Pulumi