Build your first OpsWorks stack

Lab Steps

Logging in to the Amazon Web Services Console
Introduction to OpsWorks
Creating a VPC
Creating a VPC subnet
Creating a VPC Internet Gateway
Connecting the Internet Gateway to the VPC Route Table
Create the Stack
Create a Layer
Create an App
Deploy fizzbuzz-app
Delete the OpsWorks Stack

The hands-on lab is part of these learning paths

DevOps Engineer – Professional Certification Preparation for AWS
course-steps 35 certification 5 lab-steps 18 quiz-steps 2 description 3
SysOps Administrator – Associate Certification Preparation for AWS
course-steps 34 certification 5 lab-steps 30 quiz-steps 4 description 5
Cloud Configuration Management Tools with Ansible, Puppet, and Chef
course-steps 4 certification 1 lab-steps 2 quiz-steps 1
DevOps Fundamentals
course-steps 4 certification 1 lab-steps 3
more_horiz See 1 more

Ready for the real environment experience?

Time Limit1h
star star star star star-half


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


March 10th, 2020 - Updated lab steps to check whether the student performed the required actions

January 10th, 2019 - Added a validation Lab Step to check the work you perform in the Lab

September 9th, 2018 - Updated images and instructions to reflect the new VPC and OpsWorks flows

September 7th, 2018 - Updated images and instructions to improve lab experience

About the Author

Ryan and his faithful business partner Jade build tools for OpenStack and AWS to automate support of high-availability applications. Offline, he can be found buried in human factors books looking for ways to build more resilient systems.

Ryan loves working with large systems, the less predictable the better. Scaling, load balancing, and graceful failure handling are his favorite classes of problems.

His free time quickly fills with personal projects and self directed research on new tools or different areas of software development.