Building Your First Amazon Virtual Private Cloud (VPC)

Building Your First Amazon Virtual Private Cloud (VPC)

1 jam 25 menit 8 Kredit

SPL-13 - Version 4.2.9

© 2019 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

Other questions? Contact us at

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

  1. At the top of your screen, launch your lab by clicking Start Lab

This will start the process of provisioning your lab resources. An estimated amount of time to provision your lab resources will be displayed. You must wait for your resources to be provisioned before continuing.

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

  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 the message, You must first log out before logging into a different AWS account:

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

Bergabunglah dengan Qwiklabs untuk membaca tentang lab ini selengkapnya... beserta informasi lainnya!

  • Dapatkan akses sementara ke Konsol Amazon Web Services.
  • Lebih dari 200 lab mulai dari tingkat pemula hingga lanjutan.
  • Berdurasi singkat, jadi Anda dapat belajar dengan santai.
Bergabung untuk Memulai Lab Ini