Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Contributor

VMSS Scalet Set single load balancer deployment. How to set default route using bash script?

We have a multi tier Azure environment that has several scale sets. We only want one of those to face the internet and process inbound/outbound internet traffic. All other vmss will need to default to the Internet facing vmss. We were told that we should deploy these non-internet facing vmss with a single load balancer and add a bash script to the deployment config in Azure to set the default route to the internal load balancer.

I dont have access to the Azure console so I need to direct them on how this is accomplished.

- what will the bash script look like?

- where in Azure do they apply it?

 

Thanks

0 Kudos
Reply
2 Replies
Contributor

I mistakenly used the words 'bash script'. On closer review with Azure I see now that it is a bootstrap script. I found sk112575 when mentions bootstrap script, but doesnt provide any examples:

Bootstrap Script

Optional

Comma separated commands to run on the initial boot.

 

So if I want to set my default route in the bootstrap script is it simply a text file with the clish command to set the default route?

0 Kudos
Reply

HI,

it's all explained in the admin guide

https://sc1.checkpoint.com/documents/IaaS/WebAdminGuides/EN/CP_VMSS_for_Azure/Content/Topics/Traffic...

No need for script/static routes, you need to use Azure UDR.

Shay

 

 

 

0 Kudos
Reply