<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Aws on Alex_Tech_Blog</title><link>https://alex.dinnouti.com/tags/aws/</link><description>Recent content in Aws on Alex_Tech_Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 24 Jul 2025 18:34:21 +0000</lastBuildDate><atom:link href="https://alex.dinnouti.com/tags/aws/index.xml" rel="self" type="application/rss+xml"/><item><title>Building a CLI Grammar Checker with AWS Bedrock: A Beginner's Guide</title><link>https://alex.dinnouti.com/posts/2025-07-24-cli-grammar/</link><pubDate>Thu, 24 Jul 2025 18:34:21 +0000</pubDate><guid>https://alex.dinnouti.com/posts/2025-07-24-cli-grammar/</guid><description>&lt;p&gt;&lt;em&gt;Guest Author: Anthropic&amp;rsquo; Claude Sonnet 4&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;AWS Bedrock makes it incredibly easy to integrate powerful AI models into your applications. In this tutorial, we&amp;rsquo;ll build a command-line grammar checker that uses Claude 3.5 Haiku to improve text clarity and fix grammatical errors.&lt;/p&gt;&#10;&lt;h2 id="what-youll-learn"&gt;What You&amp;rsquo;ll Learn&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;How to set up AWS Bedrock&lt;/li&gt;&#10;&lt;li&gt;Creating a simple CLI application with AI integration&lt;/li&gt;&#10;&lt;li&gt;Using prompt engineering for specific tasks&lt;/li&gt;&#10;&lt;li&gt;Building an interactive terminal interface&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="prerequisites"&gt;Prerequisites&lt;/h2&gt;&#10;&lt;p&gt;Before we start, you&amp;rsquo;ll need:&lt;/p&gt;</description></item><item><title>How to tail -f Cloudwatch logs</title><link>https://alex.dinnouti.com/posts/2021-06-21_13-54-10_cloudwatch/</link><pubDate>Mon, 21 Jun 2021 13:54:11 -0400</pubDate><guid>https://alex.dinnouti.com/posts/2021-06-21_13-54-10_cloudwatch/</guid><description>&lt;p&gt;Get all the groups from the Cloudwatch&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;aws logs describe-log-groups &lt;span class="p"&gt;|&lt;/span&gt; grep logGroupName&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Plug the group into the &amp;rsquo;logs tail&amp;rsquo; and run in the background&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;aws logs tail --follow &amp;lt;group&amp;gt; --format short&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="3rd-party-solutions"&gt;3rd party solutions&lt;/h3&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://github.com/jorgebastida/awslogs"&gt;jorgebastida/awslogs: AWS CloudWatch logs for Humans™&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://github.com/rpgreen/apilogs"&gt;rpgreen/apilogs&lt;/a&gt; - For Lambda and API logs&lt;/li&gt;&#10;&lt;/ul&gt;</description></item><item><title>Amazon Honeycode cheat sheet</title><link>https://alex.dinnouti.com/posts/2021-02-18_10-05-46_honeycode/</link><pubDate>Thu, 18 Feb 2021 10:05:46 -0500</pubDate><guid>https://alex.dinnouti.com/posts/2021-02-18_10-05-46_honeycode/</guid><description>&lt;p&gt;A collection of scraps and code that I need to reference all the time. &lt;a href="https://aws.amazon.com/blogs/aws/introducing-amazon-honeycode-build-web-mobile-apps-without-writing-code/"&gt;Amazon Honeycode&lt;/a&gt;, which is available in beta, is a fully managed service that allows customers to quickly build powerful mobile and web applications – with no programming required.&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;Any code example in this post has no warranty at all.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;Returns true if the row is found. &lt;a href="https://honeycodecommunity.aws/t/isref/1127"&gt;IsRef( )&lt;/a&gt;&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-js" data-lang="js"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nx"&gt;ISREF&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;FindRow&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;Tasks&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;Tasks[Completed]=%&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;Yes&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Condition for conditional styling&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-js" data-lang="js"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;Status&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;Not done&amp;#34;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Filter a Column List or Stacked List based on a form field. &lt;a href="https://honeycodecommunity.aws/t/filter/923"&gt;Filter( )&lt;/a&gt;&lt;/p&gt;</description></item><item><title>AWS Labs</title><link>https://alex.dinnouti.com/posts/aws-labs/</link><pubDate>Sat, 21 Nov 2020 09:57:08 -0500</pubDate><guid>https://alex.dinnouti.com/posts/aws-labs/</guid><description>&lt;p&gt;&lt;a href="https://github.com/awslabs"&gt;Amazon Web Services Labs&lt;/a&gt; has several experiments to help with day by day AWS management and development. Some of my favorites:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://github.com/awslabs/aws-lambda-powertools-python"&gt;awslabs/aws-lambda-powertools-python&lt;/a&gt; - A suite of utilities for AWS Lambda Functions that makes tracing with AWS X-Ray, structured logging and creating custom metrics asynchronously easier&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://github.com/awslabs/awscli-aliases"&gt;awslabs/awscli-aliases&lt;/a&gt; - AWS CLI aliases&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://github.com/awslabs/git-secrets"&gt;awslabs/git-secrets&lt;/a&gt; - Prevents you from committing secrets and credentials into git repositories&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://github.com/awslabs/aws-serverless-express"&gt;awslabs/aws-serverless-express&lt;/a&gt; - Run serverless applications and REST APIs using your existing Node.js application framework, on top of AWS Lambda and Amazon API Gateway&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://github.com/awslabs/aws-support-tools"&gt;awslabs/aws-support-tools&lt;/a&gt; - Tools and sample code provided by AWS Premium Support&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://github.com/awslabs/aws-cloudformation-templates"&gt;awslabs/aws-cloudformation-templates&lt;/a&gt; - A collection of useful CloudFormation templates&lt;/li&gt;&#10;&lt;/ul&gt;</description></item><item><title>Using AWS Code Commit</title><link>https://alex.dinnouti.com/posts/aws-code-commit/</link><pubDate>Fri, 20 Nov 2020 15:14:17 -0500</pubDate><guid>https://alex.dinnouti.com/posts/aws-code-commit/</guid><description>&lt;p&gt;Making sure the AWS CLI is proper installed in the computer&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;$ aws sts get-caller-identity&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;p&gt;It should show your account information&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-json" data-lang="json"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;{&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nt"&gt;&amp;#34;Account&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;123456789012&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nt"&gt;&amp;#34;UserId&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;AKIAIOSFODNN7EXAMPLE&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nt"&gt;&amp;#34;Arn&amp;#34;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;arn:aws:iam::123456789012:user/Alice&amp;#34;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;p&gt;Ensure CodeCommit is installed&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;$ aws codecommit help&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;&#10;&lt;h2 id="setting-up-your-codecommit-repository"&gt;Setting up your CodeCommit repository&lt;/h2&gt;&#10;&lt;p&gt;Create CodeCommit repository&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;$ aws codecommit create-repository --repository-name &amp;lt;repository name&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;p&gt;Initialize a new git repository&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;$ git init&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;&#10;&lt;p&gt;Add your CodeCommit repository as a remote&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;$ git remote add origin codecommit://&amp;lt;repository name&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;</description></item><item><title>AWS Amplify Console to deploy Hugo website</title><link>https://alex.dinnouti.com/posts/aws_amplify/</link><pubDate>Fri, 19 Jul 2019 16:29:45 -0400</pubDate><guid>https://alex.dinnouti.com/posts/aws_amplify/</guid><description>&lt;h2 id="what-is-the-aws-amplify-console"&gt;What is the AWS Amplify Console?&lt;/h2&gt;&#10;&lt;p&gt;AWS Amplify Console provides a complete workflow for developing, deploying, and hosting single page web apps or static sites with serverless backends. Continuous deployment allows developers to deploy updates to their web app on every code commit to their Git repository. When the build succeeds, the app is deployed and hosted on an amplifyapp.com subdomain. Developers can connect their custom domain to start receiving production traffic.&lt;/p&gt;</description></item></channel></rss>