<?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: Roman</title>
    <description>The latest articles on DEV Community by Roman (@romankurnovskii).</description>
    <link>https://dev.to/romankurnovskii</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%2F881690%2F38801d97-ffa5-4b2b-9879-1718e9d1a0a8.jpg</url>
      <title>DEV Community: Roman</title>
      <link>https://dev.to/romankurnovskii</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/romankurnovskii"/>
    <language>en</language>
    <item>
      <title>Passed AWS Certified Developer - Associate - DVA-C01</title>
      <dc:creator>Roman</dc:creator>
      <pubDate>Wed, 12 Oct 2022 15:12:08 +0000</pubDate>
      <link>https://dev.to/romankurnovskii/passed-aws-certified-developer-associate-dva-c01-2211</link>
      <guid>https://dev.to/romankurnovskii/passed-aws-certified-developer-associate-dva-c01-2211</guid>
      <description>&lt;p&gt;Passed exam on 9 October 2022&lt;/p&gt;

&lt;h2&gt;
  
  
  Background
&lt;/h2&gt;

&lt;p&gt;Basic knowledge of EC2, S3, and Load balancer - which I use for side projects.&lt;/p&gt;

&lt;h2&gt;
  
  
  Developer Associate or Solution Architect
&lt;/h2&gt;

&lt;p&gt;Quick overview:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Developer Associate:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;focus on best practices for developing on AWS&lt;br&gt;
how to build using AWS&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Solution Architect:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;the exam will test your ability to design architectures&lt;br&gt;
I am a developer, so my focus here was initially on development.&lt;/p&gt;

&lt;h2&gt;
  
  
  Preparation
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Labs, lectures - Cloud Academy&lt;/li&gt;
&lt;li&gt;Question quizz&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I planned to prepare as efficiently as possible for the exam in 1 month. The first day of preparation was September 08, 2022. I immediately set the exam date for October 9, 2022.&lt;br&gt;
The goal was not so much to pass the exam but to understand the concept. So I emphasized practical exercises. I went through the theory for about 5 minutes and immediately proceeded to do laboratory work at Cloud Academy.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This is not an advertisement. The company where I work provides free access to this service.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I wrote more about my study and training plan &lt;a href="https://romankurnovskii.com/en/docs/aws-certified-developer-associate/" rel="noopener noreferrer"&gt;website&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;In total, I explored 35 Amazon services. Each day I devoted about 1-2 hours to it.&lt;/p&gt;

&lt;p&gt;Somewhere in the "middle of the road" I tried to take a test exam at Cloud Academy. I had 45% correct answers, which was not enough to pass the exam.&lt;/p&gt;

&lt;p&gt;About a week before the exam, I went through all the lab work and became more confident in the services. The confidence that I was ready to take the exam was not coming.&lt;/p&gt;

&lt;p&gt;So I set about answering questions and parsing individual cases. On the first night I realized that if you sit for 2 hours every day, solving questions, and then find out the result only after the whole test, there is no energy left to analyze mistakes.&lt;/p&gt;

&lt;p&gt;I solved this problem in the following way (in my opinion this was the key to success in preparing for the exam): there are many different services with thematic variants of questions for the exam on the Internet that are publicly available. &lt;strong&gt;Note&lt;/strong&gt;: _I didn't look for dumps or anything like that, only questions and discussions that anyone can freely and legally find. _&lt;/p&gt;

&lt;p&gt;I parsed some questions and comments, saved them to JSON, and randomly started solving them as if I were using cards. I posted the first version of the idea and variants of the questions with commentary on the website.&lt;/p&gt;

&lt;h2&gt;
  
  
  Impostor Syndrome
&lt;/h2&gt;

&lt;p&gt;There was no confidence that I was ready for the exam. And a small change in the learning process allowed me to solve the problem. I wrote an app that counted my correct answers.&lt;br&gt;
This is what my progress looked like the day before:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fl20igzo4atriqzfngsge.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fl20igzo4atriqzfngsge.png" alt="Image description" width="329" height="260"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Benefits
&lt;/h2&gt;

&lt;p&gt;In preparation, I have discovered some useful services that I can use for my personal projects, as well as to keep up to date with new products.&lt;/p&gt;

&lt;p&gt;Below are free or nearly free services that you can use for your projects:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://aws.amazon.com/codewhisperer/" rel="noopener noreferrer"&gt;Amazon CodeWhisperer&lt;/a&gt; - free. Current status: preview. Use for free after registration. Copilot analog from Github. Helps you when writing code.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://aws.amazon.com/amplify/" rel="noopener noreferrer"&gt;AWS Amplify&lt;/a&gt; - frontend free or $1-2 per project.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://aws.amazon.com/lambda/" rel="noopener noreferrer"&gt;AWS Lambda&lt;/a&gt; - Free Tier or minimum for small projects. One million requests each month for free.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://aws.amazon.com/dynamodb/" rel="noopener noreferrer"&gt;Amazon DynamoDB&lt;/a&gt; - 25Gb free.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://aws.amazon.com/cognito/" rel="noopener noreferrer"&gt;Amazon Cognito&lt;/a&gt; - 50,000 users free. Authorization, Authentication.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://aws.amazon.com/codecommit/" rel="noopener noreferrer"&gt;AWS CodeCommit&lt;/a&gt; - 5 users + 50Gb free. Private repositories.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://aws.amazon.com/data-exchange/" rel="noopener noreferrer"&gt;AWS Data Exchange&lt;/a&gt; - free datasets, tables, APIs. For example, Covid-19 data.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://aws.amazon.com/chime/" rel="noopener noreferrer"&gt;Amazon Chime&lt;/a&gt; - free zoom counterpart on the basic rate.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Instead of Conclusion
&lt;/h2&gt;

