GithubHelp home page GithubHelp logo

boscodon / aws-vmseries-gwlb-poc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from paloaltonetworks/aws-vmseries-gwlb-poc

0.0 0.0 0.0 137 KB

License: Mozilla Public License 2.0

Shell 10.15% HCL 89.85%

aws-vmseries-gwlb-poc's Introduction

VM-Series with AWS GWLB Demo Guide

Overview

This code helps deploy all the resources required to successfully demonstrate the VM-Series reference architecture with the AWS Gateway Load Balancer. This deployment Post the successful deployment of the resources, including the Palo Alto Networks VM-Series Next Generation Firewall, you will be able to secure all Inbound, Outbound and East traffic to the 2 spoke servers also deployed as part of the demonstration.

Pre-requisites

  • Permissions to subscribe to VM-Series on the AWS Marketplace.
  • Permissions to deploy all networking resources like VPC, Subnets, etc.
  • Permissions to deploy EC2 instances and connect to them via SSH.

Demo Lab Setup

In this section, we will launch the lab environment. These are the steps that we will accomplish at this time.

  • Login to the AWS Console using the provided credentials and set up IAM roles
  • Subscribe to the Palo Alto Networks VM-Series PAYG on the AWS Marketplace.
  • Deploy lab environment using Terraform

Cloning the Git Repo

git clone https://github.com/PaloAltoNetworks/aws-vmseries-gwlb-poc.git && cd aws-vmseries-gwlb-poc

Deploying from local workspace

If you are attempting to deploy from your local workspace, you would need to update the below values on the aws-vmseries-gwlb-poc/terraform/vmseries/student.auto.tfvars file.

access-key      = ""
secret-key      = ""
region          = ""
ssh-key-name    = ""

In case you are using AWS CloudShell, you can ignore this step.

Run the setup

Once you have completed the above steps as required, ensure that you are in the root directory of the cloned repo and run the below command.

./setup.sh

It will take around 5 minutes to deploy all the lab components. Status will be updated on the cloudshell console as deployment progresses. At the end of deployment, you should see the message “Completed successfully!”

Demo Lab Teardown

Ensure that you have the permissions to delete all the resources that were created as part of the setup. Adjust the "cd" command below to change the directory as required. Run the below commands to teardown the setup.

cd ~/aws-vmseries-gwlb-poc/terraform/vmseries
terraform destroy -auto-approve

Connecting to the app servers

We will be using the user ‘ec2-user’ as the username to login to these applications.

On the AWS CloudShell

  • Navigate to the AWS CloudShell and run the below command to log in to the EC2 instance on the AWS environment. Make sure to replace the <instance-id> in the command below with the instance ID of the EC2 instance.
aws ec2-instance-connect ssh --instance-id <instance-id>

On the EC2 console

You could also connect to the servers directly on the EC2 console by selecting the instance that you want to connect to, and clicking on the Connect button provided above the instance list. Ensure that you use the username as ec2-user for logging in.

Fin

aws-vmseries-gwlb-poc's People

Contributors

vsrkrishnan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.