<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>harley.dev</title>
    <link>https://harley.id.vn/</link>
    <description>Notebook of a certified vibe coder still figuring out backend, cloud, and Linux — writing down what I learn along the way.</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <lastBuildDate>Tue, 24 Nov 2026 11:18:16 &#43;0000</lastBuildDate>
    <atom:link href="https://harley.id.vn/index.xml" rel="self" type="application/rss+xml" />
      <item>
        <title>Notes &amp; Rambles</title>
        <link>https://harley.id.vn/blog/</link>
        <pubDate>Tue, 24 Nov 2026 04:50:00 &#43;0700</pubDate>
        <guid>https://harley.id.vn/blog/</guid>
        <description>&lt;p&gt;A corner for naive questions like &lt;em&gt;&amp;ldquo;wait, it worked locally, why is it dead on the server?&amp;rdquo;&lt;/em&gt;, quick Linux flags so I stop googling them for the fifth time, alongside occasional reviews and off-topic rambles that have nothing to do with code.&lt;/p&gt;
&lt;p&gt;Pick a topic below or start with the latest.&lt;/p&gt;
&lt;aside class=&#34;annotation annotation-right annotation-self-snitch&#34; aria-label=&#34;Truth&#34;&gt;
  &lt;svg class=&#34;annotation-arrow annotation-arrow-down-left hand-arrow-style-curve&#34; viewBox=&#34;0 0 48 44&#34; fill=&#34;none&#34; aria-hidden=&#34;true&#34; xmlns=&#34;http://www.w3.org/2000/svg&#34;&gt;
  &lt;path class=&#34;hand-arrow-line&#34; d=&#34;M4 6C18 7 30 15 36 34&#34; stroke=&#34;currentColor&#34; stroke-width=&#34;1.6&#34; stroke-linecap=&#34;round&#34; stroke-linejoin=&#34;round&#34;/&gt;
  &lt;path class=&#34;hand-arrow-head&#34; d=&#34;M29 30L36.5 35.5L40.5 27&#34; stroke=&#34;currentColor&#34; stroke-width=&#34;1.6&#34; stroke-linecap=&#34;round&#34; stroke-linejoin=&#34;round&#34;/&gt;
&lt;/svg&gt;
  &lt;div class=&#34;annotation-content&#34;&gt;&lt;span class=&#34;annotation-label&#34;&gt;Truth&lt;/span&gt;&lt;div class=&#34;annotation-text&#34;&gt;&lt;p&gt;Most posts here were written right after I finished digging myself out of some mess.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Porter Robinson&#39;s Nurture: the album that pulled me through thesis crunch and got me hooked on EDM</title>
        <link>https://harley.id.vn/blog/review-album-nurture/</link>
        <pubDate>Tue, 24 Nov 2026 04:50:00 &#43;0700</pubDate>
        <guid>https://harley.id.vn/blog/review-album-nurture/</guid>
        <description>&lt;div class=&#34;lead-note&#34;&gt;
&lt;div class=&#34;lead-note-body&#34;&gt;
&lt;p&gt;Stuck in a short semester where my thesis was falling behind fast, I seriously thought sitting in dead silence was the only way to focus. Funny enough, the quieter I made the room, the louder my brain just turned its internal speakers up. Half-overwhelmed and looking for background noise, I clicked play on Porter Robinson&amp;rsquo;s &lt;em&gt;&lt;strong&gt;Nurture&lt;/strong&gt;&lt;/em&gt; on a whim.&lt;/p&gt;

&lt;/div&gt;
&lt;aside class=&#34;lead-note-aside&#34; aria-label=&#34;Margin note&#34;&gt;
&lt;svg class=&#34;lead-note-arrow&#34; viewBox=&#34;0 0 42 36&#34; fill=&#34;none&#34; aria-hidden=&#34;true&#34;&gt;
&lt;path d=&#34;M38 8C26 7 15 12 6 24&#34; stroke=&#34;currentColor&#34; stroke-width=&#34;1.5&#34; stroke-linecap=&#34;round&#34;/&gt;
&lt;path d=&#34;M13 25L5 25.5L6.5 17.5&#34; stroke=&#34;currentColor&#34; stroke-width=&#34;1.5&#34; stroke-linecap=&#34;round&#34; stroke-linejoin=&#34;round&#34;/&gt;
&lt;/svg&gt;
&lt;p class=&#34;lead-note-text&#34;&gt;used to dismiss EDM as noisy club music, ended up hooked during thesis crunch ↙&lt;/p&gt;</description>
      </item>
      <item>
        <title>Create Task Role for ECS Exec</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/4-ecsexec/4.1-taskrole/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/4-ecsexec/4.1-taskrole/</guid>
        <description>&lt;h4 id=&#34;create-the-policy&#34;&gt;Create the Policy&lt;/h4&gt;
&lt;p&gt;1. Navigate to the &lt;strong&gt;IAM&lt;/strong&gt; console. In the left navigation pane, select &lt;strong&gt;Policies&lt;/strong&gt;, then click &lt;strong&gt;Create policy&lt;/strong&gt;.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/4.1/Group145.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;2. In the policy editor, select the &lt;strong&gt;JSON&lt;/strong&gt; tab.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/4.1/Group146.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;3. Clear the existing content in the &lt;strong&gt;Policy editor&lt;/strong&gt; and paste the following JSON policy document:&lt;/p&gt;
&lt;div class=&#34;code-window&#34;&gt;
  &lt;div class=&#34;code-window-header&#34;&gt;
    &lt;div style=&#34;display: flex; align-items: center;&#34;&gt;
      &lt;span class=&#34;code-window-dots&#34; aria-hidden=&#34;true&#34;&gt;
        &lt;span class=&#34;code-dot code-dot-rose&#34;&gt;&lt;/span&gt;
        &lt;span class=&#34;code-dot code-dot-peach&#34;&gt;&lt;/span&gt;
        &lt;span class=&#34;code-dot code-dot-sage&#34;&gt;&lt;/span&gt;
      &lt;/span&gt;
      &lt;span class=&#34;code-window-lang&#34;&gt;json&lt;/span&gt;
    &lt;/div&gt;
    &lt;button type=&#34;button&#34; class=&#34;code-copy-btn&#34; data-copy-label=&#34;Copy&#34; data-copied-label=&#34;Copied!&#34;&gt;Copy&lt;/button&gt;
  &lt;/div&gt;
  &lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-json&#34; data-lang=&#34;json&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;nt&#34;&gt;&amp;#34;Version&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;2012-10-17&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;nt&#34;&gt;&amp;#34;Statement&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;[&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;            &lt;span class=&#34;nt&#34;&gt;&amp;#34;Effect&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;Allow&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;            &lt;span class=&#34;nt&#34;&gt;&amp;#34;Action&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;[&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;                &lt;span class=&#34;s2&#34;&gt;&amp;#34;ssmmessages:CreateControlChannel&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;                &lt;span class=&#34;s2&#34;&gt;&amp;#34;ssmmessages:CreateDataChannel&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;                &lt;span class=&#34;s2&#34;&gt;&amp;#34;ssmmessages:OpenControlChannel&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;                &lt;span class=&#34;s2&#34;&gt;&amp;#34;ssmmessages:OpenDataChannel&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;            &lt;span class=&#34;p&#34;&gt;],&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;            &lt;span class=&#34;nt&#34;&gt;&amp;#34;Resource&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;*&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        &lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;p&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;This policy grants the necessary permissions for ECS Exec to establish secure shell sessions with containers.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Create VPC and Subnets</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/2-networking/2.1-vpc/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/2-networking/2.1-vpc/</guid>
        <description>&lt;h4 id=&#34;create-vpc&#34;&gt;Create VPC&lt;/h4&gt;
&lt;p&gt;1. Log in to the AWS Console. &lt;strong&gt;Choose a consistent region&lt;/strong&gt; (e.g., &lt;code&gt;us-east-1&lt;/code&gt; or &lt;code&gt;ap-southeast-1&lt;/code&gt;) where you want to create all resources for this workshop. Make note of your selected region as you&amp;rsquo;ll need to use the same region throughout.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/2.1/Group1.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;2. In the AWS Console search bar, type &lt;code&gt;VPC&lt;/code&gt; and select &lt;strong&gt;VPC&lt;/strong&gt; from the dropdown, or navigate to &lt;strong&gt;Services &amp;gt; Networking &amp;amp; Content Delivery &amp;gt; VPC&lt;/strong&gt;.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/2.1/Group2.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;3. In the VPC Dashboard, select &lt;strong&gt;Your VPCs&lt;/strong&gt; from the left navigation panel, then click &lt;strong&gt;Create VPC&lt;/strong&gt;.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Enable Stickiness</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/6-serviceautoscaling/6.1-enablestickiness/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/6-serviceautoscaling/6.1-enablestickiness/</guid>
        <description>&lt;p&gt;Since our core application uses &lt;strong&gt;session-based authentication&lt;/strong&gt;, users might &lt;strong&gt;lose their session&lt;/strong&gt; if the Application Load Balancer routes their subsequent requests to different backend targets. To prevent this, we need to enable &lt;strong&gt;Session Stickiness&lt;/strong&gt;. This feature ensures that requests from a specific user are consistently directed to the same target for a defined period, thereby preserving their session continuity.&lt;/p&gt;
&lt;hr&gt;
&lt;h4 id=&#34;enable-stickiness&#34;&gt;Enable Stickiness&lt;/h4&gt;
&lt;p&gt;1. Navigate to the &lt;strong&gt;EC2&lt;/strong&gt; console and find the &lt;strong&gt;fcj-core-tg&lt;/strong&gt; target group. Click on it.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Introduction</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/1-introduction/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/1-introduction/</guid>
        <description>&lt;h4 id=&#34;what-is-a-container&#34;&gt;What Is A Container?&lt;/h4&gt;
&lt;p&gt;Think of a &lt;strong&gt;container&lt;/strong&gt; as a neat, standardized package for your software. It bundles up your application&amp;rsquo;s code along with all the dependencies it needs to run (like libraries, system tools, and the runtime).&lt;/p&gt;
&lt;p&gt;The magic? Your application inside this container runs quickly and reliably, no matter where you put it – your laptop, a test server, or in the cloud. It’s like a lightweight, mini-computer just for your app.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Serverless Containers: Deploying Application On ECS and Fargate</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/</guid>
        <description>&lt;h1 id=&#34;serverless-containers-deploying-application-on-ecs-and-fargate&#34;&gt;Serverless Containers: Deploying Application On ECS and Fargate&lt;/h1&gt;