&lt;p&gt;I prepared an &lt;a href="https://www.cloud-exam-prepare.com/" rel="noopener noreferrer"&gt;app&lt;/a&gt; that I used to prepare for the exam. There are over 500 questions in it now. It is free to use. The app is in progress, I would be happy to get any &lt;a href="https://github.com/users/romankurnovskii/projects/4" rel="noopener noreferrer"&gt;comments on how to improve it&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;And this is what my badge looks like AWS Certified Developer - Associate&lt;/p&gt;

</description>
      <category>aws</category>
      <category>certificate</category>
      <category>quizz</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Amazon Simple Queue Service Cheat Sheet</title>
      <dc:creator>Roman</dc:creator>
      <pubDate>Mon, 26 Sep 2022 05:29:11 +0000</pubDate>
      <link>https://dev.to/romankurnovskii/amazon-simple-queue-service-cheat-sheet-1hjk</link>
      <guid>https://dev.to/romankurnovskii/amazon-simple-queue-service-cheat-sheet-1hjk</guid>
      <description>&lt;h2&gt;
  
  
  Alternatives
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Apache Kafka&lt;/li&gt;
&lt;li&gt;Google Cloud Pub/Sub&lt;/li&gt;
&lt;li&gt;RabbitMQ&lt;/li&gt;
&lt;li&gt;IBM MQ&lt;/li&gt;
&lt;li&gt;TIBCO Enterprise Message Service&lt;/li&gt;
&lt;li&gt;AWS IoT Core&lt;/li&gt;
&lt;li&gt;Amazon CloudWatch&lt;/li&gt;
&lt;li&gt;Azure Service Bus&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Digest
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Long polling&lt;/strong&gt;: Long polling will reduce the overhead of the CPU and not require excessive dolls.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Visibility timeout&lt;/strong&gt;: a period of time during which Amazon SOS prevents other consumers from receiving and processing the message. The default visibility timeout for a message is 30 seconds. The minimum is O seconds. The maximum is 12 hours&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Delay queue&lt;/strong&gt;: Delay queues let you postpone the delivery of new messages to a queue for a number of seconds. If you create a delay queue, any messages that you send to the queue remain invisible to consumers for the duration of the delay period
Know FIFO vs Standard Queue&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SQS&lt;/strong&gt; is a fully managed message queuing service that enables you to decouple and scale micro-services, distributed systems, and Serverless applications&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SNS&lt;/strong&gt;: To receive subset of messages, subscriber can apply filter policy to topic subscription.&lt;/li&gt;
&lt;li&gt;If use case has subscribed to email notification, go with SNS as opposed to SQS.&lt;/li&gt;
&lt;li&gt;By default only the queue owner is allowed to use the queue. Configure SQS Queue Access Policy to provide access to other AWS accounts&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Question
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Which endpoint is considered to be best practice when analyzing data within a Configuration Stream of &lt;a href="https://aws.amazon.com/config/" rel="noopener noreferrer"&gt;AWS Config&lt;/a&gt;?&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;SNS&lt;/li&gt;
&lt;li&gt;E-Mail&lt;/li&gt;
&lt;li&gt;SQS&lt;/li&gt;
&lt;li&gt;Kinesis&lt;/li&gt;
&lt;/ol&gt;

&lt;blockquote&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://romankurnovskii.com/en/docs/aws-certified-developer-associate/sqs/" rel="noopener noreferrer"&gt;Practice notes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dev.to/romankurnovskii/aws-ec2-top-%0Aquestions-certified-developer-exam-27oo"&gt;Questions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

</description>
      <category>30daysofaws</category>
      <category>certifieddeveloperassociate</category>
      <category>sqs</category>
    </item>
    <item>
      <title>Amazon EventBridge Cheat Sheet</title>
      <dc:creator>Roman</dc:creator>
      <pubDate>Sun, 25 Sep 2022 05:15:53 +0000</pubDate>
      <link>https://dev.to/romankurnovskii/amazon-eventbridge-cheat-sheet-208n</link>
      <guid>https://dev.to/romankurnovskii/amazon-eventbridge-cheat-sheet-208n</guid>
      <description>&lt;h2&gt;
  
  
  About
&lt;/h2&gt;

&lt;p&gt;EventB­ridge is a serverless event bus that makes it easy to connect applic­ations together using data from apps, integrated SaaS apps, &amp;amp; AWS services.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://aws.amazon.com/eventbridge/" rel="noopener noreferrer"&gt;Documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/eventbridge/?id=docs_gateway" rel="noopener noreferrer"&gt;User Guide&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fam9wta7eln476642fq35.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fam9wta7eln476642fq35.png" alt="Amazon EventBridge Flow" width="800" height="402"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;EventB­ridge is a low-cost alternative to building a new backend infrastructure for every new app. With Serverless EventB­ridge, you can connect your existing apps with a few lines of code. You don’t have to build a new backend for every new app you want to connect to. &lt;/p&gt;

&lt;p&gt;You can use existing infrastructure as a provider of event data, and connect your apps using Serverless EventB­ridge.&lt;/p&gt;

