<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Fargate on zoph.me</title>
    <link>/tags/fargate/</link>
    <description>Recent content in Fargate on zoph.me</description>
    <image>
      <title>zoph.me</title>
      <url>https://zoph.me/posts/resources/images/code-social.png</url>
      <link>https://zoph.me/posts/resources/images/code-social.png</link>
    </image>
    <generator>Hugo -- 0.148.2</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 16 Feb 2020 13:37:00 +0200</lastBuildDate>
    <atom:link href="/tags/fargate/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Easily reduce by 70% your AWS Fargate bills</title>
      <link>/posts/2020-02-02-fargate-spot/</link>
      <pubDate>Sun, 16 Feb 2020 13:37:00 +0200</pubDate>
      <guid>/posts/2020-02-02-fargate-spot/</guid>
      <description>&lt;p&gt;Quick post today about cost saving on AWS. As you know, two of my preferred subjects on Public Cloud are Security and FinOps!&lt;/p&gt;
&lt;p&gt;Recently, &lt;a href=&#34;https://aws.amazon.com/about-aws/whats-new/2019/12/aws-launches-fargate-spot-save-up-to-70-for-fault-tolerant-applications/&#34;&gt;AWS introduced&lt;/a&gt; a way to reduce AWS bills by up to 70% using Spot instances with the AWS Fargate service.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s really easy to use. If your workload is interruption-proof, batch jobs, or CI/CD containers, don&amp;rsquo;t hesitate to use it to drastically reduce your workload costs.&lt;/p&gt;
&lt;p&gt;Using Terraform, you just have to specify &lt;code&gt;capacity_providers&lt;/code&gt; and/or &lt;code&gt;default_capacity_provider_strategy&lt;/code&gt; on your &lt;code&gt;aws_ecs_cluster&lt;/code&gt; resource.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Serverless job scheduling using AWS Fargate</title>
      <link>/posts/2019-09-22-serverless-jobs-scheduling-using-aws-fargate/</link>
      <pubDate>Sun, 22 Sep 2019 13:37:00 +0200</pubDate>
      <guid>/posts/2019-09-22-serverless-jobs-scheduling-using-aws-fargate/</guid>
      <description>&lt;p&gt;I was wondering if I could schedule simple bash scripts using &lt;a href=&#34;https://aws.amazon.com/fargate/&#34;&gt;AWS Fargate&lt;/a&gt; for some trivial batch operations.&lt;/p&gt;
&lt;p&gt;To be completely honest, it is also an excuse to learn more about AWS Fargate, and to convert a legacy bash script based on EC2 Spot instances to a container world.&lt;/p&gt;
&lt;p&gt;In this post, we will see how to schedule a bash script job once a day. To do so, we will deploy the corresponding AWS infrastructure (even if it&amp;rsquo;s serverless, yes :wink:) using &lt;a href=&#34;https://www.terraform.io/&#34;&gt;Terraform&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
