Launch the HAProxy Enterprise AMI
In this section, you will create an HAProxy Enterprise server in AWS by launching it from the AWS Marketplace.
AWS supported regions
We support the following regions for deploying the HAProxy Enterprise AMI:
US East (N. Virginia)
Asia Pacific (Hong Kong)
Africa (Cape Town)
US East (Ohio)
Asia Pacific (Singapore)
US West (N. California)
Asia Pacific (Sydney)
Middle East (Bahrain)
US West (Oregon)
Asia Pacific (Jakarta)
Middle East (UAE)
Asia Pacific (Melbourne)
South America (Sao Paulo)
Asia Pacific (Seoul)
Asia Pacific (Tokyo)
Asia Pacific (Mumbai)
Asia Pacific (Hyderabad)
Launch the AMI from the marketplace
Create an HAProxy Enterprise server from the HAProxy Enterprise AMI:
From the AWS Marketplace, choose your desired version of the HAProxy Enterprise Amazon Machine Image (AMI). Options exist for Ubuntu Server edition and Red Hat Enterprise Linux edition.
Click Continue to Subscribe to start a subscription to the HAProxy Enterprise software.
Review the pricing and license details, then click Continue to Configuration.
On the Configure this Software screen, set the following fields:
The type of procedure used for launching the AMI in your environment.
64-bit (x86) Amazon Machine Image (AMI)
The version of HAProxy Enterprise to launch.
2.8r1-20230215 (Feb 16, 2023)
The AWS region where you created your VPC.
US East (Ohio) / us-east-2
Click Continue to launch.
On the Launch this software screen, set the following fields:
Choose an action
How to launch the AMI.
Launch from Website
EC2 instance type
Choose an instance type with at least 4 CPUs and 4 GB RAM, but larger as needed.
Choose the VPC ID from the VPC you created earlier.
Choose one of the public subnets that was created inside the VPC.
Security group settings
Use the security group settings provided by the seller. You may want to change the Source value for ports 9022 and 9023, which represent the Real-time Dashboard, and port 22, which represents SSH, to be your public IPv4 address instead of Anywhere, to allow connections only from your IP address for SSH access and accessing the dashboard.
Create new based on seller settings
Key pair settings
Create an SSH key pair or use an existing key pair for connecting to EC2 instances.
Create an elastic IP address
To associate a public, elastic IP address with your HAProxy Enterprise instance:
Open the Amazon EC2 console.
From the EC2 Dashboard, click Elastic IPs, then Allocate Elastic IP address.
On the Allocate Elastic IP address screen, click Allocate.
From the EC2 Dashboard, go to Elastic IPs, select the elastic IP from the list and open its settings.
Click Associate Elastic IP address.
Choose your HAProxy Enterprise instance from the list.
Connect to the HAProxy Enterprise instance
During installation, you configured an SSH key pair that you can use to connect to the EC2 instance.
If necessary, change the permissions of your private key:
Change the permissions on your private key.
$ chmod 600 my-private-key.pem
To get the public IPv4 address of the instance, open the Amazon EC2 console.
From the EC2 Dashboard, go to Instances and select the HAProxy Enterprise instance from the list. Copy its public IPv4 address.
Connect to the HAProxy Enterprise instance through its public IP address:
$ ssh -i my-private-key.pem firstname.lastname@example.org
$ ssh -i my-private-key.pem email@example.com
Next upManage the HAProxy Enterprise service