- Lab
- A Cloud Guru
Launching an EC2 Instance with CDK
In this lab, we will deploy an EC2 instance within a public subnet of your VPC as part of a new CDK project. Upon completion of this lab, you will have launched a Cloud9 instance, edited terminal inputs, and created a new EC2 instance by deploying a CDK project.
Path Info
Table of Contents
-
Challenge
Launch a Cloud9 Instance
In the AWS console, launch a Cloud9 instance.
-
Challenge
Edit Your Terminal Inputs
Put together the code for CDK to be able to deploy the correct resources using the GitHub repo.
-
Challenge
Create a New EC2
Deploy your CDK stack, and check that your EC2 instance was deployed correctly. The total number of EC2 instances that should exist is 2:
- Cloud9
- Ec2CDKStack
What's a lab?
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.