<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Yeonggyoo Jeon</title>
    <description>The latest articles on DEV Community by Yeonggyoo Jeon (@loganjeon).</description>
    <link>https://dev.to/loganjeon</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F720167%2F8d98da2c-c0f0-4356-b8b0-bb0f55f75a43.jpeg</url>
      <title>DEV Community: Yeonggyoo Jeon</title>
      <link>https://dev.to/loganjeon</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/loganjeon"/>
    <language>en</language>
    <item>
      <title>AWS Amplify vs Netlify comparison for hosting static websites</title>
      <dc:creator>Yeonggyoo Jeon</dc:creator>
      <pubDate>Sun, 31 Mar 2024 11:55:40 +0000</pubDate>
      <link>https://dev.to/loganjeon/aws-amplify-vs-netlify-comparison-for-hosting-static-websites-3hlg</link>
      <guid>https://dev.to/loganjeon/aws-amplify-vs-netlify-comparison-for-hosting-static-websites-3hlg</guid>
      <description>&lt;h1&gt;
  
  
  Before we get into
&lt;/h1&gt;

&lt;p&gt;When you're working on a software development project, you might need a simple demo webpage or demo app to demonstrate your technology or do a POC.  Static web pages that are organized as a simple Single Page App (SPA) are useful at this time. There are many web development frameworks that help you implement SPA.(Next.js, Gatsby, Hugo, Nuxt, Jekyll, etc...) You can create a demo app with SPA and host it on the web as a simple static web page to ensure accessibility.  There are many services that support various frameworks that can be used for this (Netlify, StackBlitx, AWS Amplify, etc...). There are also services (including frameworks) such as Streamlit and Gradio that allow you to create a SPA-based demo web with Python and host it on the web.  These services specialize in rapid web app development for machine learning models for services (I'll cover them in another article when I get a chance). &lt;/p&gt;

&lt;h1&gt;
  
  
  Configuring the demo app with Next.js
&lt;/h1&gt;

&lt;p&gt;Next.js is an open source framework for developing React-based web applications. It offers a wide range of features such as server-side rendering (SSR), static site generation (SSG), automatic code splitting, image optimization, and more to enable fast and user-friendly web app development.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key features of Next.js:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Server-side rendering: Render HTML, CSS, and JavaScript on the server before sending the page to the client to speed up page loading.&lt;/li&gt;
&lt;li&gt;Static site generation: Deploy your web app as a static site by generating HTML, CSS, and JavaScript as static files during the build phase.&lt;/li&gt;
&lt;li&gt;Automatic code splitting: Load only the code you need to speed up page loading.&lt;/li&gt;
&lt;li&gt;Image optimization: Automatically optimize images to improve the performance of your web app.&lt;/li&gt;
&lt;li&gt;SEO-friendly: Server-side rendering makes it easy for search engine crawlers to index your pages.&lt;/li&gt;
&lt;li&gt;Multiple routing options: Along with default routing, we support file-based routing, dynamic routing, catchall routing, and more.&lt;/li&gt;
&lt;li&gt;API routing: Easily create and manage server-side APIs.&lt;/li&gt;
&lt;li&gt;Community support: We have an active community and a wealth of documentation and tutorials.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Next.js is right for you if you:&lt;br&gt;
You want to develop fast, user-friendly web apps.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;To create SEO-optimized web apps&lt;/li&gt;
&lt;li&gt;To develop React-based web apps&lt;/li&gt;
&lt;li&gt;Framework that offers a wide range of features&lt;/li&gt;
&lt;li&gt;Next.js is a powerful framework that is easy to learn, easy to use, and offers a wide range of features that can greatly simplify web app development.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Learn more about Next.js:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Official documentation: &lt;a href="https://nextjs.org/docs/" rel="noopener noreferrer"&gt;https://nextjs.org/docs/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Tutorials: &lt;a href="https://nextjs.org/learn/" rel="noopener noreferrer"&gt;https://nextjs.org/learn/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Community: &lt;a href="https://discord.gg/nextjs" rel="noopener noreferrer"&gt;https://discord.gg/nextjs&lt;/a&gt;

