alshawwaf / CHKP-AWS_TGW

Deploys a Check Point ASG solution in AWS with Transit Gateway using Terraform.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CHKP-AWS_TGW

Deploys a Check Point ASG solution in AWS with Transit Gateway using Terraform.

Requirements:

Example added to the end of .bashrc on your host:

export AWS_ACCESS_KEY_ID='XXXXXXXXXXXXXXXXX'

export AWS_SECRET_ACCESS_KEY='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'

export AWS_REGION=eu-central-1

Notes:

  • Management server communicate with gateways over public IPs
  • R80.30 gateways will be deployed

Run: Before you run the templates, variables.tf needs to be updated. At least AWS key, password, SIC key and SSH key. Update the variable with your hosts public IP for remote access. And make sure relevant variables (management_server_name, tgw_configuration_template_name and tgw_community_name) matches your Management server autoprovision configuration that you did above.

Put the files in a directory (download or git clone) on your host (the host where terraform is installed), and from that directory run:

  • 'terraform init'
  • 'terraform 0.12upgrade' (only if terraform version 0.12 is used)
  • 'terraform plan' (optional)
  • 'terraform apply'

Testing: When the deployment finishes, it prints the IP of the Jumphost

  • When the deployment finished it still takes 10-15 minutes for all the Check Point autoprovison to finish.
  • Test between spokes (E/W) by SSH'ing to the Jumphost (user: 'ubuntu' and need to use AWS key for authentication) and pinging the private web server in the other spoke (10.210.100.x).
  • Test outbound by pinging 8.8.8.8
  • Verify logs in SmartConsole

Stop/destroy: When finished, stop instances or run 'terraform destroy' to remove the deployment

Known issues:

  • Sometimes 'terraform destroy' fails. A rerun or two fixes it.

About

Deploys a Check Point ASG solution in AWS with Transit Gateway using Terraform.

License:GNU General Public License v3.0


Languages

Language:HCL 100.0%