&lt;h3&gt;
  
  
  Alternatives
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messaging-overview" rel="noopener noreferrer"&gt;Azure Service Bus&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;TIBCO Cloud Integration (including BusinessWorks and Scribe)&lt;/li&gt;
&lt;li&gt;IBM App Connect&lt;/li&gt;
&lt;li&gt;&lt;a href="https://cloud.google.com/pubsub" rel="noopener noreferrer"&gt;Google Cloud Pub/Sub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Apache Camel&lt;/li&gt;
&lt;li&gt;Peregrine Connect&lt;/li&gt;
&lt;li&gt;Software AG webMethods&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.ibm.com/cloud/cloud-pak-for-integration" rel="noopener noreferrer"&gt;IBM Cloud Pak for Integration&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Use Cases
&lt;/h2&gt;

&lt;p&gt;Type: Applic­ation integr­ation&lt;/p&gt;

&lt;p&gt;Same type services: &lt;a href="//../sns"&gt;SNS&lt;/a&gt;, &lt;a href="//../sqs"&gt;SQS&lt;/a&gt;, &lt;a href="https://aws.amazon.com/appsync/" rel="noopener noreferrer"&gt;AppSync&lt;/a&gt;, EventBridge&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Re-architect for speed&lt;/li&gt;
&lt;li&gt;Extend functionality via SaaS integrations&lt;/li&gt;
&lt;li&gt;Monitoring and Auditing&lt;/li&gt;
&lt;li&gt;Customize SaaS with AI/ML&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Question
&lt;/h2&gt;

&lt;p&gt;A food delivery company is building a feature that requests reviews from customers after their orders are delivered. The solution should be a short-running process that can message customers simultaneously at various contact points including email, text, and mobile push notifications.&lt;/p&gt;

&lt;p&gt;Which approach best meets these requirements?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Use EventBridge with Kinesis Data Streams to send messages.&lt;/li&gt;
&lt;li&gt;Use a Step Function to send SQS messages.&lt;/li&gt;
&lt;li&gt;Use a Lambda function to send SNS messages.&lt;/li&gt;
&lt;li&gt;Use AWS Batch and SNS to send messages.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://romankurnovskii.com/en/docs/aws-certified-developer-associate/eventbridge/" rel="noopener noreferrer"&gt;Practice notes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dev.to/romankurnovskii/aws-ec2-top-%0Aquestions-certified-developer-exam-27oo"&gt;Questions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

</description>
      <category>30daysofaws</category>
      <category>certifieddeveloperassociate</category>
    </item>
    <item>
      <title>AWS Fargate Cheat Sheet</title>
      <dc:creator>Roman</dc:creator>
      <pubDate>Sat, 24 Sep 2022 05:35:11 +0000</pubDate>
      <link>https://dev.to/romankurnovskii/aws-fargate-cheat-sheet-3p2c</link>
      <guid>https://dev.to/romankurnovskii/aws-fargate-cheat-sheet-3p2c</guid>
      <description>&lt;p&gt;Serverless compute for contai­ners.&lt;/p&gt;

&lt;p&gt;AWS Fargate is a serverless, pay-as-you-go compute engine that lets you focus on &lt;strong&gt;building applications without managing servers&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Deploy and manage your applications, not infrastructure. Fargate removes the operational overhead of scaling, patching, securing, and managing servers.&lt;/p&gt;

&lt;p&gt;Compatible with both Amazon Elastic Container Service (ECS) and Amazon Elastic Kubernetes Service (EKS).&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://aws.amazon.com/fargate/" rel="noopener noreferrer"&gt;Documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/fargate/?id=docs_gateway" rel="noopener noreferrer"&gt;User Guide&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Ft4h6eptcaterxtsfec5f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Ft4h6eptcaterxtsfec5f.png" alt="AWS Fargate Flow" width="800" height="324"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Alternatives
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Google Kubernetes Engine (GKE)&lt;/li&gt;
&lt;li&gt;Red Hat OpenShift Container Platform&lt;/li&gt;
&lt;li&gt;Azure Kubernetes Service (AKS)&lt;/li&gt;
&lt;li&gt;Rancher&lt;/li&gt;
&lt;li&gt;Azure Container Instances&lt;/li&gt;
&lt;li&gt;Cloud Foundry&lt;/li&gt;
&lt;li&gt;Oracle Cloud Infrastructure Container Engine for Kubernetes&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Q
&lt;/h2&gt;

&lt;p&gt;How AWS Fargate different from AWS ECS?&lt;/p&gt;

&lt;p&gt;In AWS ECS, you manage the infrastructure - you need to provision and configure the EC2 instances.&lt;br&gt;
While in AWS Fargate, you don't provision or manage the infrastructure, you simply focus on launching Docker containers. You can think of it as the serverless version of AWS ECS.&lt;/p&gt;

&lt;blockquote&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://romankurnovskii.com/en/docs/aws-certified-developer-associate/ec2/" rel="noopener noreferrer"&gt;Practice notes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dev.to/romankurnovskii/aws-ec2-top-%0Aquestions-certified-developer-exam-27oo"&gt;Questions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

</description>
    </item>
    <item>
      <title>AWS ECS vs EKS</title>
      <dc:creator>Roman</dc:creator>
      <pubDate>Thu, 22 Sep 2022 04:10:11 +0000</pubDate>
      <link>https://dev.to/romankurnovskii/aws-ecs-vs-eks-2c1e</link>
      <guid>https://dev.to/romankurnovskii/aws-ecs-vs-eks-2c1e</guid>
      <description>&lt;p&gt;Amazon provides the Elastic Container Service for Kubernetes (Amazon EKS) which can be used to deploy, manage, and scale containerized applications using Kubernetes on AWS.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Amazon ECS&lt;/th&gt;
