Skip to main content
naveenk
Staff
Staff
October 14, 2020

Technical Tip: Support filtering on AWS autoscaling group for dynamic address objects

  • October 14, 2020
  • 0 replies
  • 1678 views
Description
A FortiGate-VM deployed on AWS can create a dynamic address based on an AWS Fabric connector and use an auto scaling group (ASG) filter to obtain ASG members' primary IP addresses or NICs.

This article describes this feature.

Solution
You can use this feature for load balancing to optimize network efficiency.

To create an address with an ASG filter from GUI.
1) In FortiOS, go to Policy & Objects -> Addresses.
2) Select 'Create New', then select 'Address'.
3) Enter the address name. From the Type dropdown list, select 'Dynamic'.
4) From the Sub Type dropdown list, select' Fabric Connector Address'.
5) From the SDN Connector dropdown list, select the 'AWS Fabric connector'.
6) In the Filter fields, enter the desired filter. In this example, enter AutoScaleGroup=<ASG ID> in the Filter field.
7) From the Interface dropdown list, select an interface where the fabric connector covers where relevant.
8) Select 'OK'. Once saved, FortiOS lists the address under Policy & Objects -> Addresses.





To create an address with an ASG filter from CLI:
# config firewall address
    edit "aws-asg-addr1"
        set uuid 82e26cea-756e-51ea-d322-4259d3db301b
        set type dynamic
        set sdn "aws-sdn"
        set filter "AutoScaleGroup=10703c-4f731e90-fortigate-payg-auto-scaling-group"
# config list
    edit "192.168.0.137"
next
    edit "192.168.1.218"
next
end
next
end
Reference document:
https://docs.fortinet.com/document/fortigate/6.4.0/new-features/805767/support-filtering-on-aws-autoscaling-group-for-dynamic-address-objects


Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.