Two commands are available under /Setup/Cloud-Provider/AWS:
- Switch-Route do /Setup/Cloud-Provider/AWS/Switch-Route <Profile-Name> This command uses the AWS API to switch the prefix in the AWS routing table to the new next hop as configured under <profile-name> in the table /Setup/Cloud-Provider/AWS/.
- Get-Remote-Route-Table do /Setup/Cloud-Provider/AWS/Get-Remote-Route-Table <route-table-id> <region> <outgoing-network> This command returns the current status of the AWS routing table <route-table-id> via the AWS API. Example: do Get-Remote-Route-Table rtb-099605ce6cb4ac319 eu-central-1 INTERNET
Example: Using the commands in the action table
The backup vRouter has the following entries configured in the action table (
):There are two profiles in the HA redundancy table that are referenced in the action table in the Switch-Route command. The first entry causes the backup vRouter to make itself the active router in the AWS routing table if the VPN tunnel (remote site AWS-VR1) to the primary router is disconnected or broken. If the VPN tunnel is reestablished, i. e. the primary router is available again, the primary router is reset as the next hop in the routing table.