menu
arrow_back

Building Your First Amazon Virtual Private Cloud (VPC)

85m access · 30m completion
Connection Details

Warning: Do not transmit data into the AWS Console that is not related to Qwiklabs or the lab you are taking.

8 Credits

info_outline
This lab costs 8 Credits to run. You can purchase credits or a subscription under My Account.

01:25:00

Building Your First Amazon Virtual Private Cloud

SPL-13 - Version 4.2

© 2018 Amazon Web Services, Inc. and its affiliates. All rights reserved. This work may not be reproduced or redistributed, in whole or in part, without prior written permission from Amazon Web Services, Inc. Commercial copying, lending, or selling is prohibited.

Errors or corrections? Email us at aws-course-feedback@amazon.com.

Other questions? Contact us at https://aws.amazon.com/contact-us/aws-training/

Lab overview

In this lab, you will create a basic virtual private cloud (VPC) without using the VPC Wizard. The VPC that you build will include a web server and an Amazon RDS database. Once you have created both, you will connect your address book application running on your web server to your Amazon RDS for MySQL instance. Once you have successfully configured your address book application with your RDS instance, you will be able to add and remove contacts from the address book.

Topics covered

In this lab you will manually:

  • Create an Amazon Virtual Private Cloud (VPC)
  • Create a public and private subnets
  • Create an Internet gateway
  • Create a Route Table and added a route to the Internet
  • Create a security group for your web server to only allow HTTP traffic to your web server
  • Create a security group for your MySQL RDS instance to only allow MySQL traffic from your public subnets
  • Deploy a web server and a MySQL RDS instance
  • Configure your application to connect to your MySQL RDS instance

Amazon Virtual Private Cloud (VPC)

Amazon Virtual Private Cloud (Amazon VPC) lets you provision a logically isolated section of the Amazon Web Services (AWS) cloud where you can launch AWS resources in a virtual network that you define. You have complete control over your virtual networking environment, including selection of your own IP address range, creation of subnets, and configuration of route tables and network gateways. You can use both IPv4 and IPv6 in your VPC for secure and easy access to resources and applications.

Start Lab

Notice the lab properties below the lab title:

  • setup - The estimated time to set up the lab environment
  • access - The time the lab will run before automatically shutting down
  • completion - The estimated time the lab should take to complete
  1. Launch your lab by clicking Start Lab

If you are prompted for a token, use the one distributed to you (or credits you've purchased).

A status bar shows the progress of the lab environment creation process (the AWS Management Console is accessible during lab resource creation, but your AWS resources may not be fully available until the process is complete).

  1. Open your lab by clicking Open Console

This will automatically log you into the AWS Management Console.

Please do not change the Region unless instructed.

Common login errors

Error : Federated login credentials

If you see this message:

  • Close the browser tab to return to your initial lab window
  • Wait a few seconds
  • Click Open Console again

You should now be able to access the AWS Management Console.

Error: You must first log out

If you see this message:

  • Click To logout, click here
  • Close the browser tab to return to your initial Qwiklabs window
  • Click Open Console again

Join Qwiklabs to read the rest of this lab...and more!

  • Get temporary access to the Amazon Web Services Console.
  • Over 200 labs from beginner to advanced levels.
  • Bite-sized so you can learn at your own pace.
Join to Start This Lab
home
Home
school
Catalog
menu
More
More