- Lab
- A Cloud Guru
Provision an OpenVPN Server and Client Instances on Amazon EC2
With security becoming more and more of a concern and remote work becoming more standard, many companies choose to implement a Virtual Private Network (VPN) to provide employees with a secure connection to access company resources. In this hands-on lab, you will be tasked with provisioning an OpenVPN server and client with the appropriate configurations to facilitate communication.
Path Info
Table of Contents
-
Challenge
Access the AWS Web Console and Navigate to the EC2 Service
- Use the link provided to access the AWS web console login page.
- Enter the IAM username and password provided to log in.
- Navigate to the EC2 service.
-
Challenge
Provision an OpenVPN Server on EC2
- Click Launch Instance in the EC2 service.
- Configure the OpenVPN server with the following specifications:
- Name: vpn_server
- Image: Ubuntu 20.04
- Instance type: t2.micro
- Key pair: vpnserver
- Security group rules (from anywhere):
22/TCP
,943/TCP
,945/TCP
,443/TCP
,1194/UDP
- Storage: 1x8 GiB gp2
- Click Launch Instance.
-
Challenge
Provision an OpenVPN Client on EC2
- Click Launch Instance in the EC2 service.
- Configure the OpenVPN client with the following specifications:
- Name: vpn_client
- Image: Ubuntu 20.04
- Instance type: t2.micro
- Key pair: vpnclient
- Security group rules (from anywhere):
22/TCP
- Storage: 1x8 GiB gp2
- Click Launch Instance.
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.