&lt;th&gt;Amazon EKS&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Managed, highly available, highly scalable container platform&lt;/td&gt;
&lt;td&gt;Managed, highly available, highly scalable container platform&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AWS-specific platform that supports Docker Containers&lt;/td&gt;
&lt;td&gt;Compatible with upstream Kubernetes, so it’s easy to lift and shift from other Kubernetes deployments&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Considered simpler and easier to use&lt;/td&gt;
&lt;td&gt;Considered more feature-rich and complex with a steep learning curve&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Leverages AWS services like Route 53, ALB, and CloudWatch&lt;/td&gt;
&lt;td&gt;A hosted Kubernetes platform that handles many things internally&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;“Tasks” are instances of containers that are run on underlying compute but more of less isolated&lt;/td&gt;
&lt;td&gt;“Pods” are containers collocated with one another and can have shared access to each other&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Limited extensibility&lt;/td&gt;
&lt;td&gt;Extensible via a wide variety of third-party and community add-ons.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;blockquote&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://romankurnovskii.com/en/docs/aws-certified-developer-associate/eks/" rel="noopener noreferrer"&gt;Practice notes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dev.to/romankurnovskii/aws-ec2-top-%0Aquestions-certified-developer-exam-27oo"&gt;Questions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

</description>
      <category>30daysofaws</category>
      <category>day13</category>
      <category>certifieddeveloperassociate</category>
      <category>eks</category>
    </item>
    <item>
      <title>AWS Fargate Cheat Sheet</title>
      <dc:creator>Roman</dc:creator>
      <pubDate>Thu, 22 Sep 2022 04:06:13 +0000</pubDate>
      <link>https://dev.to/romankurnovskii/aws-fargate-cheat-sheet-3emi</link>
      <guid>https://dev.to/romankurnovskii/aws-fargate-cheat-sheet-3emi</guid>
      <description>&lt;p&gt;Serverless compute for contai­ners.&lt;/p&gt;

&lt;p&gt;AWS Fargate is a serverless, pay-as-you-go compute engine that lets you focus on &lt;strong&gt;building applications without managing servers&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Deploy and manage your applications, not infrastructure. Fargate removes the operational overhead of scaling, patching, securing, and managing servers.&lt;/p&gt;

&lt;p&gt;Compatible with both Amazon Elastic Container Service (ECS) and Amazon Elastic Kubernetes Service (EKS).&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://aws.amazon.com/fargate/" rel="noopener noreferrer"&gt;Documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/fargate/?id=docs_gateway" rel="noopener noreferrer"&gt;User Guide&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Ft4h6eptcaterxtsfec5f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Ft4h6eptcaterxtsfec5f.png" alt="AWS Fargate Flow" width="800" height="324"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Alternatives
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Google Kubernetes Engine (GKE)&lt;/li&gt;
&lt;li&gt;Red Hat OpenShift Container Platform&lt;/li&gt;
&lt;li&gt;Azure Kubernetes Service (AKS)&lt;/li&gt;
&lt;li&gt;Rancher&lt;/li&gt;
&lt;li&gt;Azure Container Instances&lt;/li&gt;
&lt;li&gt;Cloud Foundry&lt;/li&gt;
&lt;li&gt;Oracle Cloud Infrastructure Container Engine for Kubernetes&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Q
&lt;/h2&gt;

&lt;p&gt;How AWS Fargate different from AWS ECS?&lt;/p&gt;

&lt;p&gt;In AWS ECS, you manage the infrastructure - you need to provision and configure the EC2 instances.&lt;br&gt;
While in AWS Fargate, you don't provision or manage the infrastructure, you simply focus on launching Docker containers. You can think of it as the serverless version of AWS ECS.&lt;/p&gt;

&lt;blockquote&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://romankurnovskii.com/en/docs/aws-certified-developer-associate/fargate/" rel="noopener noreferrer"&gt;Practice notes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dev.to/romankurnovskii/aws-ec2-top-%0Aquestions-certified-developer-exam-27oo"&gt;Questions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

</description>
      <category>30daysofaws</category>
      <category>day12</category>
      <category>certifieddeveloperassociate</category>
    </item>
    <item>
      <title>AWS Elastic Container Service Cheat Sheet</title>
      <dc:creator>Roman</dc:creator>
      <pubDate>Tue, 20 Sep 2022 17:44:52 +0000</pubDate>
      <link>https://dev.to/romankurnovskii/aws-elastic-container-service-cheat-sheet-20dk</link>
      <guid>https://dev.to/romankurnovskii/aws-elastic-container-service-cheat-sheet-20dk</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.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%2F0i4rxskwsnft9wt00sfl.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F0i4rxskwsnft9wt00sfl.jpg" alt="Elastic Container Service" width="435" height="322"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Microservices are built in multiple programming languages&lt;/li&gt;
&lt;li&gt;Containers simplify deployment of microservices: 

&lt;ul&gt;
&lt;li&gt;Step 1 : Create a self contained Docker image&lt;/li&gt;
&lt;li&gt;Application Runtime (JDK or Python), Application code and Dependencies&lt;/li&gt;
&lt;li&gt;Step 2 : Run it as a container any where Local machine OR Corporate data center OR Cloud&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;Use On-Demand instances or Spot instances&lt;/li&gt;

&lt;li&gt;Launch type: EC2 or Fargate&lt;/li&gt;

