<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic AWS Gateway Load Balancer Auto Scaling Group upgrade user data script issue in Cloud Firewall</title>
    <link>https://community.checkpoint.com/t5/Cloud-Firewall/AWS-Gateway-Load-Balancer-Auto-Scaling-Group-upgrade-user-data/m-p/232506#M5042</link>
    <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I am running into issue where I am trying to upgrade my AWS scaleset from R80.40 to R81.20.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am following&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/IaaS/WebAdminGuides/EN/CP_CloudGuard_Network_for_AWS_Gateway_Load_Balancer_ASG/CP_CloudGuard_Network_for_AWS_Gateway_Load_Balancer_Auto_Scaling_Group_DeploymentGuide.pdf" target="_blank"&gt;https://sc1.checkpoint.com/documents/IaaS/WebAdminGuides/EN/CP_CloudGuard_Network_for_AWS_Gateway_Load_Balancer_ASG/CP_CloudGuard_Network_for_AWS_Gateway_Load_Balancer_Auto_Scaling_Group_DeploymentGuide.pdf&lt;/A&gt;&amp;nbsp;but having issue where editing User data file.&lt;/P&gt;&lt;P&gt;On page 92 it says to update user data file and i just dont know the correct syntax of the file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried putting plain SIC password and base64 encoded but always get error&amp;nbsp; :&amp;nbsp;&lt;/P&gt;&lt;P&gt;2024-11-12 14:59:53,688 CME_SERVICE&amp;nbsp; ERROR Failed to initialize SIC with gateway instance AWS_Internal (sic-state= uninitialized). Make sure the One-Time Password configured in CME is correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did check&amp;nbsp;&lt;A href="https://support.checkpoint.com/results/sk/sk180606" target="_blank"&gt;sk180606 - CloudGuard Network for AWS provisioning/deployment fails because of incompatibility with the template user data script&lt;/A&gt;&amp;nbsp;but still not able to find right way to enter parameter value's.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the sic password with me from my old user data file of R80.40 template but seems like am not using or entering it in a right way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone please help me with some examples or guide me ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Much apprecited.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Nov 2024 23:17:11 GMT</pubDate>
    <dc:creator>ajsingh</dc:creator>
    <dc:date>2024-11-12T23:17:11Z</dc:date>
    <item>
      <title>AWS Gateway Load Balancer Auto Scaling Group upgrade user data script issue</title>
      <link>https://community.checkpoint.com/t5/Cloud-Firewall/AWS-Gateway-Load-Balancer-Auto-Scaling-Group-upgrade-user-data/m-p/232506#M5042</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I am running into issue where I am trying to upgrade my AWS scaleset from R80.40 to R81.20.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am following&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/IaaS/WebAdminGuides/EN/CP_CloudGuard_Network_for_AWS_Gateway_Load_Balancer_ASG/CP_CloudGuard_Network_for_AWS_Gateway_Load_Balancer_Auto_Scaling_Group_DeploymentGuide.pdf" target="_blank"&gt;https://sc1.checkpoint.com/documents/IaaS/WebAdminGuides/EN/CP_CloudGuard_Network_for_AWS_Gateway_Load_Balancer_ASG/CP_CloudGuard_Network_for_AWS_Gateway_Load_Balancer_Auto_Scaling_Group_DeploymentGuide.pdf&lt;/A&gt;&amp;nbsp;but having issue where editing User data file.&lt;/P&gt;&lt;P&gt;On page 92 it says to update user data file and i just dont know the correct syntax of the file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried putting plain SIC password and base64 encoded but always get error&amp;nbsp; :&amp;nbsp;&lt;/P&gt;&lt;P&gt;2024-11-12 14:59:53,688 CME_SERVICE&amp;nbsp; ERROR Failed to initialize SIC with gateway instance AWS_Internal (sic-state= uninitialized). Make sure the One-Time Password configured in CME is correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did check&amp;nbsp;&lt;A href="https://support.checkpoint.com/results/sk/sk180606" target="_blank"&gt;sk180606 - CloudGuard Network for AWS provisioning/deployment fails because of incompatibility with the template user data script&lt;/A&gt;&amp;nbsp;but still not able to find right way to enter parameter value's.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the sic password with me from my old user data file of R80.40 template but seems like am not using or entering it in a right way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone please help me with some examples or guide me ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Much apprecited.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 23:17:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Cloud-Firewall/AWS-Gateway-Load-Balancer-Auto-Scaling-Group-upgrade-user-data/m-p/232506#M5042</guid>
      <dc:creator>ajsingh</dc:creator>
      <dc:date>2024-11-12T23:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: AWS Gateway Load Balancer Auto Scaling Group upgrade user data script issue</title>
      <link>https://community.checkpoint.com/t5/Cloud-Firewall/AWS-Gateway-Load-Balancer-Auto-Scaling-Group-upgrade-user-data/m-p/232537#M5044</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;it should look like this :&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #1f497d;" lang="en-US"&gt;sic="$(echo MXEydzNlNHI1dDZ5 | base64 -d)"&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #1f497d;" lang="en-US"&gt;If I remember correctly, you need to base64 the hashed password.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 05:32:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Cloud-Firewall/AWS-Gateway-Load-Balancer-Auto-Scaling-Group-upgrade-user-data/m-p/232537#M5044</guid>
      <dc:creator>Nir_Shamir</dc:creator>
      <dc:date>2024-11-13T05:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: AWS Gateway Load Balancer Auto Scaling Group upgrade user data script issue</title>
      <link>https://community.checkpoint.com/t5/Cloud-Firewall/AWS-Gateway-Load-Balancer-Auto-Scaling-Group-upgrade-user-data/m-p/232598#M5046</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tried the same syntax and followed the&amp;nbsp;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;sk180606 but no success. Still same error complaining about one time password in CME.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I am using template version&lt;SPAN&gt;2 0230117 . I feel like this is not a password issue as same password is&amp;nbsp; working with R80.40 version but not&amp;nbsp; with R81.20 version&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 15:24:30 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Cloud-Firewall/AWS-Gateway-Load-Balancer-Auto-Scaling-Group-upgrade-user-data/m-p/232598#M5046</guid>
      <dc:creator>ajsingh</dc:creator>
      <dc:date>2024-11-13T15:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: AWS Gateway Load Balancer Auto Scaling Group upgrade user data script issue</title>
      <link>https://community.checkpoint.com/t5/Cloud-Firewall/AWS-Gateway-Load-Balancer-Auto-Scaling-Group-upgrade-user-data/m-p/232948#M5055</link>
      <description>&lt;P&gt;Hi ajsingh,&lt;/P&gt;
