Skip to content

ProductivityTools-Learning/ProductivityTools.Learning.NetworkScenarios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ProductivityTools.Learning.NetworkScenarios

Scenario 1:

  • Prod and Dev VPN should be connected with VPC Network peering
  • WebServer should be accessed from the Internet
  • Database should be accessed from WebServer
  • SRE should have access to WebServer and Database server
  • Dev VM should not be allowed to acces WebServer nor Database server
  • Dev VM should not be allowed to access facebook

Tutorial:

  • Create VPC network with two subnets

alt text

Create a rule for Network to allow for remote connection

alt text

Create 4 VMs

alt text

Install Apache on DatabaseServer

sudo apt-get update
sudo apt-get install apache2 -y 
echo '<!doctype html><html><body><h1>Hello World!</h1></body></html>' | sudo tee /var/www/html/index.html
for ((i=1;i<=50;i++)); do curl $MY_SERVER; done

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published