&lt;li&gt;Data volumes attached to containers&lt;/li&gt;

&lt;li&gt;Deployment type:

&lt;ul&gt;
&lt;li&gt;Rolling update&lt;/li&gt;
&lt;li&gt;Blue/green deployment (powered by AWS CodeDeploy)&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;Task Placement Strategies:

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;binpack&lt;/strong&gt; - Leave least amount of unused CPU or memory. &lt;strong&gt;Minimizes number of container instances in use&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;random&lt;/strong&gt; - Random task placement&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;spread&lt;/strong&gt; - Based on specified values:&lt;/li&gt;
&lt;li&gt;Host (instanceId)&lt;/li&gt;
&lt;li&gt;(OR) Availability Zone(attribute:ecs.availability-zone)&lt;/li&gt;
&lt;li&gt;(Alowed) Combine strategies and prioritize&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;How do you manage 100s of containers?&lt;/li&gt;

&lt;li&gt;ECS - Fully managed service for container orchestration

&lt;ul&gt;
&lt;li&gt;Step 1 : Create a Cluster (Group of one or more EC2 instances)&lt;/li&gt;
&lt;li&gt;Step 2: Deploy your microservice containers&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;AWS Fargate: Serverless ECS. DON'T worry about EC2 instances.&lt;/li&gt;

&lt;li&gt;Cloud Neutral: Kubernetes

&lt;ul&gt;
&lt;li&gt;AWS - AWS Elastic Kubernetes Service (EKS)&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;Load balancing:

