Build your first OpsWorks stack


1134 students completed the lab in ~36m

Total available time: 1h:0m

603 students rated this lab!

Build your cloud infrastructure with Amazon OpsWorks

AWS OpsWorks is an application management tool that lets you codify your architecture as a set of layers, artifacts, and steps. Your application uses AWS resources, so you are already familiar with EC2, RDS, and DynamoDB, but without needing to provision and manage them manually. Chef configuration management handles automation on the instances, and you can scale your application based on time, load, or manually. OpsWorks grows with you, and you can add more components as you scale up or your needs change.

In this Lab, you will learn how to build the infrastructure and automate code deployment for a PHP application with OpsWorks.


Do you have questions about this Lab? Contact our cloud experts by sending an email to

Follow these steps to learn by building helpful cloud resources

Logging in to the Amazon Web Services Console

Your first step to start the Lab experience

Introduction to OpsWorks

Introduction to OpsWorks

Create a VPC

How to create a Virtual Private Cloud using the AWS Management Console 

Create a VPC subnet

How to create subnets inside a previously created VPC

Create a VPC Internet Gateway

How to create an Internet Gateway for your VPC

Connect the Internet Gateway to the VPC Route Table

Enable Internet connectivity by routing the external traffic to a VPC Internet Gateway

Create the Stack

OpsWorks manages resources by "Stack" which contain layers, apps, and more

Create a Layer

Add the app servers your application will be running on.

Create an App

An OpsWorks app is the code you'll be deploying to your instances. 

Deploy fizzbuzz-app

Deploy the demo app to your instance

Delete the OpsWorks Stack

Clean up the resources created in the lab.