<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>aws &#8211; GLU Global</title>
	<atom:link href="https://glu.global/article-tags/aws/feed/" rel="self" type="application/rss+xml" />
	<link>https://glu.global</link>
	<description>Innovation at Speed</description>
	<lastBuildDate>Thu, 25 Apr 2024 06:34:00 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://glu.global/wp-content/uploads/2022/01/cropped-favicon-1-32x32.png</url>
	<title>aws &#8211; GLU Global</title>
	<link>https://glu.global</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>AWS ECR configuration</title>
		<link>https://glu.global/glu-guide/aws-ecr-configuration/</link>
		
		<dc:creator><![CDATA[Richard Price]]></dc:creator>
		<pubDate>Thu, 02 Feb 2023 11:23:19 +0000</pubDate>
				<guid isPermaLink="false">https://glu.global/?post_type=ht_kb&#038;p=4433</guid>

					<description><![CDATA[Configure GLU.Engine settings To configure GLU.Engine settings for pushing Docker containers to an AWS ECR repository, follow these steps. Please refer to AWS ECR documentation for details (AWS ECR): Step 1: Step 2: $ aws configureAWS Access Key ID [****************XXXD]: AWS Secret Access Key [****************8996]: Default region name [us-east-1]: Default output format [json]: Step 3: [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading has-medium-font-size"><strong>Configure GLU.Engine settings</strong><br><br></h2>



<p>To configure GLU.Engine settings for pushing Docker containers to an AWS ECR repository, follow these steps. Please refer to AWS ECR documentation for details (<a href="https://aws.amazon.com/ecr/" data-type="URL" data-id="https://aws.amazon.com/ecr/" target="_blank" rel="noreferrer noopener">AWS ECR</a>):</p>



<p></p>



<p><strong>Step 1: </strong></p>



<ul class="wp-block-list">
<li>First a temporary token needs to be acquired through the AWS CLI command:  <em><strong>$ aws ecr get-login-password </strong></em></li>
</ul>



<p></p>



<p><strong>Step 2:</strong> </p>



<ul class="wp-block-list">
<li>Ensure that the server running the CLI commands has access to the AWS environment where the ECR repository is located. Use the <code><em><strong>aws configure</strong></em></code> command to set up access.</li>



<li>The following example shows how to view if the settings exist. Press return after each line and it will show you he value which has been set. </li>
</ul>



<figure class="wp-block-table"><table><tbody><tr><td><em>$ aws configure<br>AWS Access Key ID [****************XXXD]: <br>AWS Secret Access Key [****************8996]: <br>Default region name [us-east-1]: <br>Default output format [json]: </em></td></tr></tbody></table></figure>



<p></p>



<p><strong>Step 3:</strong></p>



<ul class="wp-block-list">
<li>Once the connection has been established then the <strong><em>get-login-password</em></strong> command can be used to get a password, which can be used in the GLUConsole DOCKER PASSWORD field.<br><br></li>
</ul>



<figure class="wp-block-table"><table><tbody><tr><td><code>$ aws ecr get-login-password<br>eyJwYXlsb2FkIjoiQm0zNStqa2JrMUZodVF2bDBLUFR0UkNuNnY5aFE1bU5Sekd5N1ZIN0grekg5QlJ3SUNod0RGVlQ1TnI5OVI5OW1EQTZoUG1vTVBvamFqVVBNZDJ<br>yc1hkK1o1aDYwczBpZTVrUktCSW54NGxFNnhzeHNYWHErWGJ2enZkNjVYUzVQRlhxY2NFV1R0QThuUTR6Tk1VQjhYVzR3dlZ6RFYrVXRBNURVNCtHVWltTDdaTmhYQ0<br>JzNW9DNWNqOWZxLzVEVG1sT1lSUlFlbXp6SlRSY1FZR3VQMk5kSEtiWHUxZGxyWFdPRWI1VkZrWVFISUFtN2lYQlVQRjRZei9XdHZ0QTEzS3VGa25Kd1RwOHBQL0FHe<br>m9NVk14YXRFZVdVVCtKSi9pNWhldHZlTGwrQXgzSDkwSVQ1UmhpZWxZZ3NIK0xPSTNuT24vZmxSTm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VVGY2U5UnE4LzE0d0FBQUg0d2ZB<br>WUpLb1pJaHZjTkFRY0dvRzh3YlFJQkFEQm9CZ2txaGtpRzl3MEJCd0V3SGdZSllJWklBV1VEQkFFdU1CRUVESmtIVDBiMFNPUDRXSWhqdGdJQkVJQTdaM1lHMnZqd0V<br>jUTY5QkNBeWRpdTFBeTRKZ041b3h2UG80anp0K2VSWGkxQnFOSGZqaWJDNEFtUCtiY1dPY0g3YjRZbGNkcko0eHBqM3JnPSIsInZlcnNpb24iOiIyIiwidHlwZSI6Ik<br>RBVEFfS0VZIiwiZXhwaXJhdGlvbiI6MTY2NTUzODA0MH0=</code></td></tr></tbody></table></figure>



<p><br><strong>Step 4:</strong></p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="194" src="https://glu.global/wp-content/uploads/2023/02/x1200px-Awsscreen.png.pagespeed.ic_.kfT_mX23HD-1024x194.png" alt="" class="wp-image-4468" srcset="https://glu.global/wp-content/uploads/2023/02/x1200px-Awsscreen.png.pagespeed.ic_.kfT_mX23HD-1024x194.png 1024w, https://glu.global/wp-content/uploads/2023/02/x1200px-Awsscreen.png.pagespeed.ic_.kfT_mX23HD-300x57.png 300w, https://glu.global/wp-content/uploads/2023/02/x1200px-Awsscreen.png.pagespeed.ic_.kfT_mX23HD-768x145.png 768w, https://glu.global/wp-content/uploads/2023/02/x1200px-Awsscreen.png.pagespeed.ic_.kfT_mX23HD-50x9.png 50w, https://glu.global/wp-content/uploads/2023/02/x1200px-Awsscreen.png.pagespeed.ic_.kfT_mX23HD.png 1200w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<ul class="wp-block-list">
<li><strong>A =</strong> DOCKER IMAGE REPOSITORY , to be entered in the GLU.Engines Settings below</li>
</ul>



<ul class="wp-block-list">
<li><strong>B = </strong>Must match the GLU.Engine name (See screen shot below, please also note the constraint applied to the GLU.Engine name by AWS i.e. a name like GLU_USSD_Demo will not work.)</li>
</ul>



<ul class="wp-block-list">
<li><strong>C = </strong>DOCKER URL , to be entered in the GLU.Engines Settings below<br><br></li>
</ul>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" width="900" height="394" src="https://glu.global/wp-content/uploads/2023/02/900px-Build.png" alt="" class="wp-image-5624" srcset="https://glu.global/wp-content/uploads/2023/02/900px-Build.png 900w, https://glu.global/wp-content/uploads/2023/02/900px-Build-300x131.png 300w, https://glu.global/wp-content/uploads/2023/02/900px-Build-768x336.png 768w, https://glu.global/wp-content/uploads/2023/02/900px-Build-50x22.png 50w" sizes="(max-width: 900px) 100vw, 900px" /></figure></div>


<p><br><br><strong>NOTE: </strong>Constraint applied by AWS on the GLU.Engine name if AWS ECR is to be used. <br><br></p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img decoding="async" width="1024" height="748" src="https://glu.global/wp-content/uploads/2023/02/Screenshot-2023-02-28-at-14.31.25-1024x748.png" alt="" class="wp-image-5625" style="width:768px;height:561px" srcset="https://glu.global/wp-content/uploads/2023/02/Screenshot-2023-02-28-at-14.31.25-1024x748.png 1024w, https://glu.global/wp-content/uploads/2023/02/Screenshot-2023-02-28-at-14.31.25-300x219.png 300w, https://glu.global/wp-content/uploads/2023/02/Screenshot-2023-02-28-at-14.31.25-768x561.png 768w, https://glu.global/wp-content/uploads/2023/02/Screenshot-2023-02-28-at-14.31.25-50x37.png 50w, https://glu.global/wp-content/uploads/2023/02/Screenshot-2023-02-28-at-14.31.25.png 1408w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption"><br><br></figcaption></figure></div>


<p>All below the fields are mandatory:<br><br></p>



<figure class="wp-block-table"><table><tbody><tr><th>name</th><th>Value</th><th>Description</th></tr><tr><td>DOCKER URL</td><td>42588888888835.dkr.ecr.us-east-1.amazonaws.com</td><td>path to the docker.io instance (C)</td></tr><tr><td>DOCKER USERNAME</td><td>AWS</td><td>For AWS ECR Repos. this will always be &#8220;AWS&#8221;</td></tr><tr><td>SKIP DOCKER</td><td>false</td><td>true or false, When set to false docker will be used.</td></tr><tr><td>DOCKER PASSWORD</td><td>{Long string of characers from above}</td><td>The token generated by the aws ecr get-login-password</td></tr><tr><td>DOCKER IMAGE REPOSITORY</td><td>gluware</td><td>in docker the repository name (A)</td></tr></tbody></table><figcaption class="wp-element-caption"><br><br><br><br><br></figcaption></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="600" height="464" src="https://glu.global/wp-content/uploads/2023/02/600px-Awsecrconfig.png" alt="" class="wp-image-4469" srcset="https://glu.global/wp-content/uploads/2023/02/600px-Awsecrconfig.png 600w, https://glu.global/wp-content/uploads/2023/02/600px-Awsecrconfig-300x232.png 300w, https://glu.global/wp-content/uploads/2023/02/600px-Awsecrconfig-50x39.png 50w" sizes="auto, (max-width: 600px) 100vw, 600px" /></figure>



<p><br>In the example below, when this is configured and a build is executed the GLU.Console will execute the command below at the end of the build process. This will then push the Docker container 1.5-SNAPSHOT to the AWS ECR repo demo.</p>



<ul class="wp-block-list">
<li>$ <em>push 42558888888535.dkr.ecr.us-east-1.amazonaws.com/gluware/demo:1.5-SNAPSH</em>OT<div class="open_grepper_editor" title="Edit &amp; Save To Grepper"></div></li>
</ul>



<p></p>



<h2 class="wp-block-heading has-medium-font-size">Useful AWS commands</h2>



<p></p>



<figure class="wp-block-table"><table><thead><tr><th>Command</th><th>Description </th></tr></thead><tbody><tr><td>aws ecr get-login-password | docker login &#8211;username AWS &#8211;password-stdin 92266666477.dkr.ecr.us-east-1.amazonaws.com</td><td>to be used to log into the AWS instance of the ECR</td></tr><tr><td>aws ecr get-login-password </td><td>If connected to AWS it will display the password, which needs to be put in the GLU Application Settings page.</td></tr><tr><td>aws ecr list-images &#8211;repository-name gluware/demo</td><td>Useful to list the repositories which are held by the ECR, also to confirm connection is correct. </td></tr></tbody></table></figure>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
