This article explains how to create and configure a security group for your Public Cloud Instances.
A security group acts as a virtual firewall for your Public Cloud instances, allowing you to control inbound and outbound traffic.
Prerequisites
- Access to the Customer Portal account
- Enabled Leaseweb Public Cloud account.
Steps to follow
Log in to the Customer Portal
- Open your browser and go to the Customer Portal
- Sign in with your Leaseweb account credentials
Navigate to Security Groups
- From the left-hand menu, go to Public Cloud
- Under the submenu, click Security Groups
- You will see a list of all available security groups

Create a New Security Group
- Click the Create Security Group button
- Fill in the details:
- Name: Provide a descriptive name (e.g.,
web-frontend-sg
) - Description: Briefly explain the purpose (e.g., “Allows HTTP/HTTPS traffic for web servers”)
- Name: Provide a descriptive name (e.g.,

Add Firewall Rules
- Click + New Firewall Rule
- A pop-up window will appear
- Select the Protocol from the dropdown (TCP, UDP, ICMP, or ALL)
- Enter:
- Source Network: Define the IP/CIDR that can access
- Start Port / End Port: Specify the port or range
- Click Save to add the rule

Save the Security Group
- Once you’ve added the necessary rules, click Create Group
- Your new security group will now appear in the list

Attach a security group while launching an instance
- Navigate to Instances -> Go to Public Cloud Instances.
- Launch a New Instance
- Click Launch an Instance
- Enter a name for your instance
- Select an OS image
- Choose an instance type
- Attach a Security Group
- In the Security Groups section, click Attach Groups
- Select a security group that has already been created
- Click Confirm
- Your selected security group will now be attached to the instance
- Continue with the remaining steps to launch your instance