&lt;p&gt;Welcome to my workshop on &lt;strong&gt;Amazon Elastic Container Service(Amazon ECS)&lt;/strong&gt; and &lt;strong&gt;AWS Fargate&lt;/strong&gt;!&lt;/p&gt;
&lt;p&gt;In this workshop, we will dive into the core concepts of Amazon ECS and AWS Fargate, exploring what they are and how they work. We will also apply our acquired knowledge by deploying a to-do application called &lt;strong&gt;Momentum&lt;/strong&gt; on these services. Then, we will construct a CI/CD pipeline for our application utilizing AWS developer tools, such as &lt;strong&gt;AWS CodePipeline&lt;/strong&gt;, &lt;strong&gt;AWS CodeBuild&lt;/strong&gt;.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Set Up RDS PostgreSQL Database</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/3-cluster/3.1-database/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/3-cluster/3.1-database/</guid>
        <description>&lt;h4 id=&#34;amazon-rds-overview&#34;&gt;Amazon RDS Overview&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;Amazon Relational Database Service (Amazon RDS)&lt;/strong&gt; is a web service designed to &lt;strong&gt;simplify setting up, operating, and scaling relational databases&lt;/strong&gt; in the AWS Cloud. It offers &lt;strong&gt;cost-efficient&lt;/strong&gt;, resizable capacity for industry-standard relational databases while managing common database administration tasks.&lt;/p&gt;
&lt;p&gt;Compared to self-managed database deployments, Amazon RDS offers several key advantages:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Familiar Database Engines&lt;/strong&gt;: You can use popular database engines like IBM Db2, MariaDB, Microsoft SQL Server, MySQL, Oracle Database, and &lt;strong&gt;PostgreSQL&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Managed Services&lt;/strong&gt;: &lt;strong&gt;Amazon RDS handles essential tasks&lt;/strong&gt; such as backups, software patching, automatic failure detection, and recovery. This frees you to focus on your application.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;High Availability and Read Scaling&lt;/strong&gt;: You can achieve high availability with a primary DB instance and a synchronous secondary instance for failover. Additionally, read replicas can be used to scale read-heavy workloads.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;While AWS generally &lt;strong&gt;recommends provisioning databases across at least two Availability Zones (AZs)&lt;/strong&gt; for enhanced resilience, &lt;strong&gt;this workshop will deploy a single database instance&lt;/strong&gt; in one subnet within a single AZ to &lt;strong&gt;minimize costs&lt;/strong&gt;.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Turn Off Flyway</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/5-cicd/5.1-turnoffflyway/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/5-cicd/5.1-turnoffflyway/</guid>
        <description>&lt;p&gt;We are moving the database migration process to the build phase of our CI/CD pipeline. Consequently, Flyway (or your specific migration tool) will be disabled within the application itself, preventing it from attempting to apply database migrations each time a container launches. This change resolves the concurrency issue where multiple containers might simultaneously attempt to apply the same migrations.&lt;/p&gt;
&lt;hr&gt;
&lt;h4 id=&#34;update-the-task-definition&#34;&gt;Update the Task Definition&lt;/h4&gt;
&lt;p&gt;1. Navigate to the &lt;strong&gt;ECS&lt;/strong&gt; console. In the left navigation pane, select &lt;strong&gt;Task definitions&lt;/strong&gt;. Select &lt;strong&gt;fcj-core-fargate-td&lt;/strong&gt; and click &lt;strong&gt;Create new revision&lt;/strong&gt;.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Understanding Amazon ECS</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/1-introduction/1.1-ecsandfargate/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/1-introduction/1.1-ecsandfargate/</guid>
        <description>&lt;h4 id=&#34;amazon-ecs-effortless-container-deployment-on-aws&#34;&gt;Amazon ECS: Effortless Container Deployment On AWS&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;Amazon Elastic Container Service (Amazon ECS)&lt;/strong&gt; is a fully managed container orchestration service designed to simplify the deployment, management, and scaling of containerized applications. A significant reason for choosing Amazon ECS is its ability to run applications and workloads without the user needing to manage the complex control plane — the underlying component that orchestrates the containers.&lt;/p&gt;
&lt;p&gt;Key Benefits of Amazon ECS:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Scalable Container Launch&lt;/strong&gt;: Deploy containers on AWS at scale without managing the underlying infrastructure.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Cost Efficiency&lt;/strong&gt;: Reduce costs through automatic scaling and pay-as-you-go pricing across various AWS compute options.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Accelerated Deployment&lt;/strong&gt;: Deploy faster and concentrate on application development by using Amazon ECS with AWS Fargate serverless compute for containers.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Optimized Security and Compliance&lt;/strong&gt;: Leverage AWS&amp;rsquo;s robust security features and maintain compliance.&lt;/li&gt;
&lt;/ul&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/1.1/1.svg&#34; alt=&#34;1&#34; loading=&#34;lazy&#34; style=&#34;width: 40pc; max-width: 100%; height: auto;&#34;&gt;
&lt;/figure&gt;&lt;p&gt;Amazon ECS offers &lt;strong&gt;two primary methods (launch types)&lt;/strong&gt; for running your containers:&lt;/p&gt;</description>
      </item>
      <item>
        <title>Anatomy of an Amazon ECS Cluster</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/1-introduction/1.2-ecsarchitectureoverview/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/1-introduction/1.2-ecsarchitectureoverview/</guid>
        <description>&lt;p&gt;Let’s explore the &lt;strong&gt;core components of an Amazon Elastic Container Service (ECS) architecture&lt;/strong&gt;, as illustrated in the following diagram.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/1.2/1.svg&#34; alt=&#34;1&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;To begin with Amazon ECS, you first establish a &lt;strong&gt;cluster (1)&lt;/strong&gt;. A cluster is a &lt;strong&gt;logical grouping of resources that host your containerized applications&lt;/strong&gt;. Within this cluster, the fundamental deployable unit is a &lt;strong&gt;task (2)&lt;/strong&gt;. Each task is an active instance of a task definition and represents one or more &lt;strong&gt;containers (3)&lt;/strong&gt; that are deployed and run together as a single unit. For example, a task might consist of your main application container alongside supporting sidecar containers for functions such as logging, monitoring, or other auxiliary processes.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Configure Public Subnets</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/2-networking/2.2-publicsubnet/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/2-networking/2.2-publicsubnet/</guid>
        <description>&lt;p&gt;For resources within public subnets to be reachable from the internet and to access external internet resources, an &lt;strong&gt;Internet Gateway&lt;/strong&gt; must be attached to the VPC. An Internet Gateway is a horizontally scaled, redundant, and highly available VPC component that enables communication between your VPC and the internet. It acts as a target in your VPC route tables for internet-bound traffic.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/2.2/1.svg&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;The Application Load Balancer (which will be discussed later) is deployed across at least two Availability Zones and functions as a public-facing resource. Its Elastic Network Interfaces (ENIs) are placed in public subnets. Attaching an Internet Gateway to the VPC, along with appropriate route table entries, allows these ENIs to use their public IP addresses (either auto-assigned or Elastic IP addresses) to receive traffic from the internet and respond.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Create Secret for Database Connection String</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/3-cluster/3.2-secretsmanager/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/3-cluster/3.2-secretsmanager/</guid>
        <description>&lt;h4 id=&#34;secrets-manager-overview&#34;&gt;Secrets Manager Overview&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;AWS Secrets Manager&lt;/strong&gt; is a service that helps you protect access to your applications, services, and IT resources. It enables you to &lt;strong&gt;easily manage, retrieve, and rotate database credentials, application credentials, OAuth tokens, API keys&lt;/strong&gt;, and other secrets throughout their lifecycles. Many AWS services can store and use secrets managed by Secrets Manager.&lt;/p&gt;
&lt;p&gt;Using Secrets Manager significantly improves your security posture. &lt;strong&gt;Instead of hardcoding&lt;/strong&gt; sensitive credentials in your application&amp;rsquo;s source code, &lt;strong&gt;you store them securely in Secrets Manager&lt;/strong&gt;. This practice helps prevent credentials from being compromised if someone inspects your application or its components. &lt;strong&gt;Your application can then make a runtime call&lt;/strong&gt; to the Secrets Manager service &lt;strong&gt;to retrieve these credentials&lt;/strong&gt; dynamically when needed.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Enable Auto Scaling for the Core Application</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/6-serviceautoscaling/6.2-enableautoscaling/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/6-serviceautoscaling/6.2-enableautoscaling/</guid>
        <description>&lt;p&gt;1. &lt;strong&gt;Update&lt;/strong&gt; the &lt;strong&gt;fcj-core-svc&lt;/strong&gt; service.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/6.2/Group5.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;2. Scroll to &lt;strong&gt;Service auto scaling&lt;/strong&gt; and expand it.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/6.2/Group6.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;3. Configure auto scaling settings:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Check &lt;strong&gt;Use service auto scaling&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Minimum number of tasks&lt;/strong&gt;: Enter &lt;code&gt;1&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Maximum number of tasks&lt;/strong&gt;: Enter &lt;code&gt;3&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/6.2/Group7.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;4. Click &lt;strong&gt;Add scaling policies&lt;/strong&gt;.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/6.2/Group8.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;5. Configure the scaling policy:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Policy name&lt;/strong&gt;: Enter &lt;code&gt;fcj-core-scaling-policy&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;ECS service metric&lt;/strong&gt;: Select &lt;strong&gt;ECSServiceAverageCPUUtilization&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Target value&lt;/strong&gt;: Enter &lt;code&gt;30&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/6.2/Group9.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;aside class=&#34;notice notice-note&#34;&gt;
&lt;div class=&#34;notice-header&#34;&gt;
&lt;div class=&#34;notice-title&#34;&gt;&lt;svg class=&#34;notice-icon&#34; viewBox=&#34;0 0 20 20&#34; fill=&#34;none&#34; stroke=&#34;currentColor&#34; stroke-width=&#34;1.7&#34; aria-hidden=&#34;true&#34;&gt;&lt;path d=&#34;M5.5 3.5h9A1.5 1.5 0 0 1 16 5v10l-3.5-2.3L9 15V5a1.5 1.5 0 0 0-3.5-1.5Z&#34; stroke-linejoin=&#34;round&#34;/&gt;&lt;/svg&gt;&lt;span&gt;note&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;notice-body&#34;&gt;&lt;p&gt;The scaling policy automatically adjusts the number of running tasks based on CPU utilization. When average CPU usage exceeds 30%, new tasks will be launched (up to the maximum of 3). When CPU usage drops below 30%, tasks will be terminated (down to the minimum of 1). This ensures optimal resource utilization and cost efficiency.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Establish GitHub Connection</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/5-cicd/5.2-ghconnection/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/5-cicd/5.2-ghconnection/</guid>
        <description>&lt;h4 id=&#34;fork-the-repository&#34;&gt;Fork the Repository&lt;/h4&gt;
