Deploying an EC2 Instance Using Cross-Stack References

30 minutes
  • 2 Learning Objectives

About this Hands-on Lab

In this lab, we will learn how to configure and use cross-stack references. We will use export and import commands in a template to enable the sharing of data between stacks.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Deploy the Network Stack with AWS CloudFormation

Deploy the sample network configuration stack from the URL provided in the instructions.
The lab files can be foud at:
https://github.com/natonic/CloudFormation-Deep-Dive/tree/master/Labs/CrossStack

Deploy an Amazon EC2 Instance using Cross-Stack References with AWS CloudFormation

Using the template provided in the instructions, deploy a new stack that will set up an EC2 instance and reference the sample network security stack.

Additional Resources

Log in to the AWS console with the credentials provided. Make sure you are in the us-east-1 region.

The template files for this hands-on lab can be found here.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?