&lt;ul&gt;
&lt;li&gt;Performed using Application Load Balancers&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dynamic host port mapping&lt;/strong&gt;: Multiple tasks from the same service are allowed per EC2 (container) instance&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Path-based routing&lt;/strong&gt;: Multiple services can use the same listener port on same ALB and be routed based on path (&lt;a href="http://www.myapp.com/microservice-a" rel="noopener noreferrer"&gt;www.myapp.com/microservice-a&lt;/a&gt; and &lt;a href="http://www.myapp.com/microservice-b" rel="noopener noreferrer"&gt;www.myapp.com/microservice-b&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fcrscs503f1xdiy4dk9ld.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fcrscs503f1xdiy4dk9ld.png" alt="Elastic Container Service" width="753" height="463"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://romankurnovskii.com/en/docs/aws-certified-developer-associate/ec2/" rel="noopener noreferrer"&gt;Practice notes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dev.to/romankurnovskii/aws-ec2-top-%0Aquestions-certified-developer-exam-27oo"&gt;Questions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

</description>
      <category>30daysofaws</category>
      <category>day11</category>
      <category>certifieddeveloperassociate</category>
      <category>ecs</category>
    </item>
    <item>
      <title>AWS Elastic Container Registry Cheat Sheet</title>
      <dc:creator>Roman</dc:creator>
      <pubDate>Tue, 20 Sep 2022 03:38:52 +0000</pubDate>
      <link>https://dev.to/romankurnovskii/aws-elastic-container-registry-cheat-sheet-46l5</link>
      <guid>https://dev.to/romankurnovskii/aws-elastic-container-registry-cheat-sheet-46l5</guid>
      <description>&lt;p&gt;Amazon Elastic Container Registry (Amazon ECR) - Fully managed container registry offering high-performance hosting, so you can reliably deploy application images and artifacts anywhere&lt;/p&gt;

&lt;h2&gt;
  
  
  Alternatives
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Docker Hub&lt;/li&gt;
&lt;li&gt;JFrog Artifactory&lt;/li&gt;
&lt;li&gt;Azure Container Registry&lt;/li&gt;
&lt;li&gt;Harbor&lt;/li&gt;
&lt;li&gt;Google Container Registry&lt;/li&gt;
&lt;li&gt;Red Hat Quay&lt;/li&gt;
&lt;li&gt;JFrog Container Registry&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Quick start
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Login

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;get-login-password:&lt;/strong&gt;&lt;code&gt;aws ecr get-login-password --region region | docker login --username AWS --password-stdin aws_account_id.dkr.ecr.region.amazonaws.com&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;Create a repository:&lt;br&gt;
&lt;/p&gt;

&lt;pre class="highlight shell"&gt;&lt;code&gt;aws ecr create-repository &lt;span class="se"&gt;\&lt;/span&gt;
    &lt;span class="nt"&gt;--repository-name&lt;/span&gt; hello-repository &lt;span class="se"&gt;\&lt;/span&gt;
    &lt;span class="nt"&gt;--image-scanning-configuration&lt;/span&gt; &lt;span class="nv"&gt;scanOnPush&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nb"&gt;true&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
    &lt;span class="nt"&gt;--region&lt;/span&gt; region
&lt;/code&gt;&lt;/pre&gt;




&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;Tag image&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;docker tag hello-world:latest aws_account_id.dkr.ecr.region.amazonaws.com/hello-repository&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;Push&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;docker push aws_account_id.dkr.ecr.region.amazonaws.com/hello-repository&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;Pull&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;docker pull aws_account_id.dkr.ecr.region.amazonaws.com/hello-repository:latest&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;Delete an image&lt;br&gt;
&lt;/p&gt;

&lt;pre class="highlight plaintext"&gt;&lt;code&gt;aws ecr batch-delete-image \
    --repository-name hello-repository \
    --image-ids imageTag=latest \
    --region region
&lt;/code&gt;&lt;/pre&gt;




&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;Delete a repository&lt;br&gt;
&lt;/p&gt;

&lt;pre class="highlight plaintext"&gt;&lt;code&gt;aws ecr delete-repository \
  --repository-name hello-repository \
  --force \
  --region region
&lt;/code&gt;&lt;/pre&gt;




&lt;/li&gt;

&lt;/ul&gt;

&lt;blockquote&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://romankurnovskii.com/en/docs/aws-certified-developer-associate/ecr/" rel="noopener noreferrer"&gt;Practice notes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dev.to/romankurnovskii/aws-ec2-top-%0Aquestions-certified-developer-exam-27oo"&gt;Questions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

</description>
      <category>30daysofaws</category>
      <category>day12</category>
      <category>certifieddeveloperassociate</category>
      <category>ecr</category>
    </item>
    <item>
      <title>AWS X-Ray Cheat Sheet</title>
      <dc:creator>Roman</dc:creator>
      <pubDate>Mon, 19 Sep 2022 02:10:02 +0000</pubDate>
      <link>https://dev.to/romankurnovskii/aws-x-ray-cheat-sheet-1pln</link>
      <guid>https://dev.to/romankurnovskii/aws-x-ray-cheat-sheet-1pln</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.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%2Fqvolv9w3zky5ntqx1c4j.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fqvolv9w3zky5ntqx1c4j.jpg" alt="AWS X-Ray" width="200" height="207"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Alternatives
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Google Stackdriver&lt;/li&gt;
&lt;li&gt;Azure Monitor&lt;/li&gt;
&lt;li&gt;Elastic Observability&lt;/li&gt;
&lt;li&gt;Datadog&lt;/li&gt;
&lt;li&gt;Splunk&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Digest
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Trace request across microservices/AWS services

&lt;ul&gt;
&lt;li&gt;Analyze, Troubleshoot errors, Solve performance issues&lt;/li&gt;
&lt;li&gt;Gather tracing information&lt;/li&gt;
&lt;li&gt;From applications/components/AWS Services&lt;/li&gt;
&lt;li&gt;Tools to view, filter and gain insights (Ex: Service Map)&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;How does Tracing work?

&lt;ul&gt;
&lt;li&gt;Unique trace ID assigned to every client request&lt;/li&gt;
&lt;li&gt;&lt;code&gt;X-Amzn-Trace-Id:Root=1-5759e988-bd862e3fe&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Each service in request chain sends traces to X-Ray with trace ID &lt;/li&gt;
&lt;li&gt;X-Ray gathers all the information and provides visualization&lt;/li&gt;
&lt;li&gt;How do you reduce performance impact due to tracing?&lt;/li&gt;
&lt;li&gt;Sampling - Only a sub set of requests are sampled (Configurable)&lt;/li&gt;
&lt;li&gt;How can AWS Services and your applications send tracing info?&lt;/li&gt;
&lt;li&gt;Step 1 : Update Application Code Using X-Ray SDK&lt;/li&gt;
&lt;li&gt;Step 2: Use X-Ray agents (EASY to use in some services! Ex: AWS Lambda)&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F2pr62g268xxsrtl6ilui.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F2pr62g268xxsrtl6ilui.jpg" width="700" height="200"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Segments and Sub-segments can include an annotations object containing one or more fields that X-Ray indexes for use with Filter Expressions. It is indexed. Use up to 50 annotations per trace.&lt;/li&gt;
&lt;li&gt;Total sampled request per second = &lt;code&gt;Reservoir size + ((incoming requests per second - reservoir size) * fixed rate)&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Default sampling X-ray SDK first request each second and 5% of any additional requests&lt;/li&gt;
&lt;li&gt;Tracing header can be added in &lt;em&gt;http&lt;/em&gt; request header&lt;/li&gt;
&lt;li&gt;Annotations vs Segments vs Subsegments vs metadata&lt;/li&gt;
&lt;li&gt;X-ray daemon listens for traffic on UDP port 2000&lt;/li&gt;
&lt;li&gt;X-ray SDK provides interceptors to add your code to trace incoming HTTP requests.&lt;/li&gt;
&lt;li&gt;X-ray in EC2: You need the X-Ray daemon to be running on your EC2 instances in order to send data to X-Ray. User data script could be used to install the X-Ray daemon in EC2 instance.&lt;/li&gt;
&lt;li&gt;X-ray in ECS: In Amazon ECS, create a Docker image that runs the X-Ray daemon, upload it to a Docker image repository, and then deploy it to your Amazon ECS cluster.&lt;/li&gt;
&lt;li&gt;X-ray in elastic beanstalk: Enable the X-Ray daemon by including the xray-daemon.config configuration file in the &lt;code&gt;.ebextensions&lt;/code&gt; directory of your source code&lt;/li&gt;
&lt;li&gt;AWS X-Ray helps developers analyze and debug production, distributed applications, such as those built using a micro-service architecture.&lt;/li&gt;
&lt;li&gt;A segment can break down the data about the work done into subsegments. Subsegments provide more granular timing information and details about - downstream calls that your application made to fulfill the original request.&lt;/li&gt;
&lt;li&gt;Add annotations to subsegment document if you want to trace downstream calls.&lt;/li&gt;
&lt;li&gt;Segments and subsegment can include a metadata object containing one or more fields with values of any type, including objects and arrays.&lt;/li&gt;
&lt;li&gt;Tracing header is added in the HTTP request header. A tracing header (&lt;code&gt;X-Amzn-Trace-ld&lt;/code&gt;) can originate from the X-Ray SDK, an AWS service, or the - client request.&lt;/li&gt;
&lt;li&gt;Use the &lt;code&gt;GetTraceSummaries&lt;/code&gt; API to get the list of trace IDs of the application and then retrieve the list of traces using BatchGetTraces API in - order to develop the custom debug tool&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://romankurnovskii.com/en/docs/aws-certified-developer-associate/xray/" rel="noopener noreferrer"&gt;Practice notes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dev.to/romankurnovskii/aws-ec2-top-%0Aquestions-certified-developer-exam-27oo"&gt;Questions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

</description>
      <category>30daysofaws</category>
      <category>day11</category>
      <category>certifieddeveloperassociate</category>
      <category>xray</category>
    </item>
    <item>
      <title>AWS CodeArtifact Cheat Sheet</title>
      <dc:creator>Roman</dc:creator>
      <pubDate>Sun, 18 Sep 2022 04:02:08 +0000</pubDate>
      <link>https://dev.to/romankurnovskii/aws-codeartifact-cheat-sheet-47pa</link>
      <guid>https://dev.to/romankurnovskii/aws-codeartifact-cheat-sheet-47pa</guid>
      <description>&lt;h2&gt;
  
  
  About
&lt;/h2&gt;

&lt;p&gt;AWS CodeArtifact is a fully managed artifact repository service that makes it easy for organizations of any size to securely store, publish, and share software packages used in their software development process.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://aws.amazon.com/codeartifact/" rel="noopener noreferrer"&gt;Documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/codeartifact/?id=docs_gateway" rel="noopener noreferrer"&gt;User Guide&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F89ak5pr8e6jcgm55tlyb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F89ak5pr8e6jcgm55tlyb.png" alt="Amazon CodeArtifact Flow" width="800" height="369"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;CodeAr­tifact is a secure storage, publishing, and sharing of software code packages used in a development process organisation's software development. CodeAr­tifact makes it easy for small organisations to store, publish, and share software packages.&lt;/p&gt;

&lt;p&gt;CodeArtifact can be configured to automatically fetch software packages and dependencies from public artifact repositories.&lt;/p&gt;

&lt;p&gt;CodeArtifact works with commonly used package managers and build tools like Maven, Gradle, npm, yarn, twine, pip, and NuGet making it easy to integrate into existing development workflows.&lt;/p&gt;

&lt;h2&gt;
  
  
  Price
&lt;/h2&gt;

&lt;p&gt;Pay only for what you use – the size of the artifacts stored, the number of requests made, and the amount of data transferred out of an AWS Region. CodeArtifact includes a monthly free tier for storage and requests&lt;/p&gt;

&lt;p&gt;&lt;a href="https://aws.amazon.com/codeartifact/pricing/" rel="noopener noreferrer"&gt;Current price&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Use Cases
&lt;/h2&gt;

&lt;p&gt;Type: Developer Tools&lt;/p&gt;

&lt;h3&gt;
  
  
  Alternatives
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;JFrog Artifactory&lt;/li&gt;
&lt;li&gt;Docker hub&lt;/li&gt;
&lt;li&gt;Sonatype Nexus Platform&lt;/li&gt;
&lt;li&gt;Helm&lt;/li&gt;
&lt;li&gt;Azure DevOps Services&lt;/li&gt;
&lt;li&gt;Github&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Usage
&lt;/h3&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;aws codeartifact list-domains &lt;span class="nt"&gt;--region&lt;/span&gt; us-east-1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Practice
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://docs.aws.amazon.com/codeartifact/latest/ug/getting-started-console.html" rel="noopener noreferrer"&gt;Getting started using the console&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://dev.to/romankurnovskii/aws-ec2-top-%0Aquestions-certified-developer-exam-27oo"&gt;Questions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

</description>
      <category>30daysofaws</category>
      <category>day10</category>
      <category>certifieddeveloperassociate</category>
      <category>codeartifact</category>
    </item>
    <item>
      <title>AWS CodeStar overview</title>
      <dc:creator>Roman</dc:creator>
      <pubDate>Sat, 17 Sep 2022 03:36:08 +0000</pubDate>
      <link>https://dev.to/romankurnovskii/aws-codestar-overview-5ae0</link>
      <guid>https://dev.to/romankurnovskii/aws-codestar-overview-5ae0</guid>
      <description>&lt;h2&gt;
  
  
  About
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fa6avcyjm9x2v62pblavh.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fa6avcyjm9x2v62pblavh.jpg" alt="AWS CodeStar overview" width="786" height="563"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;AWS CodeStar enables you to quickly develop, build, and deploy applications on AWS. AWS CodeStar provides a unified user interface, enabling you to easily manage your software development activities in one place.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://aws.amazon.com/codestar/" rel="noopener noreferrer"&gt;Documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/codestar/?id=docs_gateway" rel="noopener noreferrer"&gt;User Guide&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;CodeStar enables to quickly develop, build, &amp;amp; deploy applic­ations on AWS.&lt;/p&gt;

&lt;p&gt;With AWS CodeStar, you can create, manage, and scale automated code reviews with a single click. You can also monitor the performance and scalability of your code review process with the built-in metrics dashboard. &lt;/p&gt;

&lt;p&gt;Each AWS CodeStar project comes with a project management dashboard, including an integrated issue tracking capability powered by Atlassian JIRA Software.&lt;/p&gt;

&lt;h3&gt;
  
  
  Alternatives
&lt;/h3&gt;

&lt;p&gt;Alternatives to AWS CodeStar:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Jenkins.&lt;/li&gt;
&lt;li&gt;Azure DevOps Projects.&lt;/li&gt;
&lt;li&gt;GitHub.&lt;/li&gt;
&lt;li&gt;GitLab.&lt;/li&gt;
&lt;li&gt;CircleCI.&lt;/li&gt;
&lt;li&gt;CloudBees CI.&lt;/li&gt;
&lt;li&gt;Plesk.&lt;/li&gt;
&lt;li&gt;Copado CI/CD.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://romankurnovskii.com/en/docs/aws-certified-developer-associate/codestar/#practice" rel="noopener noreferrer"&gt;Practice notes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dev.to/romankurnovskii/aws-ec2-top-%0Aquestions-certified-developer-exam-27oo"&gt;Questions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

</description>
      <category>30daysofaws</category>
      <category>day09</category>
      <category>certifieddeveloperassociate</category>
    </item>
    <item>
      <title>AWS CodeDeploy Cheat Sheet</title>
      <dc:creator>Roman</dc:creator>
      <pubDate>Fri, 16 Sep 2022 04:20:51 +0000</pubDate>
      <link>https://dev.to/romankurnovskii/aws-codedeploy-cheat-sheet-37f3</link>
      <guid>https://dev.to/romankurnovskii/aws-codedeploy-cheat-sheet-37f3</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fseeklogo.com%2Fimages%2FA%2Faws-codedeploy-logo-2A6E3A318A-seeklogo.com.png%3Fv%3D637830372770000000" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fseeklogo.com%2Fimages%2FA%2Faws-codedeploy-logo-2A6E3A318A-seeklogo.com.png%3Fv%3D637830372770000000" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  About
&lt;/h2&gt;

&lt;p&gt;CodeDeploy is a fully managed deployment service that automates software deploy­ments to a variety of compute services such as EC2, Fargate, Lambda, &amp;amp; on-pre­mises servers&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://aws.amazon.com/codedeploy/" rel="noopener noreferrer"&gt;Documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/codedeploy/?id=docs_gateway" rel="noopener noreferrer"&gt;User Guide&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;CodeDeploy can also deploy a serverless Lambda function.&lt;/p&gt;

&lt;p&gt;CodeDeploy can be connected to CodePipeline and use artifacts from there.&lt;/p&gt;

&lt;h3&gt;
  
  
  Platforms
&lt;/h3&gt;

&lt;p&gt;Need to choose the compute platform:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;EC2/On-premises.&lt;/li&gt;
&lt;li&gt;AWS Lambda.&lt;/li&gt;
&lt;li&gt;Amazon ECS.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  AppSpec File
&lt;/h3&gt;

&lt;p&gt;The application specification file (AppSpec file) is a YAML-formatted, or JSON-formatted file used by CodeDeploy to manage a deployment.&lt;/p&gt;

&lt;p&gt;The AppSpec file defines the deployment actions you want AWS CodeDeploy to execute.&lt;/p&gt;

&lt;h4&gt;
  
  
  Deployment types
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;In-place deployment (EC2 only)&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Blue/green deployments:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AWS Lambda: Traffic is shifted from one version of a Lambda function to a new version of the same Lambda function.&lt;/li&gt;
&lt;li&gt;Amazon ECS: Traffic is shifted from a task set in your Amazon ECS service to an updated, replacement task set in the same Amazon ECS service.&lt;/li&gt;
&lt;li&gt;EC2/On-Premises: Traffic is shifted from one set of instances in the original environment to a replacement set of instances.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;h2&gt;
  
  
  Price
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://aws.amazon.com/codedeploy/pricing/" rel="noopener noreferrer"&gt;Current price&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Use Cases
&lt;/h2&gt;

&lt;p&gt;Type: Developer Tools&lt;/p&gt;

&lt;h2&gt;
  
  
  Practice
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://cloudacademy.com/lab/continuous-integration-deployment-aws-code-services/" rel="noopener noreferrer"&gt;Continuous Integration and Deployment with AWS Code Services&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Q1
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;What will happen if you delete an unused custom deployment configuration in AWS CodeDeploy?&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;You will no longer be able to associate the deleted deployment configuration with new deployments and new deployment groups.&lt;/li&gt;
&lt;li&gt;Nothing will happen, as the custom deployment configuration was unused.&lt;/li&gt;
&lt;li&gt;All deployment groups associated with the custom deployment configuration will also be deleted.&lt;/li&gt;
&lt;li&gt;All deployments associated with the custom deployment configuration will be terminated.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Q2
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;What happens when you delete a deployment group with the AWS CLI in AWS CodeDeploy?&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;All details associated with that deployment group will be moved from AWS CodeDeploy to AWS OpsWorks.&lt;/li&gt;
&lt;li&gt;The instances used in the deployment group will change.&lt;/li&gt;
&lt;li&gt;All details associated with that deployment group will also be deleted from AWS CodeDeploy.&lt;/li&gt;
&lt;li&gt;The instances that were participating in the deployment group will run once again.&lt;/li&gt;
&lt;/ol&gt;

&lt;blockquote&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://romankurnovskii.com/en/docs/aws-certified-developer-associate/codedeploy/" rel="noopener noreferrer"&gt;Practice notes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dev.to/romankurnovskii/aws-ec2-top-%0Aquestions-certified-developer-exam-27oo"&gt;Questions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

</description>
      <category>30daysofaws</category>
      <category>day08</category>
      <category>certifieddeveloperassociate</category>
    </item>
  </channel>
</rss>