&lt;p&gt;1. Open the workshop repository&amp;rsquo;s URL in a new tab.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://github.com/weebNeedWeed/ws-deploying-spring-ecs-fargate&#34;&gt;Click to open Workshop Repository&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2. Click &lt;strong&gt;Fork&lt;/strong&gt; to create a copy of this repository in your GitHub account.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/5.2/Group15.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;hr&gt;
&lt;h4 id=&#34;connect-aws-to-github&#34;&gt;Connect AWS to GitHub&lt;/h4&gt;
&lt;p&gt;1. Navigate to the AWS Console and search for &lt;strong&gt;CodePipeline&lt;/strong&gt;.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/5.2/Group8.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;2. In the left navigation pane, expand &lt;strong&gt;Settings&lt;/strong&gt; and click &lt;strong&gt;Connections&lt;/strong&gt;.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/5.2/Group9.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;3. Click &lt;strong&gt;Create connection&lt;/strong&gt;.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/5.2/Group10.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;4. Configure the connection provider:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Provider&lt;/strong&gt;: Select &lt;strong&gt;GitHub&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/5.2/Group11.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;5. Configure the connection details:&lt;/p&gt;</description>
      </item>
      <item>
        <title>Network Configuration</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/2-networking/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/2-networking/</guid>
        <description>&lt;p&gt;An Amazon ECS cluster requires a virtual robust network foundation. This section outlines the network architecture we will configure, leveraging the core AWS networking components.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/2/1.svg&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;h4 id=&#34;aws-global-infrastructure-regions-and-availability-zones&#34;&gt;AWS Global Infrastructure: Regions and Availability Zones&lt;/h4&gt;
&lt;p&gt;AWS&amp;rsquo;s global infrastructure is built around &lt;strong&gt;Regions&lt;/strong&gt;, which are physical locations worldwide where AWS clusters its data centers. Each Region is a separate geographic area.&lt;/p&gt;
&lt;p&gt;Within each Region, there are multiple isolated locations known as &lt;strong&gt;Availability Zones (AZs)&lt;/strong&gt;. An AZ consists of one or more discrete data centers, each with redunant power, networking and connectivity. Using multiple AZs is key to designing highly available and fault-tolerant applications.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Update Services to Use Task Role</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/4-ecsexec/4.2-updateservice/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/4-ecsexec/4.2-updateservice/</guid>
        <description>&lt;h4 id=&#34;update-the-task-definitions&#34;&gt;Update the Task Definitions&lt;/h4&gt;
&lt;p&gt;1. In the &lt;strong&gt;ECS&lt;/strong&gt; console, navigate to &lt;strong&gt;Task definitions&lt;/strong&gt;. Select &lt;strong&gt;fcj-core-fargate-td&lt;/strong&gt; and click &lt;strong&gt;Create new revision&lt;/strong&gt;.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/4.2/Group158.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;2. Scroll down to &lt;strong&gt;Task role&lt;/strong&gt; and select &lt;strong&gt;fcjEcsTaskRole&lt;/strong&gt; from the dropdown.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/4.2/Group159.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;3. Scroll to the bottom and click &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/4.2/Group160.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;4. Repeat the same process for &lt;strong&gt;fcj-admin-fargate-td&lt;/strong&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Select &lt;strong&gt;fcj-admin-fargate-td&lt;/strong&gt; and click &lt;strong&gt;Create new revision&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Scroll down to &lt;strong&gt;Task role&lt;/strong&gt; and select &lt;strong&gt;fcjEcsTaskRole&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Create&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h4 id=&#34;update-the-services&#34;&gt;Update the Services&lt;/h4&gt;
&lt;p&gt;1. Navigate to your &lt;strong&gt;ECS cluster&lt;/strong&gt; and click on the &lt;strong&gt;Services&lt;/strong&gt; tab. Select the &lt;strong&gt;fcj-core-svc&lt;/strong&gt; service and click &lt;strong&gt;Update&lt;/strong&gt;.&lt;/p&gt;</description>
      </item>
      <item>
        <title>(Optional) Create VPC Endpoint for Session Manager</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/4-ecsexec/4.3-vpcendpoint/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/4-ecsexec/4.3-vpcendpoint/</guid>
        <description>&lt;p&gt;Instead of routing Amazon ECS Exec traffic through a NAT Gateway to the internet, you can create a VPC Endpoint. &lt;strong&gt;This endpoint establishes a private connection between your VPC and the necessary AWS service&lt;/strong&gt; (like AWS Systems Manager for ECS Exec) &lt;strong&gt;using elastic network interfaces (ENIs)&lt;/strong&gt; within your subnets.&lt;/p&gt;
&lt;p&gt;When your resources communicate with the AWS service, DNS resolves the service&amp;rsquo;s hostname to the &lt;strong&gt;private IP addresses of these ENIs&lt;/strong&gt;. &lt;strong&gt;Traffic is then directed to the AWS service securely over the AWS private network&lt;/strong&gt;, bypassing the public internet entirely. Thus, with a VPC Endpoint, &lt;strong&gt;ECS Exec traffic remains within your VPC and the AWS network&lt;/strong&gt;, enhancing security and potentially reducing data transfer costs associated with a NAT Gateway.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Application Overview</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/1-introduction/1.3-exploringapplication/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/1-introduction/1.3-exploringapplication/</guid>
        <description>&lt;h4 id=&#34;workshop-applications-overview&#34;&gt;Workshop Applications Overview&lt;/h4&gt;