&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Hume AI's demo app
&lt;/h2&gt;

&lt;p&gt;Hume AI is a company that provides an API that recognizes human emotions from text, voice, and vision using AI technology.   They have a demo app based on Next.js that can service their API, so I tested it using it. In this article, I will build and run this web app locally and finally deploy it to Netlify and AWS Amplify.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;App Code Repository : &lt;a href="https://github.com/HumeAI/hume-api-examples" rel="noopener noreferrer"&gt;https://github.com/HumeAI/hume-api-examples&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can try it out here: &lt;a href="https://www.hume.ai" rel="noopener noreferrer"&gt;https://www.hume.ai&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Requirements
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://nodejs.org/" rel="noopener noreferrer"&gt;Node&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Download Demo app code
&lt;/h3&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;

git clone https://github.com/HumeAI/hume-api-examples
&lt;span class="nb"&gt;cd &lt;/span&gt;hume-api-examples


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h3&gt;
  
  
  Development
&lt;/h3&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;

npm &lt;span class="nb"&gt;install
&lt;/span&gt;npm run dev


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h3&gt;
  
  
  Build
&lt;/h3&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;

npm build


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Development mode will start serving on &lt;code&gt;localhost:3001&lt;/code&gt;.&lt;/p&gt;

&lt;h1&gt;
  
  
  The choice for hosting static websites
&lt;/h1&gt;

&lt;p&gt;Two popular options that web developers often utilize to host static websites or single page apps (SPAs) are Netlify and AWS Amplify. Both platforms support automatic builds and hosting in Git repositories, making static site deployment very easy. In this article, we'll compare the pros and cons of each based on real-world examples of NextJS app deployments.&lt;br&gt;
We've deployed Hume AI's Example demo app written in Next.js to &lt;strong&gt;Netlify&lt;/strong&gt; and &lt;strong&gt;AWS Amplify&lt;/strong&gt; respectively.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Netlify: &lt;a href="https://6575c5e5fc89902adec12a2c--delicate-dodol-3779df.netlify.app" rel="noopener noreferrer"&gt;https://6575c5e5fc89902adec12a2c--delicate-dodol-3779df.netlify.app&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Amplify: &lt;a href="https://dev.d1c4gaqa0opsnq.mynextapp.com/" rel="noopener noreferrer"&gt;https://dev.d1c4gaqa0opsnq.mynextapp.com/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Netlify
&lt;/h2&gt;

&lt;p&gt;Netlify brands itself as an "All-in-one platform for automating modern web projects." It offers continuous deployment from Git, serverless functions, a global CDN, domain management, SSL/TLS certificates, and more.&lt;/p&gt;

&lt;h3&gt;
  
  
  Deploy and Hosting
&lt;/h3&gt;

&lt;p&gt;The simplest way to host with Netlify is to upload the output files built with 'Deploy manually' by dragging and dropping or browsing to upload, and you can easily connect to the automatically generated URL to host your web app.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnrdvzd1aksvbt5qh5akp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnrdvzd1aksvbt5qh5akp.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frggxwak1tapwnklfmmsx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frggxwak1tapwnklfmmsx.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After it finishes running, you'll have a URL hosted by Netlify.&lt;br&gt;
Netify url : &lt;a href="https://6575c5e5fc89902adec12a2c--delicate-dodol-3779df.netlify.app" rel="noopener noreferrer"&gt;https://6575c5e5fc89902adec12a2c--delicate-dodol-3779df.netlify.app&lt;/a&gt; &lt;br&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Pros:
&lt;/h4&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1.Excellent developer experience with instant cache invalidation and atomic deploys
2. Simple HTTPS setup with free Let's Encrypt SSL/TLS certificates
3. Form handling without needing a backend
4. Serverless functions with generous free tier
5. Plugin ecosystem for extending builds
6. GitHub integration with deploy previews
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h4&gt;
  
  
  Cons:
&lt;/h4&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1. Paid plans required for features like split testing, analytics, etc.
2. Limited control over CDN caching and behavior
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  AWS Amplify
&lt;/h2&gt;

