Build your first OpsWorks stack

Beginner

846 students completed the lab in ~45m

Total available time: 1h:0m

350+ 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're 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 and your needs change.

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

You'll build and learn following these steps:

Log In to the Amazon Web Service Console

Your first step to start the laboratory experience

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.