&lt;p&gt;We will be working with two key applications that you will learn to deploy on Amazon Elastic Container Service (ECS): a feature-rich &lt;strong&gt;core application&lt;/strong&gt; and a complementary &lt;strong&gt;admin application&lt;/strong&gt;. Understanding these applications will provide context for the ECS concepts and deployment steps we&amp;rsquo;ll cover.&lt;/p&gt;
&lt;hr&gt;
&lt;h4 id=&#34;core-application-momentum-to-do-app&#34;&gt;Core Application: &amp;ldquo;Momentum&amp;rdquo; (To-do App)&lt;/h4&gt;
&lt;p&gt;The primary application is &amp;ldquo;Momentum,&amp;rdquo; a comprehensive to-do list manager. Users of the Momentum application can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Log in or Register for a new account&lt;/li&gt;
&lt;li&gt;Create new to-do items with a priority (e.g., &lt;code&gt;LOW&lt;/code&gt;, &lt;code&gt;MEDIUM&lt;/code&gt;, &lt;code&gt;HIGH&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Change the status of a to-do (e.g., &lt;code&gt;TODO&lt;/code&gt;, &lt;code&gt;IN PROGRESS&lt;/code&gt;, &lt;code&gt;DONE&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Edit or Delete existing to-dos&lt;/li&gt;
&lt;li&gt;Sort their to-dos based on priority and date&lt;/li&gt;
&lt;li&gt;Filter their to-dos based on priority and status&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The backend of Momentum is built using Spring Boot, leveraging the Spring MVC framework for rapid web application development. It uses a PostgreSQL database to store user and to-do data.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Cluster Setup</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/3-cluster/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/3-cluster/</guid>
        <description>&lt;p&gt;In this module, we&amp;rsquo;ll provision our Amazon ECS cluster and the necessary components to run our workloads. This includes an &lt;strong&gt;Application Load Balancer (ALB)&lt;/strong&gt;, an &lt;strong&gt;Amazon RDS PostgreSQL&lt;/strong&gt; database, and &lt;strong&gt;AWS Secrets Manager&lt;/strong&gt; for handling sensitive information. We&amp;rsquo;ll also build our application container images and push them to &lt;strong&gt;Amazon Elastic Container Registry (ECR)&lt;/strong&gt; for ECS to use. The following diagram illustrates the architecture we&amp;rsquo;re about to set up.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/3/1.svg&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;Here&amp;rsquo;s how the system will function:&lt;/p&gt;</description>
      </item>
      <item>
        <title>Configure Private Subnets</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/2-networking/2.3-privatesubnet/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/2-networking/2.3-privatesubnet/</guid>
        <description>&lt;p&gt;Private subnets are designed to be isolated from direct internet access. This is primarily because their associated route tables do not have a route to an internet gateway, and resources within them typically do not possess public IP addresses for inbound connections.&lt;/p&gt;
&lt;p&gt;However, in certain scenarios, resources within these private subnets need to access the internet—for example, to download software patches, update packages, or retrieve external dependencies. To enable this outbound-only connectivity, we use a resource called a &lt;strong&gt;NAT gateway&lt;/strong&gt;.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Create CI/CD Pipeline with AWS CodePipeline</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/5-cicd/5.3-createthepipeline/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/5-cicd/5.3-createthepipeline/</guid>
        <description>&lt;h4 id=&#34;examine-buildspecyml&#34;&gt;Examine buildspec.yml&lt;/h4&gt;
&lt;p&gt;A buildspec is a collection of build commands and related settings, in YAML format, that AWS CodeBuild uses to run a build. You can include a buildspec file (typically named buildspec.yml) as part of your source code, or you can define the buildspec configuration directly when you create a build project. This workshop provides this file, so you don&amp;rsquo;t have to write it from scratch. Let&amp;rsquo;s examine its contents.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Prepare Container Images</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/3-cluster/3.3-ecr/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/3-cluster/3.3-ecr/</guid>
        <description>&lt;h4 id=&#34;amazon-ecr-overview&#34;&gt;Amazon ECR Overview&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;Amazon Elastic Container Registry (Amazon ECR)&lt;/strong&gt; is a fully managed &lt;strong&gt;AWS container image registry service&lt;/strong&gt;. It is designed to be secure, scalable, and reliable, allowing you to &lt;strong&gt;store, manage, and deploy container images&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Key features of Amazon ECR include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Private Repositories&lt;/strong&gt;: ECR supports private repositories, with &lt;strong&gt;access&lt;/strong&gt; controlled through resource-based permissions &lt;strong&gt;using AWS Identity and Access Management (IAM)&lt;/strong&gt;. This ensures that only specified IAM users or roles (e.g., those assumed by Amazon EC2 instances or ECS tasks) can access your container repositories and images.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Broad Compatibility&lt;/strong&gt;: You can use your preferred command-line interface (CLI) — such as the Docker CLI or AWS CLI — to push, pull, and manage Docker images, Open Container Initiative (OCI) images, and OCI-compatible artifacts.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In this workshop, we will first create an ECR repository. Then, we will build and push &lt;strong&gt;two distinct container images to this repository&lt;/strong&gt;: a &lt;strong&gt;core image&lt;/strong&gt; (for our core application) and an &lt;strong&gt;admin image&lt;/strong&gt; (for our admin application).&lt;/p&gt;</description>
      </item>
      <item>
        <title>Test Auto Scaling</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/6-serviceautoscaling/6.3-testautoscaling/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/6-serviceautoscaling/6.3-testautoscaling/</guid>
        <description>&lt;h4 id=&#34;test-auto-scaling&#34;&gt;Test Auto Scaling&lt;/h4&gt;
&lt;p&gt;1. Copy the &lt;strong&gt;DNS name&lt;/strong&gt; of the ALB for use with Apache Benchmark.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/6.3/Group12.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;2. Open &lt;strong&gt;CloudShell&lt;/strong&gt;.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/6.3/Group11.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;3. Execute these commands to install the Apache Benchmark tool and run a load test:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Replace &lt;code&gt;&amp;lt;alb-dns-name&amp;gt;&lt;/code&gt; with your ALB&amp;rsquo;s DNS name.&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;code-window&#34;&gt;
  &lt;div class=&#34;code-window-header&#34;&gt;
    &lt;div style=&#34;display: flex; align-items: center;&#34;&gt;
      &lt;span class=&#34;code-window-dots&#34; aria-hidden=&#34;true&#34;&gt;
        &lt;span class=&#34;code-dot code-dot-rose&#34;&gt;&lt;/span&gt;
        &lt;span class=&#34;code-dot code-dot-peach&#34;&gt;&lt;/span&gt;
        &lt;span class=&#34;code-dot code-dot-sage&#34;&gt;&lt;/span&gt;
      &lt;/span&gt;
      &lt;span class=&#34;code-window-lang&#34;&gt;bash&lt;/span&gt;
    &lt;/div&gt;
    &lt;button type=&#34;button&#34; class=&#34;code-copy-btn&#34; data-copy-label=&#34;Copy&#34; data-copied-label=&#34;Copied!&#34;&gt;Copy&lt;/button&gt;
  &lt;/div&gt;
  &lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo yum install -y httpd-tools
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;ab -n &lt;span class=&#34;m&#34;&gt;1000000&lt;/span&gt; -c &lt;span class=&#34;m&#34;&gt;50&lt;/span&gt; http://&amp;lt;alb-dns-name&amp;gt;/health&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/6.3/Group13.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;4. Wait approximately 5-10 minutes for auto scaling to trigger. You will see the additional tasks being provisioned as CPU utilization increases.&lt;/p&gt;</description>
      </item>
      <item>
        <title>(Optional) Enable Auto Scaling for Admin Application</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/6-serviceautoscaling/6.4-adminautoscaling/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/6-serviceautoscaling/6.4-adminautoscaling/</guid>
        <description>&lt;p&gt;Follow the same process outlined in sections 6.2 and 6.3 to enable auto scaling for the admin application, with the following configuration:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Auto Scaling Configuration:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Service&lt;/strong&gt;: &lt;code&gt;fcj-admin-svc&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Minimum number of tasks&lt;/strong&gt;: &lt;code&gt;1&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Maximum number of tasks&lt;/strong&gt;: &lt;code&gt;3&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Policy name&lt;/strong&gt;: &lt;code&gt;fcj-admin-scaling-policy&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;ECS service metric&lt;/strong&gt;: &lt;strong&gt;ECSServiceAverageCPUUtilization&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Target value&lt;/strong&gt;: &lt;code&gt;30&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Load Testing:&lt;/strong&gt;
To test the admin application auto scaling, use the following command in CloudShell:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Replace &lt;code&gt;&amp;lt;alb-dns-name&amp;gt;&lt;/code&gt; with your ALB&amp;rsquo;s DNS name.&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;code-window&#34;&gt;
  &lt;div class=&#34;code-window-header&#34;&gt;
    &lt;div style=&#34;display: flex; align-items: center;&#34;&gt;
      &lt;span class=&#34;code-window-dots&#34; aria-hidden=&#34;true&#34;&gt;
        &lt;span class=&#34;code-dot code-dot-rose&#34;&gt;&lt;/span&gt;
        &lt;span class=&#34;code-dot code-dot-peach&#34;&gt;&lt;/span&gt;
        &lt;span class=&#34;code-dot code-dot-sage&#34;&gt;&lt;/span&gt;
      &lt;/span&gt;
      &lt;span class=&#34;code-window-lang&#34;&gt;bash&lt;/span&gt;
    &lt;/div&gt;
    &lt;button type=&#34;button&#34; class=&#34;code-copy-btn&#34; data-copy-label=&#34;Copy&#34; data-copied-label=&#34;Copied!&#34;&gt;Copy&lt;/button&gt;
  &lt;/div&gt;
  &lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;ab -n &lt;span class=&#34;m&#34;&gt;1000000&lt;/span&gt; -c &lt;span class=&#34;m&#34;&gt;50&lt;/span&gt; http://&amp;lt;alb-dns-name&amp;gt;:81/&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;aside class=&#34;notice notice-info&#34;&gt;
&lt;div class=&#34;notice-header&#34;&gt;
&lt;div class=&#34;notice-title&#34;&gt;&lt;svg class=&#34;notice-icon&#34; viewBox=&#34;0 0 20 20&#34; fill=&#34;none&#34; stroke=&#34;currentColor&#34; stroke-width=&#34;1.7&#34; aria-hidden=&#34;true&#34;&gt;&lt;circle cx=&#34;10&#34; cy=&#34;10&#34; r=&#34;7.5&#34;/&gt;&lt;path d=&#34;M10 9.2v4.3M10 6.4h.01&#34; stroke-linecap=&#34;round&#34;/&gt;&lt;/svg&gt;&lt;span&gt;info&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;notice-body&#34;&gt;&lt;p&gt;&lt;strong&gt;Admin Application Testing:&lt;/strong&gt; The admin application runs on port 81 of the load balancer. The load test targets the root path (&lt;code&gt;/&lt;/code&gt;) instead of &lt;code&gt;/health&lt;/code&gt; since the React application structure differs from the core Spring Boot application.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Add Permissions to CodeBuild Service Role</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/5-cicd/5.4-addpermissions/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/5-cicd/5.4-addpermissions/</guid>
        <description>&lt;p&gt;1. Navigate to the &lt;strong&gt;IAM&lt;/strong&gt; console and select &lt;strong&gt;Roles&lt;/strong&gt;.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/5.4/Group44.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;2. Find the &lt;strong&gt;CodeBuild service role&lt;/strong&gt; and click on it.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/5.4/Group45.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;3. Click &lt;strong&gt;Add permissions&lt;/strong&gt;, then select &lt;strong&gt;Attach policies&lt;/strong&gt;.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/5.4/Group46.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;4. Search for and select &lt;strong&gt;AmazonEC2ContainerRegistryFullAccess&lt;/strong&gt;.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/5.4/Group47.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;5. Search for and select &lt;strong&gt;SecretsManagerReadWrite&lt;/strong&gt;. Click &lt;strong&gt;Add permissions&lt;/strong&gt;.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/5.4/Group48.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;6. Navigate back to your pipeline and rerun the build stage.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/5.4/Group49.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;7. Wait approximately 10 minutes for the deploy stage to complete successfully.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/5.4/Group50.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;aside class=&#34;notice notice-tip&#34;&gt;
&lt;div class=&#34;notice-header&#34;&gt;
&lt;div class=&#34;notice-title&#34;&gt;&lt;svg class=&#34;notice-icon&#34; viewBox=&#34;0 0 20 20&#34; fill=&#34;none&#34; stroke=&#34;currentColor&#34; stroke-width=&#34;1.7&#34; aria-hidden=&#34;true&#34;&gt;&lt;path d=&#34;M10 2.8a5 5 0 0 0-3 9c.6.5 1 1.2 1 2h4c0-.8.4-1.5 1-2a5 5 0 0 0-3-9Z&#34; stroke-linejoin=&#34;round&#34;/&gt;&lt;path d=&#34;M8.3 16.5h3.4&#34; stroke-linecap=&#34;round&#34;/&gt;&lt;/svg&gt;&lt;span&gt;tip&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;notice-body&#34;&gt;&lt;p&gt;&lt;strong&gt;Pipeline Process Overview:&lt;/strong&gt; AWS CodeBuild creates a new container image and pushes it to the Amazon ECR repository. During the deploy stage, the &lt;strong&gt;fcj-core-fargate-td&lt;/strong&gt; task definition is updated with a new revision containing the latest container image. The ECS service then updates to use this new task definition revision.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Create Amazon ECS Cluster</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/3-cluster/3.4-newcluster/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/3-cluster/3.4-newcluster/</guid>
        <description>&lt;p&gt;1. Navigate to Amazon ECS:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In the AWS Console search bar, type &lt;code&gt;ECS&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Elastic Container Service&lt;/strong&gt; from the dropdown&lt;/li&gt;
&lt;/ul&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/3.4/Group29.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;2. In the ECS Dashboard, select &lt;strong&gt;Clusters&lt;/strong&gt; from the left navigation panel, then click &lt;strong&gt;Create cluster&lt;/strong&gt;.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/3.4/Group28.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;3. Configure the cluster settings:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Cluster name&lt;/strong&gt;: Enter &lt;code&gt;fcj-ecs-cluster&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Infrastructure&lt;/strong&gt;: Select &lt;strong&gt;AWS Fargate (serverless)&lt;/strong&gt; only&lt;/li&gt;
&lt;/ul&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/3.4/Group30.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;4. Configure monitoring:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Scroll down to &lt;strong&gt;Monitoring&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Use Container Insights&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/3.4/Group31.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;5. Review your configuration and click &lt;strong&gt;Create&lt;/strong&gt;.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/3.4/Group32.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;6. &lt;strong&gt;Verify creation&lt;/strong&gt;: Confirm that the &lt;strong&gt;fcj-ecs-cluster&lt;/strong&gt; appears in your clusters list with &amp;ldquo;Active&amp;rdquo; status.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Create Security Groups</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/2-networking/2.4-securitygroups/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/2-networking/2.4-securitygroups/</guid>
        <description>&lt;p&gt;Within a VPC, we use a component called a &lt;strong&gt;security group&lt;/strong&gt;. A security group acts as a stateful virtual firewall, controlling the inbound and outbound traffic for the resources it&amp;rsquo;s associated with, such as EC2 instances. When you associate a security group with an EC2 instance, it precisely dictates what traffic can reach and leave that instance. Being stateful means that if you allow inbound traffic, the corresponding outbound (reply) traffic is automatically permitted, regardless of outbound rules.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Debugging With ECS Exec</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/4-ecsexec/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/4-ecsexec/</guid>
        <description>&lt;p&gt;With &lt;strong&gt;Amazon ECS Exec&lt;/strong&gt;, you can &lt;strong&gt;directly interact with your containers—running commands&lt;/strong&gt; or &lt;strong&gt;accessing a shell&lt;/strong&gt;—&lt;strong&gt;without&lt;/strong&gt; needing to first interact with the host container operating system, &lt;strong&gt;open inbound ports&lt;/strong&gt;, or &lt;strong&gt;manage SSH keys&lt;/strong&gt;. You can use ECS Exec with containers running on an Amazon EC2 instance or AWS Fargate. This capability simplifies collecting diagnostic information and quickly troubleshooting errors. For example, in a development context, you can use ECS Exec to easily interact with various processes in your containers and &lt;strong&gt;troubleshoot your applications&lt;/strong&gt;. In production scenarios, you can use it to gain break-glass access to your containers to &lt;strong&gt;debug critical issues&lt;/strong&gt;.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Enable and Verify ECS Exec Functionality</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/4-ecsexec/4.4-enableecsexec/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/4-ecsexec/4.4-enableecsexec/</guid>
        <description>&lt;h4 id=&#34;enable-ecs-exec&#34;&gt;Enable ECS Exec&lt;/h4&gt;
&lt;p&gt;1. Click the &lt;strong&gt;CloudShell&lt;/strong&gt; button to open CloudShell.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/4.4/Group176.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;2. Execute the following commands to enable ECS Exec for both services:&lt;/p&gt;
&lt;div class=&#34;code-window&#34;&gt;
  &lt;div class=&#34;code-window-header&#34;&gt;
    &lt;div style=&#34;display: flex; align-items: center;&#34;&gt;
      &lt;span class=&#34;code-window-dots&#34; aria-hidden=&#34;true&#34;&gt;
        &lt;span class=&#34;code-dot code-dot-rose&#34;&gt;&lt;/span&gt;
        &lt;span class=&#34;code-dot code-dot-peach&#34;&gt;&lt;/span&gt;
        &lt;span class=&#34;code-dot code-dot-sage&#34;&gt;&lt;/span&gt;
      &lt;/span&gt;
      &lt;span class=&#34;code-window-lang&#34;&gt;bash&lt;/span&gt;
    &lt;/div&gt;
    &lt;button type=&#34;button&#34; class=&#34;code-copy-btn&#34; data-copy-label=&#34;Copy&#34; data-copied-label=&#34;Copied!&#34;&gt;Copy&lt;/button&gt;
  &lt;/div&gt;
  &lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;aws ecs update-service --cluster fcj-ecs-cluster --enable-execute-command --force-new-deployment --service fcj-core-svc
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;aws ecs update-service --cluster fcj-ecs-cluster --enable-execute-command --force-new-deployment --service fcj-admin-svc&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/4.4/Group177.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;aside class=&#34;notice notice-info&#34;&gt;
&lt;div class=&#34;notice-header&#34;&gt;
&lt;div class=&#34;notice-title&#34;&gt;&lt;svg class=&#34;notice-icon&#34; viewBox=&#34;0 0 20 20&#34; fill=&#34;none&#34; stroke=&#34;currentColor&#34; stroke-width=&#34;1.7&#34; aria-hidden=&#34;true&#34;&gt;&lt;circle cx=&#34;10&#34; cy=&#34;10&#34; r=&#34;7.5&#34;/&gt;&lt;path d=&#34;M10 9.2v4.3M10 6.4h.01&#34; stroke-linecap=&#34;round&#34;/&gt;&lt;/svg&gt;&lt;span&gt;info&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;notice-body&#34;&gt;&lt;p&gt;The &lt;code&gt;--force-new-deployment&lt;/code&gt; flag ensures that new tasks are created with ECS Exec capabilities enabled.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Configure the Standard CI/CD Pipeline</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/5-cicd/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/5-cicd/</guid>
        <description>&lt;p&gt;AWS offers a suite of developer services, including &lt;strong&gt;AWS CodePipeline&lt;/strong&gt;, &lt;strong&gt;AWS CodeBuild&lt;/strong&gt;, and AWS CodeDeploy, which are used to &lt;strong&gt;build CI/CD pipelines&lt;/strong&gt; that natively integrate with other AWS services.&lt;/p&gt;
&lt;p&gt;In this module, we&amp;rsquo;ll use &lt;strong&gt;AWS CodePipeline and AWS CodeBuild to construct a CI/CD pipeline&lt;/strong&gt; for &lt;strong&gt;our core application&lt;/strong&gt;. We&amp;rsquo;ll configure AWS CodeBuild to interact with other AWS services for building our container images. For instance, &lt;strong&gt;AWS CodeBuild&lt;/strong&gt; can &lt;strong&gt;retrieve a database connection string from AWS Secrets Manager&lt;/strong&gt; to initiate a connection to our database and apply migrations. However, since our database resides in a private subnet, &lt;strong&gt;AWS CodeBuild cannot connect to it directly over the public internet&lt;/strong&gt;. Fortunately, AWS allows AWS CodeBuild projects to &lt;strong&gt;run within a VPC subnet&lt;/strong&gt;. This enables AWS CodeBuild to access resources in private subnets, provided the subnet has appropriate network routing (e.g., via a NAT Gateway for internet access if needed for other tasks, or direct routing to the database).&lt;/p&gt;</description>
      </item>
      <item>
        <title>Define the Task Execution Role</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/3-cluster/3.5-taskexecutionrole/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/3-cluster/3.5-taskexecutionrole/</guid>
        <description>&lt;h4 id=&#34;task-role-vs-task-execution-role&#34;&gt;Task Role vs. Task Execution Role&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;Amazon ECS utilizes two distinct IAM roles&lt;/strong&gt; for tasks: the &lt;strong&gt;Task Role&lt;/strong&gt; and the &lt;strong&gt;Task Execution Role&lt;/strong&gt;. Understanding their different purposes is crucial.&lt;/p&gt;
&lt;h5 id=&#34;task-role-permissions-for-your-application&#34;&gt;&lt;strong&gt;Task Role (Permissions for your Application)&lt;/strong&gt;&lt;/h5&gt;
&lt;p&gt;This IAM role is associated with your Amazon ECS tasks themselves. The permissions granted in this role are &lt;strong&gt;assumed by the application code running inside your containers&lt;/strong&gt;. This allows your application to directly interact with other AWS services, such as &lt;strong&gt;reading from an S3 bucket&lt;/strong&gt; or &lt;strong&gt;writing to a DynamoDB table&lt;/strong&gt;. A Task Role is &lt;strong&gt;required whenever your application code needs to make AWS API calls&lt;/strong&gt;.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Test the CI/CD Pipeline</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/5-cicd/5.5-testpipeline/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/5-cicd/5.5-testpipeline/</guid>
        <description>&lt;p&gt;1. Open your forked GitHub repository and navigate to &lt;code&gt;application/Momentum/src/main/resources/templates/home.html&lt;/code&gt;.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/5.5/Group51.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;2. Click the &lt;strong&gt;Pencil Icon&lt;/strong&gt; to edit &lt;code&gt;home.html&lt;/code&gt;.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/5.5/Group52.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;3. On &lt;strong&gt;line 15&lt;/strong&gt;, change &lt;strong&gt;MOMENTUM&lt;/strong&gt; to &lt;code&gt;MOMENTUM V2&lt;/code&gt;.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/5.5/Group53.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;4. &lt;strong&gt;Commit&lt;/strong&gt; the change directly to the master branch. Now your pipeline is automatically triggered.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/5.5/Group54.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;5. Navigate back to your pipeline. You can click on the build process to monitor the logs.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/5.5/Group55.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;6. You can &lt;strong&gt;View entire log&lt;/strong&gt; on Amazon CloudWatch or &lt;strong&gt;Tail logs&lt;/strong&gt; to see the latest logs only.&lt;/p&gt;</description>
      </item>
      <item>
        <title>(Optional) Build CI/CD Pipeline for Admin Application</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/5-cicd/5.6-adminpipeline/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/5-cicd/5.6-adminpipeline/</guid>
        <description>&lt;h4 id=&#34;create-cicd-pipeline-for-admin-application&#34;&gt;Create CI/CD Pipeline for Admin Application&lt;/h4&gt;
&lt;p&gt;Follow the same process outlined in sections 5.3, 5.4, and 5.5 to create a CI/CD pipeline for the admin application, with the following key differences:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Pipeline Configuration:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Pipeline name&lt;/strong&gt;: &lt;code&gt;fcj-admin-pipeline&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Project name&lt;/strong&gt;: &lt;code&gt;fcj-admin-build&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Repository&lt;/strong&gt;: Use the same forked repository&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Buildspec file&lt;/strong&gt;: &lt;code&gt;application/MomentumAdmin/buildspec.yml&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;ECS Service&lt;/strong&gt;: Select &lt;code&gt;fcj-admin-svc&lt;/code&gt; for deployment&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Key Differences:&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Buildspec Location&lt;/strong&gt;: The buildspec file for the admin application is located at &lt;code&gt;application/MomentumAdmin/buildspec.yml&lt;/code&gt; (already provided in the repository)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Permissions&lt;/strong&gt;: You do &lt;strong&gt;not&lt;/strong&gt; need to add SecretsManagerReadWrite permissions to the CodeBuild role for the admin application&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Required Permission&lt;/strong&gt;: Only add &lt;strong&gt;AmazonEC2ContainerRegistryFullAccess&lt;/strong&gt; to the CodeBuild service role&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;VPC Configuration&lt;/strong&gt;: Do not configure VPC settings for the CodeBuild project (leave VPC as default)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Testing the Pipeline:&lt;/strong&gt;
To test the admin pipeline, modify any file in the &lt;code&gt;application/MomentumAdmin/&lt;/code&gt; directory and commit the changes to trigger the pipeline.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Configure Service Auto Scaling</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/6-serviceautoscaling/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/6-serviceautoscaling/</guid>
        <description>&lt;p&gt;&lt;strong&gt;Amazon ECS Service Auto Scaling&lt;/strong&gt; automatically &lt;strong&gt;adjusts the desired count of tasks running&lt;/strong&gt; in your Amazon ECS service. This helps you maintain application availability and performance while optimizing costs.&lt;/p&gt;
&lt;p&gt;Amazon ECS Service Auto Scaling primarily utilizes the following types of scaling policies, which you can configure for your workloads:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Target Tracking Scaling&lt;/strong&gt;: This is often the &lt;strong&gt;simplest and most recommended approach&lt;/strong&gt;. You set a &lt;strong&gt;target value for a specific metric&lt;/strong&gt; (e.g., 60% average CPU utilization or 75% average Memory utilization). Service Auto Scaling then &lt;strong&gt;automatically adjusts the number of tasks to keep the metric at, or near, that target value&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Step Scaling&lt;/strong&gt;: This policy allows you to define different scaling adjustments based on the size of an CloudWatch alarm breach. For example, if CPU utilization is between 70-80%, add 1 task; if it&amp;rsquo;s above 80%, add 3 tasks.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Scheduled Scaling&lt;/strong&gt;: This allows you to scale your service based on predictable load changes. You can set schedules for when to increase or decrease the number of tasks (e.g., scale up during business hours and scale down at night).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Predictive Scaling&lt;/strong&gt;: This uses machine learning to forecast future traffic and proactively adjust capacity. It analyzes historical workload data to predict upcoming demand.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In this workshop, we will configure Target Tracking Scaling for the core service. You can apply the same process for the admin service.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Implement Load Balancing for Core Application</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/3-cluster/3.6-alb/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/3-cluster/3.6-alb/</guid>
        <description>&lt;h4 id=&#34;application-load-balancer-overview&#34;&gt;Application Load Balancer Overview&lt;/h4&gt;
&lt;p&gt;An &lt;strong&gt;Application Load Balancer (ALB)&lt;/strong&gt; operates at the application layer (Layer 7) of the Open Systems Interconnection (OSI) model. When a request reaches the ALB, it first &lt;strong&gt;evaluates listener rules in priority order&lt;/strong&gt; to determine the appropriate action. Based on this rule, it then &lt;strong&gt;selects a target&lt;/strong&gt; from the designated target group. You can configure listener rules to intelligently route requests to different target groups based on application traffic content, such as the path or host.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Cleanup</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/7-cleanup/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/7-cleanup/</guid>
        <description>&lt;h4 id=&#34;delete-the-cicd-pipeline&#34;&gt;Delete the CI/CD Pipeline&lt;/h4&gt;
&lt;p&gt;1. Navigate to &lt;strong&gt;CodePipeline&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;2. Select &lt;strong&gt;Pipelines&lt;/strong&gt; in the left navigation pane.&lt;/p&gt;
&lt;p&gt;3. Select &lt;strong&gt;fcj-core-pipeline&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;4. Click &lt;strong&gt;Delete pipeline&lt;/strong&gt;.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/7/Group1.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;hr&gt;
&lt;h4 id=&#34;delete-the-build-project&#34;&gt;Delete the Build Project&lt;/h4&gt;
&lt;p&gt;1. Navigate to &lt;strong&gt;CodeBuild&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;2. Select &lt;strong&gt;Build projects&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;3. Select &lt;strong&gt;fcj-core-build&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;4. Click &lt;strong&gt;Actions&lt;/strong&gt; &amp;gt; &lt;strong&gt;Delete&lt;/strong&gt;.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/7/Group2.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;hr&gt;
&lt;h4 id=&#34;delete-roles-and-policies&#34;&gt;Delete Roles and Policies&lt;/h4&gt;
&lt;p&gt;1. Navigate to &lt;strong&gt;IAM&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;2. Select &lt;strong&gt;Roles&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;3. Delete all roles that start with &lt;strong&gt;fcj&lt;/strong&gt; or contain &lt;strong&gt;codepipeline&lt;/strong&gt; or &lt;strong&gt;codebuild&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;4. Select &lt;strong&gt;Policies&lt;/strong&gt;.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Launch the Core Application</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/3-cluster/3.7-coreapplication/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/3-cluster/3.7-coreapplication/</guid>
        <description>&lt;h4 id=&#34;create-the-core-application-task-definition&#34;&gt;Create the Core Application Task Definition&lt;/h4&gt;
&lt;p&gt;1. Navigate to &lt;strong&gt;Amazon Elastic Container Service (ECS)&lt;/strong&gt; in the AWS Console.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/3.7/Group82.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;2. In the left navigation pane, select &lt;strong&gt;Task definitions&lt;/strong&gt;, then click &lt;strong&gt;Create new task definition&lt;/strong&gt;.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/3.7/Group72.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;3. Configure the basic settings:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Task definition family&lt;/strong&gt;: &lt;code&gt;fcj-core-fargate-td&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Launch type&lt;/strong&gt;: &lt;strong&gt;AWS Fargate&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/3.7/Group73.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;4. Set the resource allocation:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;CPU&lt;/strong&gt;: &lt;strong&gt;.25 vCPU&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Memory&lt;/strong&gt;: &lt;strong&gt;.5 GB&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/3.7/Group74.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;5. For &lt;strong&gt;Task execution role&lt;/strong&gt;, select &lt;strong&gt;fcjEcsTaskExecutionRole&lt;/strong&gt;.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/3.7/Group75.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;6. &lt;strong&gt;Open a new browser tab&lt;/strong&gt; and navigate to &lt;strong&gt;Amazon ECR&lt;/strong&gt;. Locate your &lt;strong&gt;fcj-registry&lt;/strong&gt; repository and copy the &lt;strong&gt;core&lt;/strong&gt; image URI.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Enable Service Connect</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/3-cluster/3.8-serviceconnect/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/3-cluster/3.8-serviceconnect/</guid>
        <description>&lt;h4 id=&#34;service-connect-overview&#34;&gt;Service Connect Overview&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;Service Connect is an Amazon ECS feature&lt;/strong&gt;, &lt;strong&gt;recommended by AWS&lt;/strong&gt;, that simplifies service discovery, connectivity, and traffic monitoring for your containerized applications. With Service Connect, &lt;strong&gt;your applications can use short, logical names&lt;/strong&gt; (e.g., http://myservice:port) and standard ports &lt;strong&gt;to connect to other ECS services&lt;/strong&gt;. This &lt;strong&gt;facilitates communication within the same cluster&lt;/strong&gt; or even across different clusters and VPCs in the same AWS Region. A key benefit is enhanced visibility into service-to-service traffic directly within the ECS console, providing metrics like request counts, error rates, and latency for traffic flowing through the Service Connect proxy.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Deploy Admin Application</title>
        <link>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/3-cluster/3.9-adminapplication/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/deploying-spring-ecs-fargate/3-cluster/3.9-adminapplication/</guid>
        <description>&lt;h4 id=&#34;enable-service-connect-for-the-core-application&#34;&gt;Enable Service Connect for the Core Application&lt;/h4&gt;
&lt;p&gt;1. Click &lt;strong&gt;Update service&lt;/strong&gt; to update &lt;strong&gt;fcj-core-svc&lt;/strong&gt;.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/3.9/Group118.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;2. Check &lt;strong&gt;Force new deployment&lt;/strong&gt;.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/3.9/Group114.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;3. Scroll down to &lt;strong&gt;Service connect&lt;/strong&gt; and configure:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Check &lt;strong&gt;Use Service Connect&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Service Connect configuration&lt;/strong&gt;: Select &lt;strong&gt;Client and server&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Namespace&lt;/strong&gt;: Select &lt;strong&gt;fcj-ecs-cluster-ns&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/deploying-spring-ecs-fargate/images/3.9/Group115.png&#34; alt=&#34;image&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;p&gt;4. Click &lt;strong&gt;Add port mappings and applications&lt;/strong&gt;. Under &lt;strong&gt;Service Connect service - 1&lt;/strong&gt;, configure:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Port alias&lt;/strong&gt;: Select &lt;strong&gt;core-http&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Discovery name&lt;/strong&gt;: Enter &lt;code&gt;core-http&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;DNS&lt;/strong&gt;: Enter &lt;code&gt;core&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Port&lt;/strong&gt;: Enter &lt;code&gt;8080&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This configuration allows the admin application to make requests to the core application using the URI &lt;code&gt;http://core:8080&lt;/code&gt;, which corresponds to the specified &lt;strong&gt;DNS&lt;/strong&gt; and &lt;strong&gt;Port&lt;/strong&gt;.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Workshops</title>
        <link>https://harley.id.vn/workshops/</link>
        <pubDate>Wed, 18 Nov 2026 00:00:00 &#43;0000</pubDate>
        <guid>https://harley.id.vn/workshops/</guid>
        <description>&lt;p&gt;These labs go straight from opening a terminal and configuring services to verifying that things actually run. Commands, sample outputs, and the traps I fell into (mostly closed ports, missing permissions, or one stray space in YAML) are all written down.&lt;/p&gt;
&lt;p&gt;Topics focus on cloud infrastructure (AWS, Cloudflare, etc.) and core backend workflows.&lt;/p&gt;
&lt;aside class=&#34;annotation annotation-right annotation-self-snitch&#34; aria-label=&#34;Confession&#34;&gt;
  &lt;svg class=&#34;annotation-arrow annotation-arrow-down-left hand-arrow-style-curve&#34; viewBox=&#34;0 0 48 44&#34; fill=&#34;none&#34; aria-hidden=&#34;true&#34; xmlns=&#34;http://www.w3.org/2000/svg&#34;&gt;
  &lt;path class=&#34;hand-arrow-line&#34; d=&#34;M4 6C18 7 30 15 36 34&#34; stroke=&#34;currentColor&#34; stroke-width=&#34;1.6&#34; stroke-linecap=&#34;round&#34; stroke-linejoin=&#34;round&#34;/&gt;
  &lt;path class=&#34;hand-arrow-head&#34; d=&#34;M29 30L36.5 35.5L40.5 27&#34; stroke=&#34;currentColor&#34; stroke-width=&#34;1.6&#34; stroke-linecap=&#34;round&#34; stroke-linejoin=&#34;round&#34;/&gt;
&lt;/svg&gt;
  &lt;div class=&#34;annotation-content&#34;&gt;&lt;span class=&#34;annotation-label&#34;&gt;Confession&lt;/span&gt;&lt;div class=&#34;annotation-text&#34;&gt;&lt;p&gt;It looks smooth here, but I tore down and rebuilt things a few times before landing on this version.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Create a new S3 Bucket</title>
        <link>https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/3-codepipeline/3.1-createbucket/</link>
        <pubDate>Tue, 07 Jan 2025 01:53:25 &#43;0700</pubDate>
        <guid>https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/3-codepipeline/3.1-createbucket/</guid>
        <description>&lt;h4 id=&#34;create-a-new-s3-bucket&#34;&gt;Create a new S3 Bucket&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Find and select &lt;strong&gt;S3&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.1-CreateBucket/0001.svg&#34; alt=&#34;0001&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;Select &lt;strong&gt;Buckets&lt;/strong&gt;, then select &lt;strong&gt;Create bucket&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.1-CreateBucket/0002.svg&#34; alt=&#34;0002&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;3&#34;&gt;
&lt;li&gt;Select &lt;strong&gt;AWS Region&lt;/strong&gt; as the region which you are using.&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;In the &lt;strong&gt;Bucket name&lt;/strong&gt; section, enter a valid name.&lt;/li&gt;
&lt;/ul&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.1-CreateBucket/0003.svg&#34; alt=&#34;0003&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;4&#34;&gt;
&lt;li&gt;Select &lt;strong&gt;Create bucket&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.1-CreateBucket/0004.svg&#34; alt=&#34;0004&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;5&#34;&gt;
&lt;li&gt;Click the bucket you have created.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.1-CreateBucket/0005.svg&#34; alt=&#34;0005&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;6&#34;&gt;
&lt;li&gt;Select the &lt;strong&gt;Permissions&lt;/strong&gt; tab.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.1-CreateBucket/0006.svg&#34; alt=&#34;0006&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;7&#34;&gt;
&lt;li&gt;In the &lt;strong&gt;Block public access&lt;/strong&gt; section, select &lt;strong&gt;Edit&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.1-CreateBucket/0007.svg&#34; alt=&#34;0007&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;8&#34;&gt;
&lt;li&gt;Uncheck all then select &lt;strong&gt;Save change&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.1-CreateBucket/0008.svg&#34; alt=&#34;0008&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;9&#34;&gt;
&lt;li&gt;Select &lt;strong&gt;Edit bucket policy&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.1-CreateBucket/0009.svg&#34; alt=&#34;0009&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;10&#34;&gt;
&lt;li&gt;Enter the &lt;strong&gt;Policy&lt;/strong&gt; as below:&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.1-CreateBucket/0010.svg&#34; alt=&#34;0010&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;div class=&#34;code-window&#34;&gt;
  &lt;div class=&#34;code-window-header&#34;&gt;
    &lt;div style=&#34;display: flex; align-items: center;&#34;&gt;
      &lt;span class=&#34;code-window-dots&#34; aria-hidden=&#34;true&#34;&gt;
        &lt;span class=&#34;code-dot code-dot-rose&#34;&gt;&lt;/span&gt;
        &lt;span class=&#34;code-dot code-dot-peach&#34;&gt;&lt;/span&gt;
        &lt;span class=&#34;code-dot code-dot-sage&#34;&gt;&lt;/span&gt;
      &lt;/span&gt;
      &lt;span class=&#34;code-window-lang&#34;&gt;json&lt;/span&gt;
    &lt;/div&gt;
    &lt;button type=&#34;button&#34; class=&#34;code-copy-btn&#34; data-copy-label=&#34;Copy&#34; data-copied-label=&#34;Copied!&#34;&gt;Copy&lt;/button&gt;
  &lt;/div&gt;
  &lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-json&#34; data-lang=&#34;json&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;nt&#34;&gt;&amp;#34;Version&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;2012-10-17&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;nt&#34;&gt;&amp;#34;Statement&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;[&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;            &lt;span class=&#34;nt&#34;&gt;&amp;#34;Sid&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;Statement1&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;            &lt;span class=&#34;nt&#34;&gt;&amp;#34;Effect&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;Allow&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;            &lt;span class=&#34;nt&#34;&gt;&amp;#34;Principal&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;                &lt;span class=&#34;nt&#34;&gt;&amp;#34;AWS&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;*&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;            &lt;span class=&#34;p&#34;&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;            &lt;span class=&#34;nt&#34;&gt;&amp;#34;Action&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;[&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;                &lt;span class=&#34;s2&#34;&gt;&amp;#34;s3:List*&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;                &lt;span class=&#34;s2&#34;&gt;&amp;#34;s3:Get*&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;                &lt;span class=&#34;s2&#34;&gt;&amp;#34;s3:Put*&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;            &lt;span class=&#34;p&#34;&gt;],&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;            &lt;span class=&#34;nt&#34;&gt;&amp;#34;Resource&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;[&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;                &lt;span class=&#34;s2&#34;&gt;&amp;#34;arn:aws:s3:::fcj-aws-eb-lab&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;                &lt;span class=&#34;s2&#34;&gt;&amp;#34;arn:aws:s3:::fcj-aws-eb-lab/*&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;            &lt;span class=&#34;p&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        &lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;p&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;In the &lt;strong&gt;&lt;code&gt;Principal&lt;/code&gt;&lt;/strong&gt; block, we allow all AWS Services to perform all actions stated with &lt;strong&gt;&lt;code&gt;List&lt;/code&gt;&lt;/strong&gt;, &lt;strong&gt;&lt;code&gt;Get&lt;/code&gt;&lt;/strong&gt; and &lt;strong&gt;&lt;code&gt;Put&lt;/code&gt;&lt;/strong&gt; on the S3 bucket and objects inside it.&lt;/li&gt;
&lt;/ul&gt;
&lt;ol start=&#34;11&#34;&gt;
&lt;li&gt;Click &lt;strong&gt;Save change&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.1-CreateBucket/0011.svg&#34; alt=&#34;0011&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;</description>
      </item>
      <item>
        <title>Create a VPC</title>
        <link>https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/2-elasticbeanstalk/2.1-createvpc/</link>
        <pubDate>Tue, 07 Jan 2025 01:53:25 &#43;0700</pubDate>
        <guid>https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/2-elasticbeanstalk/2.1-createvpc/</guid>
        <description>&lt;h4 id=&#34;create-a-new-vpc&#34;&gt;Create a new VPC&lt;/h4&gt;
&lt;aside class=&#34;notice notice-info&#34;&gt;
&lt;div class=&#34;notice-header&#34;&gt;
&lt;div class=&#34;notice-title&#34;&gt;&lt;svg class=&#34;notice-icon&#34; viewBox=&#34;0 0 20 20&#34; fill=&#34;none&#34; stroke=&#34;currentColor&#34; stroke-width=&#34;1.7&#34; aria-hidden=&#34;true&#34;&gt;&lt;circle cx=&#34;10&#34; cy=&#34;10&#34; r=&#34;7.5&#34;/&gt;&lt;path d=&#34;M10 9.2v4.3M10 6.4h.01&#34; stroke-linecap=&#34;round&#34;/&gt;&lt;/svg&gt;&lt;span&gt;info&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;notice-body&#34;&gt;&lt;p&gt;Before starting ,you need to choose one region deploy AWS services, all resources in this lab is created in region &lt;strong&gt;Singapore (ap-southeast-1)&lt;/strong&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;/aside&gt;
&lt;ol&gt;
&lt;li&gt;Search and select ```VPC``.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/2-ElasticBeanstalk/2.1-CreateVPC/0002.svg&#34; alt=&#34;0002&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;In &lt;strong&gt;Resource to create&lt;/strong&gt; section, select &lt;strong&gt;VPC and more&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;Select &lt;strong&gt;Auto-generate&lt;/strong&gt; and type &lt;code&gt;fcj-aws&lt;/code&gt; for &lt;strong&gt;Name tag auto-generation&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/2-ElasticBeanstalk/2.1-CreateVPC/0003.svg&#34; alt=&#34;0003&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;3&#34;&gt;
&lt;li&gt;Enter &lt;code&gt;10.10.0.0/16&lt;/code&gt; for &lt;strong&gt;IPv4 CIDR Block&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/2-ElasticBeanstalk/2.1-CreateVPC/0004.svg&#34; alt=&#34;0004&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;4&#34;&gt;
&lt;li&gt;Select 2 &lt;strong&gt;AZ&lt;/strong&gt;, 2 &lt;strong&gt;Public Subnet&lt;/strong&gt; and 2 &lt;strong&gt;Private Subnet&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/2-ElasticBeanstalk/2.1-CreateVPC/0005.svg&#34; alt=&#34;0005&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;5&#34;&gt;
&lt;li&gt;In &lt;strong&gt;NAT Gateways&lt;/strong&gt;, select &lt;strong&gt;In 1 AZ&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;Select &lt;strong&gt;None&lt;/strong&gt; for &lt;strong&gt;VPC Endpoints&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/2-ElasticBeanstalk/2.1-CreateVPC/0006.svg&#34; alt=&#34;0006&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;6&#34;&gt;
&lt;li&gt;Click &lt;strong&gt;Create VPC&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/2-ElasticBeanstalk/2.1-CreateVPC/0007.svg&#34; alt=&#34;0007&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;7&#34;&gt;
&lt;li&gt;Click &lt;strong&gt;View VPC&lt;/strong&gt; to view your VPC after creation.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/2-ElasticBeanstalk/2.1-CreateVPC/0008.svg&#34; alt=&#34;0008&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;</description>
      </item>
      <item>
        <title>Implement pipeline for Elastic Beanstalk application</title>
        <link>https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/</link>
        <pubDate>Tue, 07 Jan 2025 01:53:25 &#43;0700</pubDate>
        <guid>https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/</guid>
        <description>&lt;h1 id=&#34;implement-cicd-workflow-for-net-core-application-with-github-aws-codepipeline-and-aws-elastic-beanstalk&#34;&gt;Implement CI/CD workflow for .NET Core application with Github, AWS CodePipeline and AWS Elastic Beanstalk&lt;/h1&gt;
&lt;h4 id=&#34;overview&#34;&gt;Overview&lt;/h4&gt;
&lt;p&gt;In this workshop, we will together discuss the fundamentals of AWS CI/CD core services like CodeBuild, CodeDeploy and CodePipeline; another service that can be used for deployment without any prior knowledge of infrastructure or scaling is AWS Elastic Beanstalk. Additionally, we will also practice with the sample API application utilizing those services.&lt;/p&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/icon.svg&#34; alt=&#34;Icon&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;h4 id=&#34;content&#34;&gt;Content&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/1-introduction/&#34;&gt;Introduction&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/2-elasticbeanstalk/&#34;&gt;Create Elastic Beanstalk Environment&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/3-codepipeline/&#34;&gt;Deploy CodePipeline&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/4-cleanup/&#34;&gt;Clean up resources&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;</description>
      </item>
      <item>
        <title>Introduction</title>
        <link>https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/1-introduction/</link>
        <pubDate>Tue, 07 Jan 2025 01:53:25 &#43;0700</pubDate>
        <guid>https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/1-introduction/</guid>
        <description>&lt;h4 id=&#34;aws-codebuild&#34;&gt;AWS CodeBuild&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;CodeBuild&lt;/strong&gt; is an AWS service that helps with the continuous integration flow. CodeBuild compiles, run unit-tests to ensure the source being ready for deployment to other services. With CodeBuild, we don&amp;rsquo;t have to worry about the operation, management and scaling of build servers.&lt;/p&gt;
&lt;p&gt;CodeBuild nowadays supports many languages like C#, Java, Javascript, etc. CodeBuild also has prepared build tools like Maven and Gradle or some popular platforms like Docker and Android.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Connect AWS to Github</title>
        <link>https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/3-codepipeline/3.2-connecttogithub/</link>
        <pubDate>Tue, 07 Jan 2025 01:53:25 &#43;0700</pubDate>
        <guid>https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/3-codepipeline/3.2-connecttogithub/</guid>
        <description>&lt;h4 id=&#34;connect-aws-to-github&#34;&gt;Connect AWS to Github&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Find and select &lt;strong&gt;CodePipeline&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.2-ConnectToGithub/0001.svg&#34; alt=&#34;0001&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;Select &lt;strong&gt;Connection&lt;/strong&gt; in the &lt;strong&gt;Settings&lt;/strong&gt; then click &lt;strong&gt;Create connection&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.2-ConnectToGithub/0002.svg&#34; alt=&#34;0002&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;3&#34;&gt;
&lt;li&gt;Select &lt;strong&gt;Provider&lt;/strong&gt; as &lt;strong&gt;Github&lt;/strong&gt; then type the &lt;strong&gt;Connection name&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;Click &lt;strong&gt;Connect to Github&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.2-ConnectToGithub/0003.svg&#34; alt=&#34;0003&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;4&#34;&gt;
&lt;li&gt;Select &lt;strong&gt;Install a new app&lt;/strong&gt; and follow the instruction to install the application.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.2-ConnectToGithub/0004.svg&#34; alt=&#34;0004&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;5&#34;&gt;
&lt;li&gt;After installing, select &lt;strong&gt;Connect&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.2-ConnectToGithub/0005.svg&#34; alt=&#34;0005&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;</description>
      </item>
      <item>
        <title>Create Elastic Beanstalk Environment</title>
        <link>https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/2-elasticbeanstalk/</link>
        <pubDate>Tue, 07 Jan 2025 01:53:25 &#43;0700</pubDate>
        <guid>https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/2-elasticbeanstalk/</guid>
        <description>&lt;h4 id=&#34;fundamentals-of-elastic-beanstalk&#34;&gt;Fundamentals of Elastic Beanstalk&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Application&lt;/strong&gt;: Application is a logical collection of components like Environments, Versions and Environment Configurations.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Version&lt;/strong&gt;: Each Application has many versions. For example, Application with version A uses Mysql and with Version B it uses PostgreSQL.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Environment Tier&lt;/strong&gt;: When we create new Environment, we can choose 1 of 2 tiers:
&lt;ul&gt;
&lt;li&gt;Web server: For Application that serves on HTTP/HTTPS.&lt;/li&gt;
&lt;li&gt;Worker: For application that pulls tasks of SQS Queue to process.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Environment Configuration&lt;/strong&gt;: The settings of the Application.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;In this section, we will create a High Availability Environment with AWS provided sample code.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Enable auto-assign public IPv4 address</title>
        <link>https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/2-elasticbeanstalk/2.2-enablepublicip/</link>
        <pubDate>Tue, 07 Jan 2025 01:53:25 &#43;0700</pubDate>
        <guid>https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/2-elasticbeanstalk/2.2-enablepublicip/</guid>
        <description>&lt;h4 id=&#34;enable-auto-assign-public-ipv4-address&#34;&gt;Enable auto-assign public IPv4 address&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Go to &lt;strong&gt;VPC&lt;/strong&gt;, select &lt;strong&gt;Subnets&lt;/strong&gt;, choose subnet &lt;code&gt;fcj-aws-subnet-public1-*&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/2-ElasticBeanstalk/2.2-EnablePublicIp/0001.svg&#34; alt=&#34;0001&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;Click &lt;strong&gt;Actions&lt;/strong&gt; then click &lt;strong&gt;Edit subnet settings&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/2-ElasticBeanstalk/2.2-EnablePublicIp/0002.svg&#34; alt=&#34;0002&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;3&#34;&gt;
&lt;li&gt;Check &lt;strong&gt;Enable auto-assign public IPv4 address&lt;/strong&gt;, then click &lt;strong&gt;Save&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/2-ElasticBeanstalk/2.2-EnablePublicIp/0003.svg&#34; alt=&#34;0003&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;4&#34;&gt;
&lt;li&gt;Repeat those steps with subnet &lt;code&gt;fcj-aws-subnet-public2-*&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;</description>
      </item>
      <item>
        <title>Create a new Pipeline</title>
        <link>https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/3-codepipeline/3.3-createpipeline/</link>
        <pubDate>Tue, 07 Jan 2025 01:53:25 &#43;0700</pubDate>
        <guid>https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/3-codepipeline/3.3-createpipeline/</guid>
        <description>&lt;h4 id=&#34;create-a-new-pipeline-with-codepipeline&#34;&gt;Create a new Pipeline with CodePipeline&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Find and select &lt;strong&gt;CodePipeline&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.3-CreatePipeline/0001.svg&#34; alt=&#34;0001&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;Select &lt;strong&gt;Pipelines&lt;/strong&gt; &amp;gt; &lt;strong&gt;Create pipeline&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.3-CreatePipeline/0002.svg&#34; alt=&#34;0002&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;3&#34;&gt;
&lt;li&gt;For &lt;strong&gt;Pipeline name&lt;/strong&gt;, enter &lt;code&gt;fcj-aws-pipeline&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Pipeline type&lt;/strong&gt; select &lt;strong&gt;V2&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Execution mode&lt;/strong&gt; select &lt;strong&gt;Superseded&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.3-CreatePipeline/0003.svg&#34; alt=&#34;0003&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;4&#34;&gt;
&lt;li&gt;For &lt;strong&gt;Service role&lt;/strong&gt; select &lt;strong&gt;New service role&lt;/strong&gt;, enter &lt;strong&gt;Role name&lt;/strong&gt; then check &lt;strong&gt;Allow AWS CodePipeline to create a service role so it can be used with this new pipeline&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.3-CreatePipeline/0004.svg&#34; alt=&#34;0004&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;5&#34;&gt;
&lt;li&gt;In &lt;strong&gt;Advanced settings&lt;/strong&gt;, select &lt;strong&gt;Custom location&lt;/strong&gt; then select &lt;strong&gt;Bucket&lt;/strong&gt; we have prepared.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.3-CreatePipeline/0005.svg&#34; alt=&#34;0005&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;6&#34;&gt;
&lt;li&gt;For &lt;strong&gt;Source provider&lt;/strong&gt; select &lt;strong&gt;Github(Version 2)&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.3-CreatePipeline/0006.svg&#34; alt=&#34;0006&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;7&#34;&gt;
&lt;li&gt;Select &lt;strong&gt;Connection&lt;/strong&gt; we have created then choose the repository to deploy.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.3-CreatePipeline/0007.svg&#34; alt=&#34;0007&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;8&#34;&gt;
&lt;li&gt;Select the &lt;strong&gt;master&lt;/strong&gt; branch and select &lt;strong&gt;Output artifact format&lt;/strong&gt; as &lt;strong&gt;CodePipeline default&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.3-CreatePipeline/0008.svg&#34; alt=&#34;0008&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;9&#34;&gt;
&lt;li&gt;Select &lt;strong&gt;Trigger&lt;/strong&gt; as &lt;strong&gt;No filter&lt;/strong&gt;, then click &lt;strong&gt;Next&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.3-CreatePipeline/0009.svg&#34; alt=&#34;0009&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;10&#34;&gt;
&lt;li&gt;Select &lt;strong&gt;Build provider&lt;/strong&gt; as &lt;strong&gt;AWS CodeBuild&lt;/strong&gt;, then click &lt;strong&gt;Create project&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.3-CreatePipeline/0010.svg&#34; alt=&#34;0010&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;11&#34;&gt;
&lt;li&gt;&lt;strong&gt;Project name&lt;/strong&gt; enter &lt;code&gt;fcj-aws-proj&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.3-CreatePipeline/0011.svg&#34; alt=&#34;0011&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;12&#34;&gt;
&lt;li&gt;Select &lt;strong&gt;New service role&lt;/strong&gt; then enter &lt;strong&gt;Role name&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.3-CreatePipeline/0012.svg&#34; alt=&#34;0012&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;13&#34;&gt;
&lt;li&gt;Select &lt;strong&gt;Use a buildspec file&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.3-CreatePipeline/0013.svg&#34; alt=&#34;0013&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;14&#34;&gt;
&lt;li&gt;Check &lt;strong&gt;Cloud watch logs&lt;/strong&gt; checkbox, enter &lt;strong&gt;Group name&lt;/strong&gt; and &lt;strong&gt;Stream name prefix&lt;/strong&gt;. Click &lt;strong&gt;Continue to CodePipeline&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.3-CreatePipeline/0014.svg&#34; alt=&#34;0014&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;15&#34;&gt;
&lt;li&gt;Select &lt;strong&gt;Build type&lt;/strong&gt; as &lt;strong&gt;Single build&lt;/strong&gt;. Select &lt;strong&gt;Next&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.3-CreatePipeline/0015.svg&#34; alt=&#34;0015&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;16&#34;&gt;
&lt;li&gt;Select &lt;strong&gt;Deploy provider&lt;/strong&gt; as &lt;strong&gt;AWS Elastic Beanstalk&lt;/strong&gt;. Select &lt;strong&gt;Application name&lt;/strong&gt; and &lt;strong&gt;Environment name&lt;/strong&gt; created in the previous steps.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.3-CreatePipeline/0016.svg&#34; alt=&#34;0016&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;17&#34;&gt;
&lt;li&gt;Review your choices and click &lt;strong&gt;Create pipeline&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/3-CodePipeline/3.3-CreatePipeline/0017.svg&#34; alt=&#34;0017&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;aside class=&#34;notice notice-warning&#34;&gt;
&lt;div class=&#34;notice-header&#34;&gt;
&lt;div class=&#34;notice-title&#34;&gt;&lt;svg class=&#34;notice-icon&#34; viewBox=&#34;0 0 20 20&#34; fill=&#34;none&#34; stroke=&#34;currentColor&#34; stroke-width=&#34;1.7&#34; aria-hidden=&#34;true&#34;&gt;&lt;path d=&#34;M10 3.2 17.5 16.2a.8.8 0 0 1-.7 1.2H3.2a.8.8 0 0 1-.7-1.2L10 3.2Z&#34; stroke-linejoin=&#34;round&#34;/&gt;&lt;path d=&#34;M10 8v3.8M10 14.3h.01&#34; stroke-linecap=&#34;round&#34;/&gt;&lt;/svg&gt;&lt;span&gt;warning&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;notice-body&#34;&gt;&lt;p&gt;Although we have successfully created a new Pipeline, our Pipeline still can&amp;rsquo;t run. That because the &lt;strong&gt;CodePipeline Service Role&lt;/strong&gt; doesn&amp;rsquo;t have permissions to perform actions on the &lt;strong&gt;Elastic Beanstalk&lt;/strong&gt; environment. So that we have to &lt;a href=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/3-codepipeline/3.4-addrolepolicy/&#34;&gt;add policy to the Service Role&lt;/a&gt; to make it work.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Create EC2 Keypair</title>
        <link>https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/2-elasticbeanstalk/2.3-createkeypair/</link>
        <pubDate>Tue, 07 Jan 2025 01:53:25 &#43;0700</pubDate>
        <guid>https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/2-elasticbeanstalk/2.3-createkeypair/</guid>
        <description>&lt;h4 id=&#34;create-ec2-keypair&#34;&gt;Create EC2 Keypair&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;In search bar, type &lt;code&gt;EC2&lt;/code&gt;, select &lt;strong&gt;EC2&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/2-ElasticBeanstalk/2.3-CreateKeypair/0001.svg&#34; alt=&#34;0001&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;Scroll down to &lt;strong&gt;Network &amp;amp; Security&lt;/strong&gt;, select &lt;strong&gt;Key Pairs&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/2-ElasticBeanstalk/2.3-CreateKeypair/0002.svg&#34; alt=&#34;0002&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;3&#34;&gt;
&lt;li&gt;Select &lt;strong&gt;Create key pair&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/2-ElasticBeanstalk/2.3-CreateKeypair/0003.svg&#34; alt=&#34;0003&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;4&#34;&gt;
&lt;li&gt;For &lt;strong&gt;Name&lt;/strong&gt;, type &lt;code&gt;aws-keypair&lt;/code&gt;, select &lt;strong&gt;.pem&lt;/strong&gt; for &lt;strong&gt;Private key file format&lt;/strong&gt;. Click &lt;strong&gt;Create key pair&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/2-ElasticBeanstalk/2.3-CreateKeypair/0004.svg&#34; alt=&#34;0004&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;&lt;ol start=&#34;5&#34;&gt;
&lt;li&gt;Successfully create a new keypair.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure class=&#34;editorial-figure&#34;&gt;
  &lt;img src=&#34;https://harley.id.vn/workshops/implement-ci-cd-dotnet-core-eb-pipeline/images/2-ElasticBeanstalk/2.3-CreateKeypair/0005.svg&#34; alt=&#34;0005&#34; loading=&#34;lazy&#34;&gt;
&lt;/figure&gt;</description>
      </item>
  </channel>
</rss>
