Workflow for Setting Up a High Availability Cluster in Alibaba Cloud Platform
Step 1: Deploy with a Terraform template in Alibaba Cloud
Deploy this solution in the Alibaba Cloud Portal using Terraform.
Deploy the Cloud Firewall Gateway Cluster in Alibaba Cloud
Use this Terraform Template: Check Point Cloud Firewall Gateway.
Deploy the Check Point Security Management Server
Use one of the options below to deploy the Check Point Security Management Server
Dedicated Check Point server that runs Check Point software to manage the objects and policies in a Check Point environment within a single management Domain. Synonym: Single-Domain Security Management Server..
-
Use the existing on-premises Security Management Server
Check Point Single-Domain Security Management Server or a Multi-Domain Security Management Server., or existing Security Management Server in Alibaba Cloud Platform.If the Security Management Server is communicating over a private IP addresses with the Cloud Firewall Gateway
Check Point Virtual Security Gateway that protects dynamic virtual environments with policy enforcement. Cloud Firewall Gateway inspects traffic between Virtual Machines to enforce security, without changing the Virtual Network topology., then make sure that the Security Management Server has connection to the Security VPC where they are deployed. -
Deploy a new Security Management Server with this Terraform template: Check Point Security Management Server.
|
|
Note - For direct access to the Cloud Firewall Gateway, deploy the Security Management Serverin the same Security VPC where you deployed the Cloud Firewall Gateway Cluster |
To configure the Check Point Security Management Server, follow the steps in Security Management Administration Guide of your version.
At least five minutes are needed for the deployment. After the deployment is finished, information is displayed in the deployment terminal, such as the public IP addresses created and the network used for Primary Cluster Synchronization used later in this guide.
|
|
Notes about the templates:
|
Step 2: Configure Cluster Objects in SmartConsole
To configure objects in SmartConsole:
-
If the Security Management Server is deployed in Alibaba Cloud Platform and manages a Cluster Member in a different VPC, then modify the Security Management Server object in SmartConsole
Check Point GUI application used to manage a Check Point environment - configure Security Policies, configure devices, monitor products and events, install updates, and so on. to have the public IP address.Click Publish to apply the change.
-
Click the Objects menu > New > More > Network Object > Gateways & Servers > Cluster > New Cluster.
-
Select Classic Mode.
The Check Point Installed Gateway Cluster classic window opens.
-
Define the Cluster's general properties:
In the Cluster Name field, enter a name for the Cluster object (as in "Cluster_HA").
In the IPv4 Address field, enter the Cluster IP address (VIP). You can find the Cluster IP address in the Alibaba Cloud Platform portal:
-
Browse to the ECS page.
-
Locate Member A under instances.
-
Use the IP address property.
-
-
Define the Cluster Members:
-
In the Cluster's object left pane, click Cluster Members.
-
Select Member A
-
Click Add > New Cluster Member.
-
In the Name field, enter the member's name (in our example: Member_A).
-
In the IPv4 Address field, enter the member's IP address of its management interface (eth1).
-
If the management connects to the Cluster Members over a private IP address, enter the private IP of the interface.
-
-
If the management connects to the Cluster Members over a public IP address, enter the Elastic IP address of the interface.
-
Click Communication.
-
Enter the one-time activation key used in the Terraform Template.
-
Click Initialize.
-
-
Member B
-
Click Add > New Cluster Member.
-
In the Name field, enter a member's name (in our example: Member_B).
-
In the ;IPv4 Address field, enter the member's IP address of its external interface (eth1)
-
If the management is connecting to the Cluster Members over private IP address, enter the private IP of the interface.
-
-
If the management is connecting to the Cluster Members over public IP address, enter the Elastic IP address of the interface.
-
Click Communication
-
Enter the one-time activation key used in the Terraform Template.
-
Click Initialize.
-
-
-
Get the Cluster's Topology:
-
In the Cluster's object left pane, click Network Management.
-
Click Get Interfaces > Get Interfaces With Topology.
-
Click eth0, in the Network Type select Private.
-
From the Network eth0 window, click Topology and disable Anti-Spoofing.
-
Click eth1, in the Network Type select Sync.
-
From the Network eth1 window, click Topology and disable Anti-Spoofing.
-
Click eth2, in the Network Type select Private.
-
From the Network eth2 window, click Topology and disable Anti-Spoofing.
-
-
The IPsec VPN
Check Point Software Blade on a Security Gateway that provides a Site to Site VPN and Remote Access VPN access. blade is automatically enabled. To use the VPN blade, see Step 7: Configure VPN. Otherwise, disable the VPN blade. -
Verify the settings:
-
To close the window, click OK.
-
Install policy on the Cluster.
-
A few minutes after the applicable Access Control Policy is installed, these changes occur automatically in Alibaba Cloud Platform:
-
In each of the internal vSwitch, an Alibaba Cloud Platform Route routes all outbound traffic (0.0.0.0/0) to the Active member.
|
|
Notes:
|
Step 3: Enable Outbound Traffic
To enable outbound traffic:
-
From SmartConsole, connect to the Security Management Server.
-
Find the Security Cluster object in the Gateways & Servers tab.
-
Select the NAT tab.
-
Check the Hide internal networks behind the Gateway's external IP check box.
-
Click OK.
-
Install policy.
|
|
Note - NAT does not support Connection synchronization during failover. If you configure the Cluster to always hide the internal networks (by selecting to automatically add address translation rules - instead of the option described above) this prevents connection synchronization in additional use cases, such as East-West traffic between internal VPCs. |
Step 5: Create Object LocalGatewayExternal
In SmartConsole, create the Dynamic object called LocalGatewayExternal.
This object represents the private Cluster Member's IP addresses.
-
Click Objects menu > More object types > Network Object > Dynamic Object > New Dynamic Object.
Enter this exact name (case-sensitive, no spaces):
LocalGatewayExternal -
Click OK.
-
Publish the SmartConsole session.
|
|
Note - This Dynamic object step is used in Step 7: Configure VPN |
Step 6: Configure Inbound Protection
Overview
-
You need to configure Access Control and NAT rules for North-South inbound traffic.
-
You can configure the Cluster's External IP to listen on the TCP port 443, and forward this traffic to the Active Cluster Member. The Active Cluster Member then inspects the traffic and forward it to the Application server on the TCP port 8084.
-
The Active Cluster Member uses NAT to forward traffic that belongs to the two web applications, to the appropriate web server.
-
NAT rules are defined with the special Dynamic Object
Special object type, whose IP address is not known in advance. The Security Gateway resolves the IP address of this object in real time.. -
The Dynamic object
LocalGatewayExternalrepresents the private IP addresses of the external interface of Member 1 and Member 2.
For more information, see Step 5: Create Object LocalGatewayExternal.
To configure Inbound Protection:
-
Connect with SmartConsole to your Security Management Server.
-
Create a host object to represent the specific host that you want to access through the Internet.
-
Create a new TCP service.
Do the following for each internal port, such as port 8081.
Do these steps:
-
Click the Objects menu > More object types > Service > New TCP.
-
Enter a descriptive name. For example:
http-8081 -
In the Protocol field, select the applicable protocol (such as HTTP or HTTPS).
-
In the Port field, select Customize and enter the port number. For example: 8081
-
Click OK.
-
Configure Access Control and NAT rules for North-South inbound traffic by using the following NAT rules:
Create a NAT rule with these values.
|
NAT Rule |
Value |
|---|---|
|
Rule No |
1 |
|
Original Source |
All_Internet (do not use *Any) |
|
Original Destination |
LocalGatewayExternal |
|
Original Services |
The service object that represents the internal port |
|
Translated Source |
Original |
|
Translated Destination |
The Host object that represents your web server |
|
Translated Services |
The service object that represents the port on which the Active member listens (for example, HTTP) |
|
Install On |
*Policy Targets |
About this NAT rule:
-
Matches any traffic that arrives at the Cloud Firewall Gateway on the applicable internal port.
-
Translates the destination IP address to the IP address of the Web Servers.
Step 7: Configure VPN
|
Step |
Description |
||
|---|---|---|---|
|
1 |
Create a Network Group object to represent the encryption domain of the cluster:
|
||
|
2 |
Decide if you want to proceed with a default VPN Community or use any of your existing VPN Communities. In the first case, just follow the steps below. In the second case, make sure the VPN Community you plan to use is properly configured. For that:
|
||
|
3 |
Enable the VPN Blade and configure your Network Group as the encryption domain of the cluster object:
|
||
|
4 |
Configure the VPN community:
|
||
|
5 |
Configure the outgoing VPN interface:
|
||
|
6 |
Configure the VPN Community to use Permanent Tunnels:
|
||
|
7 |
Install the applicable Access Control Policy on the cluster object. |