Git Product home page Git Product logo

ibmcloud-panorama's Introduction

Deploy Panorama VSI on IBM Cloud

This directory contains the terraform code to create a Panorama Instance with one network interface(management).

Use this template to create Panorama virtual instance using qcow2 image from your IBM Cloud account in IBM Cloud VPC Gen2 by using Terraform or IBM Cloud Schematics.  Schematics uses Terraform as the infrastructure-as-code engine.  With this template, you can create and manage infrastructure as a single unit as follows. For more information about how to use this template, see the IBM Cloud Schematics documentation.

Deployment Options

Note :

  • You can either run the code using your own Terraform CLI or use the IBM Cloud Schematics Workspace which can run Terraform for you.

  • (Option 1) IBM Cloud Schematics: Create a schematics workspace and provide the github repository url (https://github.com/PaloAltoNetworks/ibmcloud) under settings to pull the latest code, so that you can set up your deployment variables from the Create page. Once the template is applied, IBM Cloud Schematics provisions the resources based on the values that were specified for the deployment variables.

  • (Option 2) Terraform CLI v0.12.x:

    terraform init

    terraform apply --auto-approve

Prerequisites

Dependencies

Before you can apply the template in IBM Cloud, complete the following steps.

  1. Ensure that you have the following permissions in IBM Cloud Identity and Access Management:
    • Manager service access role for IBM Cloud Schematics
    • Operator platform role for VPC Infrastructure
  2. Ensure the following resources exist in your VPC Gen 2 environment
    • VPC ()
    • SSH Key: Public SSH Key Doc
    • VPC has 3 subnets
    • (Optional): A Floating IP Address to assign to the management interface of Panorama instance post deployment

Required Parameters for Deployment

Fill in the following values, based on the steps that you completed before you began.

Key Definition Value Example
region The VPC region that you want your VPC virtual servers to be provisioned. "us-south"
vnf_cos_image_url This is the vendor COS image SQL URL where the image(Panorama qcow2 image) is located. This is to copy the image from COS to VPC custom image in your IBM Cloud account VPC Infrastructure. First time, the image needs to be copied to your VPC cloud account. "cos://us-east/palo-alto/Panorama-KVM-10.0.4.qcow2"
vnf_profile The profile of compute CPU and memory resources to be used when provisioning the vnf instance. To list available profiles, run ibmcloud is instance-profiles. "bx2-8x32"
subnet_id1 The ID of the subnet(management) which will be associated with first interface of the VNF instance. Click on the subnet details in the VPC Subnet Listing to determine this value "0717-xxxxxx-xxxx-xxxxx-8fae-xxxxx"
vnf_security_group The name of the security group to which the VNF Instance's first interface(management) belong to "panorama-mgmt-sg"
vnf_vpc_image_name The starting name of the Panorama qcow2 Custom Image to be provisioned in your IBM Cloud account and (if already available) to be used to create the Panorama virtual server instance. The name is appended with UUID, to create a unique custom image for every run. "panorama-image"
vnf_instance_name The name of the VNF instance to be provisioned. "panorama-vsi"
ssh_key_name The name of your public SSH key to be used for VSI. Follow Public SSH Key Doc for creating and managing ssh key. "panorama-ssh-key"

Notes

If there is any failure during VSI creation, the created resources must be destroyed before attempting to instantiate again.

  • If you are using IBM Cloud Schematics:
    • To destroy resources go to Schematics -> Workspaces -> [Your Workspace] -> Actions -> Delete to delete all associated resources.
  • If you are using Terraform CLI:
    • Execute terraform destroy --auto-approve

Post Panorama VSI Instance Spin-up (Optional)

  1. From the VPC list, confirm the Panorama VSI is powered ON with green button
  2. Assign a Floating IP to the Panorama VSI. Refer the steps below to associate floating IP
    • Go to VPC Infrastructure Gen 2 from IBM Cloud
    • Click Floating IPs from the left pane
    • Click Reserve floating IP -> Click Reserve IP
    • There will be a (new) Floating IP address with status Unbind
    • Click Three Dot Button corresponding to the Unbound IP address -> Click Bind
    • Select Panorama instance (eth0) from Instance to bind column.
    • After clicking Bind, you can see the IP address assigned to your Panorama-VSI Instance.
  3. Wait for Panorama VSI to boot up.
  4. From the CLI, run ssh -i private_key.pem admin@<Floating IP>.

Note: Default credentials are "admin":"admin" when using the Panorama qcow2 image. After the first login, you will be prompted to change your password for security reasons.

Support Policy

The code and script in the repo are released under an as-is, best effort, support policy. These scripts should be seen as community supported and Palo Alto Networks will contribute our expertise as and when possible. We do not provide technical support or help in using or troubleshooting the components of the project through our normal support options such as Palo Alto Networks support teams, or ASC (Authorized Support Centers) partners and backline support options. The underlying product used (Panorama) by the scripts are still supported, but the support is only for the product functionality and not for help in deploying or using the script itself. Unless explicitly tagged, all projects or work posted in our GitHub repository (at https://github.com/PaloAltoNetworks) or sites other than our official Downloads page on https://support.paloaltonetworks.com are provided under the best effort policy.

ibmcloud-panorama's People

Contributors

cperson-palo avatar rt696b75 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ibmcloud-panorama's Issues

[Community Health Assessment] Changes needed

This issue was opened by a bot called Community Health (PANW) because this repo has failed too many community health checks.

Repo maintainers: Please take the time to fix the issues in the table to reach the target score. These improvements will help others find your work and contribute to it. This issue will update as your score improves until it hits the target score.

Click More info for instructions to fix each item.

Health Check Pass Score More Info
Contains a meaningful README.md file 20 / 20 More info
SUPPORT.md file exists 0 / 20 More info
Repo has a description 15 / 15 More info
Has a recognized open source license 0 / 15 More info
Has a descriptive repo name 15 / 15 More info
Required topics attached to repo 15 / 15 More info
CONTRIBUTING.md file with contribution guidelines 0 / 5 More info
Has custom issue and pull request templates 0 / 5 More info

Current score: 65
Target threshold: 100
Total possible: 110

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.