&lt;p&gt;AWS Amplify is a service that provides an all-in-one solution to build and deploy full-stack serverless web apps, including hosting for single page apps and static sites. It layers on top of other AWS services.&lt;/p&gt;
&lt;h3&gt;
  
  
  Deploy and Hosting
&lt;/h3&gt;
&lt;h4&gt;
  
  
  Requirements
&lt;/h4&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;- [Node](https://nodejs.org/)
- AWS Account
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h4&gt;
  
  
  Install Amplify CLI
&lt;/h4&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;

npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt; @aws-amplify/cli


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h4&gt;
  
  
  Configure the Amplify CLI
&lt;/h4&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;

amplify configure


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h4&gt;
  
  
  Adding Amplify hosting
&lt;/h4&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;

&lt;span class="nv"&gt;$ &lt;/span&gt;amplify init

? Enter a name &lt;span class="k"&gt;for &lt;/span&gt;the project: mynextapp
? Enter a name &lt;span class="k"&gt;for &lt;/span&gt;the environment: dev
? Choose your default editor: Visual Studio Code &lt;span class="o"&gt;(&lt;/span&gt;or your preferred editor&lt;span class="o"&gt;)&lt;/span&gt;
? Choose the &lt;span class="nb"&gt;type &lt;/span&gt;of app that youre building: javascript
? What javascript framework are you using: react
? Source Directory Path: src
? Distribution Directory Path: out
? Build Command: npm run-script build
? Start Command: npm run-script start
? Do you want to use an AWS profile? Y
? Please choose the profile you want to use: &amp;lt;your profile&amp;gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h4&gt;
  
  
  Add hosting with the Amplify add command:
&lt;/h4&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;

amplify add hosting


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h4&gt;
  
  
  Deploy the app with the Amplify publish command:
&lt;/h4&gt;

&lt;p&gt;You can integrate Amplify's Framework via Amplify configuration in the Source Code folder without accessing the Web UI, and run it from build to deployment in a single step using the 'amplify publish' command in the CLI environment. &lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;

amplify publish

✔ Successfully pulled backend environment dev from the cloud.

    Current Environment: dev

┌──────────┬────────────────┬───────────┬───────────────────┐
│ Category │ Resource name  │ Operation │ Provider plugin   │
├──────────┼────────────────┼───────────┼───────────────────┤
│ Hosting  │ amplifyhosting │ Create    │ awscloudformation │
└──────────┴────────────────┴───────────┴───────────────────┘

? Are you sure you want to &lt;span class="k"&gt;continue&lt;/span&gt;? Yes


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;After it finishes running, you'll have a URL hosted by AWS Amplify.&lt;br&gt;
like 'Amplify url : &lt;a href="https://dev.d1c4gaqa0opsnq.mynextapp.com/" rel="noopener noreferrer"&gt;https://dev.d1c4gaqa0opsnq.mynextapp.com/&lt;/a&gt;'&lt;/p&gt;

&lt;h4&gt;
  
  
  Pros:
&lt;/h4&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1. Tightly integrated with the AWS ecosystem

&lt;ol&gt;
&lt;li&gt;Custom CDN behaviors and cache policies&lt;/li&gt;
&lt;li&gt;Feature branches and pull request previews&lt;/li&gt;
&lt;li&gt;CI/CD capabilities beyond just hosting&lt;/li&gt;
&lt;li&gt;Built-in monitoring and logging
&lt;/li&gt;
&lt;/ol&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h4&gt;


Cons:
&lt;/h4&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1. More complex configuration than Netlify
&lt;li&gt;No free tier, pay-per-use pricing&lt;/li&gt;
&lt;li&gt;SSL certificates require provisioning
&lt;/li&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h1&gt;


Conclusion
&lt;/h1&gt;


&lt;p&gt;Both &lt;strong&gt;Netlify and AWS Amplify offer powerful solutions for hosting static web pages with unique features and considerations&lt;/strong&gt;. &lt;strong&gt;Netlify is ideal for small to medium-sized projects with simple deployment requirements due to its **simplicity and ease of use&lt;/strong&gt;.  On the other hand, &lt;strong&gt;AWS Amplif&lt;/strong&gt;y offers &lt;strong&gt;advanced customization options and seamless integration with the broader AWS ecosystem&lt;/strong&gt;, making it ideal for larger projects that require scalability and flexibility.  Ultimately, the choice between Netlify and AWS Amplify depends on your project requirements, budget, and familiarity with the respective platforms.&lt;/p&gt;

&lt;p&gt;In the end, the best platform for you depends on your specific needs and skill level. Both Netlify and AWS Amplify offer free trials, so we recommend trying both to see which platform is best for you.&lt;/p&gt;

&lt;h3&gt;
  
  
  Additional Information
&lt;/h3&gt;

&lt;h3&gt;
  
  
  Allow insecure connection on web browser setting
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Setting up for insecure content &lt;br&gt;
&lt;/h4&gt;

&lt;p&gt;For Mixed content problem caused by insecure(without ssl) connection with another app manager&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Chrome : Settings &amp;gt; Privacy and security &amp;gt; Site settings &amp;gt; Additional content settings &amp;gt; Insecure content &lt;/li&gt;
&lt;li&gt;Add the sites : 

&lt;ul&gt;
&lt;li&gt;[*.]netlify.app&lt;/li&gt;
&lt;li&gt;[*.]amplifyapp.com&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;h1&gt;
  
  
  References
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.netlify.com/jamstack/" rel="noopener noreferrer"&gt;https://www.netlify.com/jamstack/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.netlify.com/get-started/" rel="noopener noreferrer"&gt;https://docs.netlify.com/get-started/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.amplify.aws/javascript/deploy-and-host/frameworks/deploy-nextjs-app/" rel="noopener noreferrer"&gt;https://docs.amplify.aws/javascript/deploy-and-host/frameworks/deploy-nextjs-app/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/HumeAI/hume-api-examples" rel="noopener noreferrer"&gt;https://github.com/HumeAI/hume-api-examples&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.damirscorner.com/blog/posts/20210528-AllowingInsecureWebsocketConnections.html" rel="noopener noreferrer"&gt;https://www.damirscorner.com/blog/posts/20210528-AllowingInsecureWebsocketConnections.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>aws</category>
      <category>netlify</category>
      <category>webdev</category>
      <category>singlepageapp</category>
    </item>
    <item>
      <title>Developing service with AWS CDK</title>
      <dc:creator>Yeonggyoo Jeon</dc:creator>
      <pubDate>Fri, 28 Oct 2022 02:31:17 +0000</pubDate>
      <link>https://dev.to/aws-builders/developing-service-with-aws-cdk-3p8l</link>
      <guid>https://dev.to/aws-builders/developing-service-with-aws-cdk-3p8l</guid>
      <description>&lt;h1&gt;
  
  
  1. What is AWS CDK(Cloud Development Kit)?
&lt;/h1&gt;

&lt;p&gt;AWS CDK is an open-sourced software development framework which possible to design cloud infra with codes.  AWS opened to the public in July 2019.  The &lt;a href="https://aws.amazon.com/cdk/" rel="noopener noreferrer"&gt;official website&lt;/a&gt; defines it as "lets you define your cloud infrastructure as code in one of its supported programming languages".  Unlike the previous IaC, the CDK provides a syntax for configuring cloud resources with default values verified using existing familiar programming languages.  This allows non-professionals to start developing cloud applications by configuring service infra quickly, easily, and in a secure and reusable way.&lt;/p&gt;

&lt;h3&gt;
  
  
  Which IaC would I use while I develop with AWS?
&lt;/h3&gt;

&lt;p&gt;In my case, Infrastructure management in service development using the public cloud seems to have gone through the following process.&lt;/p&gt;

&lt;blockquote&gt;
&lt;h3&gt;
  
  
  a. Deploy/Manage service infra using the UI console
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;If you use the AWS Console to configure the infrastructure for service development or hands-on, and o design and deploy the entire service architecture with a mouse click, you would have the question 'Is it really possible to configure a complex system through this process?'.  In addition, it becomes inconvenient when you have to build the same infrastructure elements over and over again or rebuild the entire infrastructure across multiple clusters.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  b. Use the CLI command
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;Feeling limited by the click-and-click approach, people usually start deploying services and configuring cloud infrastructure using the AWS CLI as the script of the command line interface.  However, it is hard to cope with retrying in the error situation or coping with the processing the race condition in the multi-task.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  c. Interest into the IaC (Infra as Code)
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;You can also learn AWS CloudFormation script, tools that allow you to manage service infrastructure.  Even you can choose Hashicorp's Terraform to describe and manage the infrastructure components in a corresponding format of Terraform script.  However, I was doubtful when I look at those kinds of scripts as IaC and watched the process of the work with it from the side.  From a programmer's view, the previous IaC script with the format of JSON or Yaml seems like too much repeating of the same texts.  Therefore, it was clear that even a small increase in the size of the system would result in the number and files becoming too large to manage.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  d. CDK, the truly programmable IaC
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;I found out about the AWS CDK when I felt that scripting IaC is not my way.  CDK drew interestd me who was developing software for a long time as it is possible to write programming language and design it with software development skills that were getting improved over decades.  Therefore, I thought that it would possible to be more efficient in designing, composing, and managing service infrastructure with CDK.  Furthermore, this idea has become even more solid now that I have completed the API service development project using CDK.&lt;br&gt;&lt;br&gt;
 The comparison with Terraform, the representative of the existing IaC, is attached in the table below.&lt;/p&gt;
&lt;/blockquote&gt;


&lt;/blockquote&gt;



&lt;h4&gt;
  
  
  Terraform VS AWS CDK
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;-&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;Terraform&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;CDK&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Programming feature&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Implement with Yaml or HCL, Need to learn a new language different from the existing ones.  Auto-completion by installing an assist tools(Not perfect).  Difficult to implement safely due to compile errors, ... etc&lt;/td&gt;
&lt;td&gt;5 existing programming languages are possible to use.  Various extensions are possible using OOP.  flexible structure and reusability can be improved by using patterns.  Non-limited expandability by the author's programming ability.  Automation through existing IDE(VSCode).  Safe implementation through compile errors&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Workload for composing infra&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Many references to configuring infrastructure as an approach from IaaS&lt;/td&gt;
&lt;td&gt;Combining the latest technologies in the container/serverless architecture rather than IaaS.  Fully support IaaS too.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Support for Public Cloud&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Support various public cloud&lt;/td&gt;
&lt;td&gt;Specialized in AWS.  High grouth potential because ecosystems such as CDK for Terraform and CDK8S ar being created.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;License, Maturity and Stability&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Requires an enterprise contract for more than basic feature.  Slightly lowered the stability in deployment as directly with SDK&lt;/td&gt;
&lt;td&gt;Free for CloudFormation, ParameterStore, Matured the stability in deployment using CloudFormation as the backend.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;



&lt;h3&gt;
  
  
  Who's needed for?
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Rather than using the AWS Console, you want more flexible, convenient, and robust infrastructure management.&lt;/li&gt;
&lt;li&gt;I want to configure/manage resources using IaC, but I can't afford to manage monotonous and huge yaml files.&lt;/li&gt;
&lt;li&gt;I want to actively utilize my programming-related development skills for IaC writing.&lt;/li&gt;
&lt;li&gt;I want the optimal IaC to configure the service with a serverless architecture in AWS.
Developers with the above concerns can consider CDK as a tool for designing and managing service infrastructure.

&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  How is it operate?
&lt;/h3&gt;

&lt;p&gt;Written in a software development language, cloud infrastructure can be modeled as reusable components. Currently, 5 development languages (Typescript, Javascript, Python, Java, C#) are supported.  If you look at the operation process of CDK, the written CDK application is executed with CDK CLI, synthesized into CloudFormation Template, and distributed through AWS CloudFormation.  It might help to understand if you think of it as running through.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F93xinpbohft90zacpzyy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F93xinpbohft90zacpzyy.png" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
[Deploying infra by writing code]&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwyicr6cwv3zokgcq3ml5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwyicr6cwv3zokgcq3ml5.png" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  2. How to start?
&lt;/h1&gt;

&lt;p&gt;Since the official Amazon documentation is well done, you can easily access it by referring to the documentation.  You can refer to the Developer Guide and refer to the API Reference for detailed specifications of APIs during actual development.  In the case of CDK API, since AWS services are well abstracted, I think that it is a good approach to refer to the CDK API Reference as a way to learn AWS services.  In addition, a hands-on lab for first-time users is provided through the CDK Workshop page.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Developer Guide (&lt;a href="https://docs.aws.amazon.com/cdk/latest/guide/home.html" rel="noopener noreferrer"&gt;https://docs.aws.amazon.com/cdk/latest/guide/home.html&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;API Reference (&lt;a href="https://docs.aws.amazon.com/cdk/api/latest/docs/aws-construct-library.html" rel="noopener noreferrer"&gt;https://docs.aws.amazon.com/cdk/api/latest/docs/aws-construct-library.html&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;CDK Workshop (&lt;a href="https://cdkworkshop.com/" rel="noopener noreferrer"&gt;https://cdkworkshop.com/&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;



&lt;h2&gt;
  
  
  Development using AWS CDK
&lt;/h2&gt;

&lt;p&gt;cdk is implemented using node. Therefore, no matter what programming language is used for development, node must be installed by default. Install aws-cdk using npm in the environment where node is installed. After initializing the project through 'cdk init', install the necessary node libraries through 'npm install'.  Preparations for cdk development are complete, and now, cdk development through coding and development of the stack are checked for errors in the code through 'cdk list'.  You just have to proceed. During development and debugging, 'list', 'diff', and 'synth' are used, and 'cdk deploy' is repeatedly used when deploying the confirmed code.  If the service is finally terminated or the infrastructure needs to be deleted, you can cleanly delete the installed applications and infrastructure with 'cdk destroy'.&lt;/p&gt;

&lt;h3&gt;
  
  
  Install CDK CLI
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm install -g aws-cdk
cdk version
mkdir hello-cdk
cd hello-cdk
cdk init --language [typescript/javascript/python/java/csharp]
npm install
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Commands of CDK
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cdk bootstrap       # Deploy the stack for the CDK Toolkit in your AWS environment
cdk init        # Initializes a new default application in the language of the user's choice
cdk diff        # Identify differences between local AWS CDK code and applications running on AWS 
cdk synth       # Compiling AWS CDK Applications to AWS CloudFormation Templates
cdk deploy      # Deploy the AWS CDK application to a set up AWS account 
cdk destory     # Delete the deployed CDK application 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;br&gt;&lt;br&gt;
In this article, I will leave it as an introduction and plan a detailed article for developing with CDK next time for more detailed development methods.&lt;br&gt;
For those of you who want to test a little more, please use the reference link above and try the hands-on lab on the CDK Workshop page, it seems to be helpful for understanding.&lt;br&gt;
&lt;br&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  3. Feature in development with CDK
&lt;/h1&gt;

&lt;h3&gt;
  
  
  Advantages of AWS development using CDK
&lt;/h3&gt;

&lt;p&gt;CDK is developed using Constructs that abstract AWS resources into high-level components. You can use the basic settings used in the best practices of AWS services just by referring to these Constructs, and further understand each service in depth just by understanding the API documents.&lt;br&gt;
&lt;br&gt;&lt;br&gt;
[AWS CDK Construct]&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7911pt9sveciuplehbl7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7911pt9sveciuplehbl7.png" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/p&gt;

&lt;p&gt;On the AWS CDK official page, the advantages of developing using cdk are divided into 4 categories as follows.&lt;/p&gt;

&lt;blockquote&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Easier cloud onboarding&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Even if you're new to using AWS, you can speed up your onboarding to the Cloud. cdk's API abstracts AWS resources into high-level components and is initialized with optimal default settings, so you can configure an appropriate system without an expert.&lt;/p&gt;
&lt;/blockquote&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;Faster development process&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Since the infrastructure is defined using the characteristics of the programming language, efficient and fast development is possible depending on how the logic such as OOP, loop, and conditional statements are configured.&lt;/p&gt;
&lt;/blockquote&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;Customizable and shareable&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;It is possible to design with reusable components suitable for each requirement, and it is possible to quickly expand security, regulations, and compliance with requirements through easy sharing of libraryd components.&lt;/p&gt;
&lt;/blockquote&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;No context switching&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Since code development and distribution are possible in the IDE in the development environment, developers can develop applications and manage infrastructure without changing or setting up a separate development environment.&lt;/p&gt;
&lt;/blockquote&gt;


&lt;/li&gt;

&lt;/ul&gt;
&lt;br&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  References in the solutions constructs
&lt;/h3&gt;

&lt;p&gt;There are structures that are patterned by arranging components that can be used repeatedly, and I have made them into solutions and made them into CDK Constructs. You can find it on the &lt;a href="https://docs.aws.amazon.com/solutions/latest/constructs/welcome.html" rel="noopener noreferrer"&gt;AWS Solutions Constructs&lt;/a&gt; page, take it, use it, or refer to it and reuse it in the system configuration you develop to more quickly construct your desired service design.&lt;/p&gt;

&lt;h3&gt;
  
  
  Ecosystem Expansion
&lt;/h3&gt;

&lt;p&gt;CDK is a great choice for development on AWS and has great advantages, especially when designing serverless architectures. However, you may think that it is not possible to use other public clouds or to directly build an on-premise or IaaS-focused Kubernetes cluster. In order to solve these points, there are projects that can link the advantages of CDK to other platforms and make Kubernetes design with cdk, together with other platforms or CNCF.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href="https://github.com/hashicorp/terraform-cdk" rel="noopener noreferrer"&gt;Terraform-cdk&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;It was started supporting the CDK as a tool for defining and provisioning infrastructure using Terraform.&lt;br&gt;
[Terraform Providers]&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fufzf8866af5eb9k7w417.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fufzf8866af5eb9k7w417.png" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
(&lt;a href="https://www.hashicorp.com/blog/cdk-for-terraform-enabling-python-and-typescript-support/" rel="noopener noreferrer"&gt;https://www.hashicorp.com/blog/cdk-for-terraform-enabling-python-and-typescript-support/&lt;/a&gt;)&lt;br&gt;
(&lt;a href="https://www.hashicorp.com/blog/announcing-cdk-for-terraform-0-1" rel="noopener noreferrer"&gt;https://www.hashicorp.com/blog/announcing-cdk-for-terraform-0-1&lt;/a&gt;)&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href="https://cdk8s.io/" rel="noopener noreferrer"&gt;CDK8s&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;You can use CDK for Kubernetes (CDK8s) to define and manage Kubernetes applications. CDK8s is currently registered as &lt;a href="https://www.cncf.io/sandbox-projects/" rel="noopener noreferrer"&gt;CNCF's Sandbox Project&lt;/a&gt;.&lt;br&gt;
[Workflow of CDK8s]&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4jzk5sm3h1nta22s9jqh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4jzk5sm3h1nta22s9jqh.png" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
(&lt;a href="https://aws.amazon.com/ko/blogs/korea/using-cdk8s-for-kubernetes-applications/" rel="noopener noreferrer"&gt;https://aws.amazon.com/ko/blogs/korea/using-cdk8s-for-kubernetes-applications/&lt;/a&gt;)&lt;br&gt;
(&lt;a href="https://aws.amazon.com/blogs/containers/introducing-cdk-for-kubernetes/" rel="noopener noreferrer"&gt;https://aws.amazon.com/blogs/containers/introducing-cdk-for-kubernetes/&lt;/a&gt;)&lt;br&gt;
&lt;br&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  Ending
&lt;/h1&gt;

&lt;p&gt;In this article, I introduced the CDK and briefly explained the development flow of how development proceeds. In the next article, I'm planning an article that explains in more detail how to proceed with CDK development.  My team is developing a system that provides APIs related to Vision AI using AWS CDK.  Next, I will be able to share related tips and development tips on the blog while development is in progress.  &lt;/p&gt;

&lt;p&gt;Thank you.&lt;/p&gt;

</description>
      <category>aws</category>
      <category>cdk</category>
      <category>iac</category>
    </item>
    <item>
      <title>Applying for the AWS Community Builder</title>
      <dc:creator>Yeonggyoo Jeon</dc:creator>
      <pubDate>Tue, 25 Oct 2022 07:31:57 +0000</pubDate>
      <link>https://dev.to/aws-builders/applying-for-the-aws-community-builder-48ha</link>
      <guid>https://dev.to/aws-builders/applying-for-the-aws-community-builder-48ha</guid>
      <description>&lt;p&gt;AWS Community Builder is a DevRel(Developer Relation) program operated by AWS.  AWS operates those two DevRel programs each the AWS community builder and the AWS hero.&lt;/p&gt;

&lt;h1&gt;
  
  
  1. What is the AWS community builder
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--j9oPYoFC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ce2rqdnwpa52pnbgwknm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--j9oPYoFC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ce2rqdnwpa52pnbgwknm.png" alt="Image description" width="880" height="168"&gt;&lt;/a&gt;&lt;br&gt;
Official webpage : &lt;a href="https://aws.amazon.com/developer/community/community-builders/"&gt;https://aws.amazon.com/developer/community/community-builders/&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;One of the DevRel programs which being officially operated by AWS.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Provide technical resources, helps and opportunities for human networking.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Share technical knowledge about AWS and connect global tech communities.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Operated in the technical areas for each category below&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Containers&lt;/li&gt;
&lt;li&gt;Data (Databases, Analytics and BI)&lt;/li&gt;
&lt;li&gt;Developer Tools&lt;/li&gt;
&lt;li&gt;Front-End Web and Mobile&lt;/li&gt;
&lt;li&gt;Game Tech&lt;/li&gt;
&lt;li&gt;Graviton/Arm Development&lt;/li&gt;
&lt;li&gt;Cloud Ops&lt;/li&gt;
&lt;li&gt;Machine Learning&lt;/li&gt;
&lt;li&gt;Network Content &amp;amp; Delivery&lt;/li&gt;
&lt;li&gt;Security &amp;amp; Identity&lt;/li&gt;
&lt;li&gt;Serverless&lt;/li&gt;
&lt;li&gt;Storage
There are no restrictions on activities by category, although applications are made for each one.&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  2. What the benefits are providing?
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--wrKJ_k20--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/je8hacboos66jneyqi0z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wrKJ_k20--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/je8hacboos66jneyqi0z.png" alt="Image description" width="880" height="237"&gt;&lt;/a&gt;&lt;br&gt;
If you participate as the Community Builder, would be invited to the Slack channel which bring together the program operators and builders.  The benefits of the Community builders introduced here are as follows.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Connecting with others :&lt;/li&gt;
&lt;li&gt;Webinars &amp;amp; Briefings :&lt;/li&gt;
&lt;li&gt;Certification Exam Vouchers :&lt;/li&gt;
&lt;li&gt;Swag Welcome Kit :&lt;/li&gt;
&lt;li&gt;AWS Credit :&lt;/li&gt;
&lt;li&gt;A Free One-Year Subscription to Cloud Academy :&lt;/li&gt;
&lt;li&gt;Third-Party ISV Offers :&lt;/li&gt;
&lt;li&gt;Publish Content on Dev.to :&lt;/li&gt;
&lt;li&gt;Super sweet logos, Wallpaper &amp;amp; Assets&lt;/li&gt;
&lt;li&gt;re:Invent discount passes:&lt;/li&gt;
&lt;li&gt;Service beta opportunities&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;WelcomeKit&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--PfOeWQHt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4csurpsuzsrkjze0c051.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--PfOeWQHt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4csurpsuzsrkjze0c051.jpeg" alt="Image description" width="880" height="880"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  3. Ending
&lt;/h1&gt;

&lt;p&gt;It would great opportunity for those who are interested in AWS technology and like sharing knowledge with community or blog.  The application is made twice a year and the duration of the activity is one year and can be extended.  I hope that many people around the world will share their know-how and knowledge about AWS-related technologies through this community activity.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