&lt;P&gt;You will need to change the SIC parameter and enter it in a base64 format.&lt;/P&gt;
&lt;P&gt;Please follow these steps:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Go to your ASG&lt;/LI&gt;
&lt;LI&gt;Find your lunch template&lt;/LI&gt;
&lt;LI&gt;Go to your lunch template&lt;/LI&gt;
&lt;LI&gt;Under lunch template details, click on Actions and then Modify template (create new version)&lt;/LI&gt;
&lt;LI&gt;Expand "Advanced Details"&lt;/LI&gt;
&lt;LI&gt;Go down to User data&lt;/LI&gt;
&lt;LI&gt;You will see something like this:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="noamcoh_0-1731858806752.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/28476i990CE8F76D586342/image-size/medium?v=v2&amp;amp;px=400" role="button" title="noamcoh_0-1731858806752.jpeg" alt="noamcoh_0-1731858806752.jpeg" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Go to base64 encoder&lt;/LI&gt;
&lt;LI&gt;Get the base64 value of your password&lt;/LI&gt;
&lt;LI&gt;Put it in the sic variable like this:&lt;BR /&gt;sic="$(echo [BASE64_VALUE])"&lt;BR /&gt;Example:&lt;BR /&gt;sic="$(echo cGFzc3dvcmQ=)"&lt;/LI&gt;
&lt;LI&gt;Click create template version&lt;/LI&gt;
&lt;LI&gt;Scale out a new instance using the new lunch template version&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Sun, 17 Nov 2024 15:54:16 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Cloud-Firewall/AWS-Gateway-Load-Balancer-Auto-Scaling-Group-upgrade-user-data/m-p/232948#M5055</guid>
      <dc:creator>noamcoh</dc:creator>
      <dc:date>2024-11-17T15:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: AWS Gateway Load Balancer Auto Scaling Group upgrade user data script issue</title>
      <link>https://community.checkpoint.com/t5/Cloud-Firewall/AWS-Gateway-Load-Balancer-Auto-Scaling-Group-upgrade-user-data/m-p/233055#M5066</link>
      <description>&lt;P&gt;Hi, I tried that and got this error on console :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Your cloud-init configuration is corrupt or contains error:&lt;BR /&gt;Provided YAML file contains one or more errors:&lt;BR /&gt;Error in function _compare_to_schema:&lt;BR /&gt;Provided YAML configuration is invalid:&lt;BR /&gt;1:&lt;BR /&gt;Error: None is not of type 'object'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I copied the script exactly from&amp;nbsp;&lt;A href="https://support.checkpoint.com/results/sk/sk180606" target="_blank"&gt;sk180606 - CloudGuard Network for AWS provisioning/deployment fails because of incompatibility with the template user data script&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 19:53:06 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Cloud-Firewall/AWS-Gateway-Load-Balancer-Auto-Scaling-Group-upgrade-user-data/m-p/233055#M5066</guid>
      <dc:creator>ajsingh</dc:creator>
      <dc:date>2024-11-18T19:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: AWS Gateway Load Balancer Auto Scaling Group upgrade user data script issue</title>
      <link>https://community.checkpoint.com/t5/Cloud-Firewall/AWS-Gateway-Load-Balancer-Auto-Scaling-Group-upgrade-user-data/m-p/233103#M5069</link>
      <description>&lt;P&gt;Double check the syntax in the template file:&lt;BR /&gt;sic="$(echo [BASE64_ENCODED_PASSWORD] | base64 -d)"&lt;BR /&gt;Ensure there are no trailing spaces or line breaks after pasting the encoded value.&lt;BR /&gt;&lt;BR /&gt;Do you add "#cloud-config" at the top of the cloud-init file?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 12:30:39 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Cloud-Firewall/AWS-Gateway-Load-Balancer-Auto-Scaling-Group-upgrade-user-data/m-p/233103#M5069</guid>
      <dc:creator>almogar</dc:creator>
      <dc:date>2024-11-19T12:30:39Z</dc:date>
    </item>
  </channel>
</rss>

