<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Iryna S. on Medium]]></title>
        <description><![CDATA[Stories by Iryna S. on Medium]]></description>
        <link>https://medium.com/@belka.zver?source=rss-e9c0eedd17bf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*vylW8SfAjFgT6wBCuvx5kg@2x.jpeg</url>
            <title>Stories by Iryna S. on Medium</title>
            <link>https://medium.com/@belka.zver?source=rss-e9c0eedd17bf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 08:48:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@belka.zver/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[AWS Certified AI practitioner (AIF-C01) — My experience]]></title>
            <link>https://medium.com/@belka.zver/aws-certified-ai-practitioner-aif-c01-my-experience-9462f0da01ef?source=rss-e9c0eedd17bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/9462f0da01ef</guid>
            <category><![CDATA[certification]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[bedrock]]></category>
            <dc:creator><![CDATA[Iryna S.]]></dc:creator>
            <pubDate>Mon, 14 Oct 2024 09:48:37 GMT</pubDate>
            <atom:updated>2024-10-14T09:48:37.547Z</atom:updated>
            <content:encoded><![CDATA[<h3>AWS Certified AI practitioner (AIF-C01) — My experience</h3><p>Hi everyone! Yesterday I passed <strong>AWS Certified AI Practitioner</strong>, the most recent (and the most interesting!) AWS certification. I think it’s important for everyone to start paying attention to AI because it’s the future and in this article I would like to share my experience and tips for those willing to do follow my steps :-)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*HEKo5pUnM2z0NESiKosvew.png" /></figure><h3>Overview:</h3><p><strong>AWS Certified AI Practitioner</strong> validates in-demand knowledge of artificial intelligence (AI), machine learning (ML), and generative AI concepts and use cases.</p><p>I’d say there’s roughly a <strong>50/50 split</strong> between AWS services and broader AI/ML topics. You don’t need deep expertise in all AWS services, but you should have a strong understanding of fundamental AI/ML concepts.</p><p><strong>Exam duration — </strong>90 minutes</p><p><strong>Exam format — </strong>65 questions; either multiple choice or multiple response</p><p><strong>Passing Score — </strong>700</p><h3>AWS AI/ML Services to Know:</h3><ol><li><strong>AWS Bedrock</strong>: For building and scaling generative AI applications using foundation models.</li><li><strong>Amazon Q</strong>: Natural language processing (NLP) service for querying data.</li><li><strong>Amazon SageMaker</strong>: Comprehensive platform for building, training, and deploying ML models.</li><li><strong>AWS Comprehend</strong>: NLP service that extracts meaning and insights from text.</li><li><strong>AWS Rekognition</strong>: Image and video analysis service for facial recognition, object detection, and more.</li><li><strong>AWS Kendra</strong>: Intelligent search service powered by machine learning.</li><li><strong>AWS Transcribe</strong>: Automatic speech-to-text service.</li><li><strong>AWS Polly</strong>: Converts text into lifelike speech.</li><li><strong>AWS Lex</strong>: For building conversational interfaces using voice and text (e.g., chatbots).</li></ol><h3>Compute for ML/AI:</h3><ol><li><strong>EC2 Instance Types</strong> for AI/ML:</li></ol><ul><li><strong>p4</strong> and <strong>p3</strong>: High-performance instances optimized for ML training with powerful GPUs (NVIDIA V100 or A100).</li><li><strong>Inf1</strong>: Optimized for inference, powered by AWS Inferentia chips, offering cost-efficient inference.</li><li><strong>Trn1 (Trainium)</strong>: Optimized for ML training, powered by AWS Trainium chips, providing <strong>energy-efficient</strong> training at scale. This is <strong>AWS’s greenest and most sustainable option</strong> for large ML training workloads.</li></ul><h3>Storage and Databases:</h3><ol><li><strong>Amazon S3</strong>: For storing and managing large datasets used in AI/ML training and inference.</li><li><strong>Amazon OpenSearch Service</strong>: For real-time search and analysis of large-scale data, useful in AI/ML scenarios requiring fast retrieval.</li></ol><h3>Security:</h3><ol><li><strong>IAM (Identity and Access Management)</strong>: Securely manage access and permissions to AI/ML resources.</li><li><strong>AWS CloudTrail</strong>: Logs all API calls to track activity within AI/ML environments.</li><li><strong>AWS Inspector</strong>: Automated security assessments to identify vulnerabilities in EC2 instances.</li><li><strong>AWS Trusted Advisor</strong>: Provides security and best practice recommendations, including for AI/ML services.</li></ol><h3>Networking:</h3><ol><li><strong>VPC endpoints:</strong> allow secure, private connections between your Amazon Virtual Private Cloud (VPC) and Amazon S3 without needing to traverse the public internet, enhancing security and reducing latency for machine learning applications that require frequent access to S3 storage. This setup enables seamless data retrieval for training and inference while maintaining the privacy of the data in your VPC.</li><li><strong>DataLinks:</strong> provide a way to facilitate secure and efficient data transfer between Amazon SageMaker and various data sources, including Amazon S3 and other AWS services. By leveraging DataLinks, machine learning models can easily access and utilize data stored in different locations, ensuring smooth data ingestion and integration into the training and inference pipelines while maintaining data security and compliance.</li></ol><h3>Compliance:</h3><ol><li><strong>AWS Artifact</strong>: Provides access to compliance reports for audits.</li><li><strong>AWS Audit Manager</strong>: Automates audit preparation for compliance needs related to AI/ML.</li></ol><h3>General AI Knowledge Required:</h3><ol><li><strong>AI Concepts</strong>: Parameters, hyperparameters, types of ML (supervised, unsupervised, self-supervised, reinforcement), general concepts for ML/AI/Deep Learning/Generative AI.</li><li><strong>ML Workflows</strong>: Training, tuning, deploying, and evaluating machine learning models.</li><li><strong>Model evaluation techniques:</strong> accuracy, precision, recall, F1 score, confusion matrix, <strong>BERTScore</strong> (measures semantic similarity between predicted and reference texts), <strong>ROUGE (Recall-Oriented Understudy for Gisting Evaluation)</strong> (compares the overlap of n-grams, word sequences, or word pairs between generated and reference texts), <strong>BLEU (Bilingual Evaluation Understudy)</strong> (measures how closely machine-generated text matches human reference translations, often used in machine translation tasks).</li><li><strong>Key AI/ML Areas</strong>: Natural language processing (NLP), computer vision, and basic deep learning concepts.</li><li><strong>Prompting techniques:</strong> Zero-shot prompting/One-shot prompting/Few-shot prompting/Chain-of-thought prompting/Instruction prompting etc</li><li><strong>Fine tuning:</strong> Adapting a large pre-trained model to a specific task by training it on a smaller, task-specific dataset, allowing the model to refine its general knowledge for improved performance on specialised tasks</li><li><strong>Retrieval-Augmented Generation (RAG):</strong> Retrieval of relevant external information with generative models to produce more accurate and context-aware responses by integrating both retrieved knowledge and the model’s own learned data.</li><li><strong>Ethical AI</strong>: principles and practices that ensure artificial intelligence systems are developed and used in a manner that is fair, transparent, and accountable. Key considerations include addressing bias in algorithms to prevent discrimination, ensuring transparency in AI decision-making processes, and enhancing interpretability so that users can understand and trust AI outputs, ultimately promoting responsible use of AI technologies.</li></ol><h3>Summary:</h3><p>The AWS Certified AI Practitioner is <strong>not the hardest certification</strong> in the AWS lineup, but <strong>general AWS knowledge won’t be enough</strong> to pass. You’ll need a solid understanding of AI/ML concepts along with key AWS services for machine learning and AI. I highly recommend supplementing your preparation with <strong>AWS training resources</strong>, including <strong>AWS Skill Builder</strong>, <strong>Twitch</strong> sessions, and <strong>Udemy</strong> courses to cover the necessary knowledge.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9462f0da01ef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ChatGPT, Reverse Engineering and defending Council Tax Liability]]></title>
            <link>https://medium.com/@belka.zver/chatgpt-reverse-engineering-and-defending-council-tax-liability-54475245b840?source=rss-e9c0eedd17bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/54475245b840</guid>
            <category><![CDATA[council-tax-debt]]></category>
            <category><![CDATA[law]]></category>
            <category><![CDATA[council-tax]]></category>
            <category><![CDATA[magistrates-court]]></category>
            <category><![CDATA[local-authority]]></category>
            <dc:creator><![CDATA[Iryna S.]]></dc:creator>
            <pubDate>Tue, 20 Aug 2024 00:02:04 GMT</pubDate>
            <atom:updated>2024-08-20T08:39:34.883Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l6Gj3oWeNELqrvFnQfQtLA.jpeg" /></figure><p>Hi everyone, today’s subject is a bit unusual for this blog — I’m sharing my story about Council Tax liability, or more precisely, how I successfully disputed Council Tax liability that was incorrectly assigned to the landlord, using ChatGPT and a reverse engineering approach. The property is not mine, and I will not name the landlord, the tenant, the local authority, or its employees.</p><p><strong>Disclaimer: This article does not constitute comprehensive legal advice, nor does it encourage avoiding liability when you are indeed liable. The bill in dispute was the responsibility of the tenant and was not the responsibility of the landlord whom I was helping. The article is applicable to England.</strong></p><p><strong>A bit of a background</strong>:</p><p>The Landlord is a lucky (or not so lucky) owner of a property they let out on a long-term basis. The Tenant moved into the property in 2019 under an Assured Shorthold Tenancy (AST) contract with a six-month fixed term, followed by a rolling month-to-month tenancy. The Tenancy was managed by an Agency that inspected the property every six months, handled direct communication with the Tenant, and was responsible for covering unpaid rent in case of the Tenant’s non-payment.</p><p>In November 2022, the property was inspected by the Agency, and issues were found related to the property use and maintenance. In December 2022, a Section 21 no-fault eviction notice was issued to the Tenant by the Agency on behalf of the Landlord. At the end of January 2023, the Tenant offered a substantial rent increase to remain in the property. The Landlord accepted the offer, and the Section 21 notice was withdrawn.</p><p>In April 2023, the Landlord was contacted by the Agency, which informed them about a missed rent payment and their attempts to get in touch with the Tenant. That same month, the Agency discovered that the Tenant was being held in custody. A Section 21 notice was issued to the Tenant, addressed to the prison where he was held, in May 2023. The notice expired in July 2023, the property was emptied by a representative of the Tenant, and the keys were returned to the Agency.</p><p>The property was empty from July 2023 until October 2023 when a new tenant moved in.</p><p><strong>The dispute:</strong></p><p>In February 2024 (hey, it’s been a while!) the Landlord received a Council tax bill for the property for the period between end of November 2022 till October 2023. The Landlord promptly got in touch with the Local Authority explaining that while he accepts liability between July 2023 and October 2023 as the property was empty the liability between November 2022 and July 2023 still lies with the former Tenant. The Landlord was asked to submit a copy of Tenants contract which the Landlord did. There was no response or acknowledgement from the Local Authority but there was another Council Tax payment overdue reminder in April 2024 and the Landlord tried to follow it up via the email but got no response.</p><p>In May 2024 the Landlord received court summons to Magistrates court for June 2024 with the Local Authority trying to put a liability order on them.</p><p><em>Things to bear in mind if you receive a magistrates’ court summons: a) It can be canceled at the last second, so it’s better to request an online hearing. b) If you decide to opt for an online hearing, double-check the email address for the request, as it may be incorrect. c) The summons I saw only mentioned two types of valid defences: 1. The debt has been paid in full, or 2. The Local Authority did not follow the correct procedure in issuing the bill, advertising council tax in a local newspaper, or other similar procedural errors. d) The summons I saw explicitly stated that “Whether you should pay the tax or whether the amount claimed is wrong” are NOT valid defences against a liability order (which raises the question of why it’s called a liability order if it only considers procedural errors as a valid defence unless the Local authority is trying to mislead you and force you to pay).</em></p><p>The Landlord has chased the Local Authority yet again to receive no meaningful response but a few days later they received a letter from the Local Authority and that’s when I stepped in and all the useful information starts :-)</p><p>I will not pull the full letter here but I will outline the key points:</p><ol><li>The Tenant has advised they moved out of the property at the end of November 2022</li><li>The Local Authority understands the Tenant was on a rolling contract</li><li>When the Tenant moves out of a property while being on a rolling contract the liability for Council tax falls on the owner/landlord. If there are no residents at a property, under Section 6 (2) (f) the ‘owner’ of the dwelling becomes liable. Section 6 (5) defines ‘owner’ as a person who has a ‘material interest’ in the property that is not subject to a material interest inferior to his interest. Section 6 (6) defines ‘material interest’ “material interest” as a freehold interest or a leasehold interest which was granted for a term of six months or more;</li><li>The High Court held that monthly periodic tenancy (that arises after the expiry of a fixed term by virtue of rent continuing to pass) was not a material interest; further, a periodic tenancy is a new tenancy and not a ‘continuation’ of the original contractual term.</li><li>For the decision to be reconsidered a proof of the Tenant still being on 6+ months fixed contract is required.</li></ol><p>The letter did not specify the source of the legislation, so I had to do some reverse engineering to decouple the statements and determine the origin of the data they were using to figure out what was happening, what they were trying to say and what reasoning they used.</p><p>My best friend Google led me to discover that Sections 6(2), 6(5), and 6(6) came from the Local Government Finance Act 1992 and defined council tax liability hierarchy. Essentially, it starts with the person who lives in the property and ends with the person who owns it. The ‘owner’ isn’t necessarily the legal owner but someone with a ‘material interest’ — meaning a right to occupy the property for at least six months. This typically refers to a fixed-term lease where Section 21 cannot be served, and the contract can only be terminated for a very limited number of reasons.</p><p>The scary reference to the High Court decision was from the case of <em>Genevieve Macattram v London Borough of Camden [2012]</em>. In summary, there was a three-year fixed-term contract with no provision for an extension beyond that term. Despite the property not being vacated and the rent being paid monthly, the absence of a formal continuation clause meant it was considered a new statutory month-to-month contract. This new arrangement did not grant the required ‘material interest,’ so even though the rent was paid, the council tax liability fell to the Landlord.</p><p>So in short, the Local Authority stated that as they believe that no one was living at the property and the Tenant was no longer bound by the fixed term the council tax liability fell to the Landlord as per <em>Macattram v London Borough of Camden [2012].</em></p><p>My reply was challenging 2 things:</p><ol><li>The Tenant moving out (changing the liability back to the occupier as per Local Government Finance Act 1992) — the Landlord attached copies of the rent increase negotiation emails from January 2023, a copy of the final Section 21 notice and a copy of the email from the Agency confirming the keys were returned in July 2023.</li><li>The relevance of <em>Macattram v London Borough of Camden [2012] case </em>to this tenancy — the original contract from 2019 had clear provisions to the tenancy to continue hence <a href="https://www.jbleitch.co.uk/news-insights/case-law-comment/leeds-city-council-v-broadley-2016/"><em>Leeds City Council v Broadley [2016]</em></a> case where it was agreed that tenancies which have a fixed term and then have provision to continue on the same contractual basis, until brought to an end in the normal way by notice, are single tenancies which meet the statutory definition of a material interest seem to be more recent and relevant (challenging who is the ‘owner’ with ‘material interest’ as per Local Government Finance Act 1992)</li></ol><p>The Local authority never acknowledged the email. The Landlord tried contacting them again on multiple occasions with limited luck and promises to prioritise the issue and I started exploring alternatives options to make them move. So how can you challenge the council?</p><p>There seem to be 2 non-court ways to do so:</p><ol><li>Appeal to Valuation Tribunal regarding Council tax liability. <br>While this option might seem attractive you must contact the council 1st (giving them 2 months to reply which they are in no hurry to do) and submit your appeal withing the 2 month of the response from the council or 4 months from contacting the council if there is no response. The whole process is estimated to take around 9 months and will refer to Local Government Finance Act 1992, <em>Macattram v London Borough of Camden [2012] </em>and<em> </em><a href="https://www.jbleitch.co.uk/news-insights/case-law-comment/leeds-city-council-v-broadley-2016/"><em>Leeds City Council v Broadley [2016]</em></a><em> </em>cases<em>. </em>While<em> </em>I was able to identify relevant decisions in Landlord’s favour by the Tribunal (APPEAL NUMBER: VT00007334, APPEAL NUMBER: VT00007251, APPEAL NUMBER: 4635M250457/283C/7, and APPEAL NUMBER: VT00002551) it didn’t help much at this stage. Even if you have a strong case the 9 months process gives your Local authority more than enough time to obtain liability orders against you.</li><li>Complain to Local Government &amp; Social Care Ombudsman.<br>This option seems good too but the same as with Valuation Tribunal it takes long time and requires you to follow your Council’s complaint procedure first.</li></ol><p>At this stage I thought that submitting a complaint is a great idea both as a preparation step for Ombudsman route and as a way to make them move a bit faster. So in June 2024 the Landlord raised a formal complaint for the lack of thorough and prompt investigation, poor communication, unprofessionalism and incompetence.</p><p>With the Magistrates Court hearing approaching the Landlord started calling the Local Authority almost daily asking to review the evidence and I started looking at additional ways to defend agains the liability order on top of the evidence the Landlord could submit. Did I find anything else? Oh yes! The case of <a href="https://england.shelter.org.uk/professional_resources/news_and_updates/council_tax_liability_orders_the_price_of_non_payment"><em>Nicolson, R (on the application of) v Tottenham Magistrates &amp; Anor</em> </a>[2015] when Reverend Paul Nicolson was ordered to pay £125 costs to Haringey Council for obtaining a liability order and the High Court held that the Magistrates’ Court did not have access to sufficient information to make a determination on liability order costs in Nicolson’s case and failed to enquire into whether the costs were reasonable. This case seemed particularly useful to quash a liability order in a scenario it was to be made.</p><p>However I wasn’t able to test this case with Magistrates as the Local Authority decided to withdraw court summons as the evidence was still under review. To be fair I was about to celebrate a relatively easy victory but then another letter from the Local Authority arrived in June 2024. Upon reading the letter I started having serious doubts if I was communicating with real people and if anything of what I wrote and sent so far was read.</p><p>The letter was almost identical to the one before:</p><ol><li>The Tenant moved out in November 2022</li><li>You haven’t provided a fixed term contract</li></ol><p>But at least this time the letter suggested a formal objection procedure.</p><p>So I had to compose another super detailed email which again would dispute the Tenant moving out (higher hierarchy of liability per Local Government Finance Act 1992 ), the Tenant being on a statutory contract (lower hierarchy of liability per Local Government Finance Act 1992), adding Class D exemptions for prisoners (removing Council tax liability altogether).</p><p>Again, I will not post the whole letter here but will outline the key points:</p><ol><li>Credibility of the Tenant’s claim and any proof that they left in November 2022 despite negotiating rent increase in January 2023 and paying rent for months for “unoccupied property’ being required to give just 1 month notice</li><li>Class D exemption from The Council Tax (Exempt Dwellings) Order 1992 should be applied as the property still remained in the tenant’s exclusive possession even if he was in prison and that’s his evidence for not occupying the property.</li><li>The council appears to be under the false impression that tenants are only liable for council tax under two circumstances: either while they are physically occupying the property or if they are bound by a fixed-term contract. <br>The council further asserts that any tenancy continuing past the initial fixed term is a new statutory rolling tenancy, wherein the landlord is liable for council tax if the tenant does not occupy the property, even if rent is still being paid, as per <em>Genevieve Macattram v London Borough of Camden [2012]</em>. <br>It must be noted that in that case, there was <strong>no provision made for the tenancy to continue</strong> past the fixed term and as a result, a new statutory contract was formed for the subsequent periodic tenancy.</li><li>The original tenancy agreement clearly stated that the tenancy would <strong>continue</strong> on a rolling basis after the initial fixed term, rather than creating a new tenancy. Specifically, the tenancy agreement clearly states that “where the tenancy becomes a periodic tenancy at the end of the fixed term period…”. The tenancy didn’t automatically terminate at the end of the initial 6 months; instead, it’s been stipulated that the tenancy will <strong>continue</strong> unless a notice is served by either party and <strong>should the tenant not wish to remain in the property after the fixed term a prior notice to quit</strong> <strong>must be given and should notice to vacate not be issued by either tenant or Landlord a periodic tenancy will continue after the expiration of the original term</strong>. Therefore, the contract explicitly provided for the continuation of the tenancy, establishing a tenancy for a <strong>minimum of 6 months</strong> — a single grant — following the initial fixed term.</li><li>This periodic tenancy constituted a <strong>continuous grant of tenancy for six months or more</strong> and the same initial deposit has been preserved through the whole tenancy, both fixed and periodic parts of it, and was only returned after the formal termination in July 2023. The tenancy remained in effect until July 2023 when it was officially terminated by the expiry of the Section 21 notice and the keys being returned to the estate agent; no notice was ever given by the Tenant themselves. Additionally, as per the tenancy agreement, the Tenant agreed to pay council tax during the whole tenancy; the subsequent periodic tenancy was explicitly mentioned as well, which shows that both parts of the tenancy had the same terms.</li><li>According to the provisions of the Local Government Finance Act 1992, the tenant is liable for council tax when there is a material interest granted for six months or more. This is further supported by the <em>Leeds City Council v Broadley [2016] case</em>, where the Court of Appeal concluded that the fixed term and contractual periodic tenancies constituted a single grant. Therefore, the tenant should be held responsible for the council tax liabilities incurred during their tenancy, <strong>regardless of whether the property was occupied</strong> during these periods.</li><li>Similar <a href="https://appealsearch.valuationtribunal.gov.uk/Home/Index">appeals</a> heard by the Tribunal, such as APPEAL NUMBER: VT00007334, APPEAL NUMBER: VT00007251, APPEAL NUMBER: 4635M250457/283C/7, and APPEAL NUMBER: VT00002551, all deciding in landlords’ favour.</li><li>Links to <a href="https://england.shelter.org.uk/professional_resources/legal/debt/council_tax_liability_after_a_tenant_moves_out">Shelter’s Professional Resources</a> and <a href="https://painsmith.co.uk/statutory-periodic-vs-contractual-periodic/">PainSmith solicitors</a> explanations on tenancies and council tax liability.</li></ol><p>You will not believe but the Landlord received court summons again, this time for August 2024 :-D At this stage the Landlord was able to escalate the complaint we raised in June and kept chasing the Local Authority.</p><p>Finally in July 2024 the court summons were withdrawn and the Council tax bill was adjusted to cover only the truly empty property period between July 2023 and October 2023. The Landlord also received an apology letter :-)</p><p><strong>Summary:</strong></p><p>I don’t know what played the final part in it :-D The main difference between my 2 emails was having more details in the second one and mentioning Class D exemption for prisoners. Considering the Local Authority was persuaded the Tenant wasn’t in the property but refused to supply any evidence I tend to think that was the case.</p><p>So! If you are in unlucky situation where your tenant left you with council tax debt make sure to check the tenancy agreement:</p><ol><li>If it has words “statutory” in it or it has no provisions for continuation after the fixed term or no fixed term at all — unfortunately you’ll have to pay unless you can prove they didn’t move out.</li><li>If you are sure it was a contractual rolling tenancy keep pushing for <em>Leeds City Council v Broadley [2016] case </em>to be applied, also include Valuation Tribunal decisions I’ve listed above.</li></ol><p>Keep all the correspondence and log all the calls. <br>Carefully read the letters and google anything that isn’t clear, it can help you to understand the reasoning behind the words and structure your defence.<br>Consider using an Agency as it gives you an extra witness/proofs. <br>Consider having Landlord insurance with Legal cover.<br>Don’t be intimidated by the scary legal language and don’t let them put pressure on you.<br>Consider using your Local Authority complaints procedure.<br>If it does get to Magistrates Court try Nicolson case (and let me know how it went!).</p><p>PS. What about ChatGPT being mentioned in the title? Well, all the emails I sent to the Local Authority were composed by ChatGPT, I was simply giving it the facts and asking to word it nicely :-D</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54475245b840" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating restricted and unrestricted SFTP users for AWS Transfer Family in Terraform]]></title>
            <link>https://medium.com/@belka.zver/creating-restricted-and-unrestricted-sftp-users-for-aws-transfer-family-in-terraform-342202ab4d2e?source=rss-e9c0eedd17bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/342202ab4d2e</guid>
            <category><![CDATA[aws-transfer]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[sftp]]></category>
            <category><![CDATA[terraform]]></category>
            <dc:creator><![CDATA[Iryna S.]]></dc:creator>
            <pubDate>Tue, 27 Feb 2024 15:46:19 GMT</pubDate>
            <atom:updated>2024-02-27T16:00:43.707Z</atom:updated>
            <content:encoded><![CDATA[<p>This article is about my adventure of getting AWS Transfer Family and Terraform to play nice together. While it’s not overly difficult to set it up I had to figure out how to create a bunch of SFTP users with their own special tweaks and corresponding IAM policies. I couldn’t find a suitable code sample online (yes, we all love to cut corners!) so I ended up writing my own and hope it will help others facing the same use case.</p><p>What is needed to set up an SFTP user? A bare to minimum to create an <a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/transfer_user">aws_transfer_user</a> would be a username, an IAM role, the ID of the Transfer Server and the credentials (in my case I was using ssh keys which are created as a separate resource). On top of that you can specify a Home Directory and that’s where the fun begins.</p><p>First of all we need to understand home directory type:</p><p>The type of landing directory (<a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/transfer_user#home_directory_type">home_directory_type</a>) defines what you want your users’ home directory to be when they log in to the server. If you set it to PATH, the user will see the absolute Amazon S3 bucket or Amazon EFS path as is in their file transfer protocol clients. With this type you use <a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/transfer_user#home_directory">home_directory</a> argument to specify the actual directory.</p><p>LOGICAL type requires <a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/transfer_user#home_directory_mappings">home_directory_mappings</a> argument that specify what Amazon S3 or Amazon EFS paths and keys should be visible to your user and how you want to make them visible. You must specify the <a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/transfer_user#entry">entry</a> and <a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/transfer_user#target">target</a> pair, where <a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/transfer_user#entry">entry</a> shows how the path is made visible and <a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/transfer_user#target">target</a> is the actual Amazon S3 or Amazon EFS path. If you only specify a target, it is displayed as is. You also must ensure that your AWS Identity and Access Management (IAM) role provides access to paths in <a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/transfer_user#target">target</a>. This value can be set only when <a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/transfer_user#home_directory_type">home_directory_type</a> is set to LOGICAL.</p><p>When you create users in AWS console a home directory can also be set to “Restricted” so your users will not be able to access anything outside of that folder, nor will they be able to see the S3 bucket or folder name.</p><p>Terraform doesn’t have an explicit “Restricted” argument for <a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/transfer_user#home_directory_type">home_directory_type</a> resource but my understanding is that the was to restrict the access is to useLOGICAL home directory type with <a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/transfer_user#home_directory_mappings">home_directory_mappings</a>.</p><p>To put it simple:</p><p>If <a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/transfer_user#home_directory_type">home_directory_type</a> is LOGICAL, you must provide mappings using the <a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/transfer_user#home_directory_mappings">home_directory_mappings</a> argument and this allows you to restrict user access. If <a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/transfer_user#home_directory_type">home_directory_type</a> is set toPATH, you provide an absolute path using the <a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/transfer_user#home_directory">home_directory</a> argument. You cannot have both <a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/transfer_user#home_directory">home_directory</a> and <a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/transfer_user#home_directory_mappings">home_directory_mappings</a> in your code.</p><p>My use case:</p><p>For my AWS Transfer server I needed to add a mix of restricted and unrestricted users with different home directories which required some extra logic for <a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/transfer_user">aws_transfer_user</a> resource and corresponding <a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/transfer_user">aws_iam_policy_document</a>.</p><p>The way I’m passing users:</p><pre>variable &quot;sftp_users&quot; {<br>  type = map(object({<br>    home_directory = string<br>    public_key     = string<br>    restricted     = bool<br>  }))<br>  default     = {}<br>  description = &quot;List of SFTP usernames, public keys and home directories. The keys `public_key`, `restricted` and `home_directory` are required. If `restricted` is set to true a valid home directory must be set. If home directory is not required an empty string should be passed.&quot;<br>}</pre><p>Probably not the most elegant solution but it enables me to pass all the required users inside one variable allowing different user configuration at the same time, if an unrestricted user is required restricted should be set to <strong>false</strong> and &quot;&quot; should be passed instead of the home_directory if it’s not need, for restricted usersrestricted should be set to <strong>true</strong> and a valid home_directory must be specified.</p><p>How the users are created:</p><pre>resource &quot;aws_transfer_user&quot; &quot;transfer_user&quot; {<br>  for_each = var.sftp_users<br><br>  role                = aws_iam_role.s3_access_for_sftp_users[each.key].arn<br>  server_id           = aws_transfer_server.aws_transfer_server.id<br>  user_name           = each.key<br>  home_directory_type = each.value.restricted ? &quot;LOGICAL&quot; : &quot;PATH&quot;<br>  home_directory      = each.value.restricted == false ? &quot;/${aws_s3_bucket.s3_bucket.arn}/${each.value.home_directory}&quot; : null<br><br>  dynamic &quot;home_directory_mappings&quot; {<br>    for_each = each.value.restricted == true ? (<br>      [<br>        {<br>          entry  = &quot;/&quot;<br>          target = &quot;/${aws_s3_bucket.s3_bucket.bucket}/${each.value.home_directory}&quot;<br>        }<br>      ]<br>    ) : toset([])<br><br>    content {<br>      entry  = lookup(home_directory_mappings.value, &quot;entry&quot;)<br>      target = lookup(home_directory_mappings.value, &quot;target&quot;)<br>    }<br>  }<br>}</pre><p>I’m using restricted field from users variable to set LOGICAL type for restricted users and PATH for unrestricted, same logic is used to set <a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/transfer_user#home_directory_type">home_directory_type</a> for unrestricted users that will be either the S3 bucket itself or a valid <a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/transfer_user#home_directory_type">home_directory</a> from users variable or <a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/transfer_user#home_directory_mappings">home_directory_mappings</a> for restricted users.</p><p>How IAM policies are created:</p><pre>data &quot;aws_iam_policy_document&quot; &quot;s3_access_for_sftp_users&quot; {<br>  for_each = var.sftp_users<br>  dynamic &quot;statement&quot; {<br>    for_each = each.value.restricted == true ? [each.value.restricted] : []<br>    content {<br>      sid    = &quot;AllowReadAccessRestricted&quot;<br>      effect = &quot;Allow&quot;<br>      actions = [<br>        &quot;s3:ListBucket&quot;,<br>        &quot;S3:GetBucketLocation&quot;,<br>        &quot;S3:GetObject&quot;,<br>        &quot;S3:GetObjectVersion&quot;<br>      ]<br>      resources = [<br>        aws_s3_bucket.s3_bucket.arn,<br>        &quot;${join(&quot;&quot;, aws_s3_bucket.s3_bucket.arn)}/${each.value.home_directory}/*&quot;<br>      ]<br>    }<br>  }<br>  dynamic &quot;statement&quot; {<br>    for_each = each.value.restricted == false ? [each.value.restricted] : []<br>    content {<br>      sid    = &quot;AllowReadAccessWholeBucket&quot;<br>      effect = &quot;Allow&quot;<br><br>      actions = [<br>        &quot;s3:ListBucket&quot;,<br>        &quot;S3:GetBucketLocation&quot;,<br>        &quot;S3:GetObject&quot;,<br>        &quot;S3:GetObjectVersion&quot;<br>      ]<br><br>      resources = [<br>        aws_s3_bucket.s3_bucket.arn,<br>        &quot;${aws_s3_bucket.s3_bucket.arn}/*&quot;<br>      ]<br>    }<br>  }<br>}</pre><p>I’m using dynamic blocks to populate the policy, same as with users I’m relying on restricted field from users variable and either restrict access to <a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/transfer_user#home_directory_type">home_directory</a> (<em>sid = “AllowReadAccessRestricted”</em>) for restricted users or grant access to the whole bucket (<em>sid = “AllowReadAccessWholeBucket”</em>) for unrestricted.</p><p>Hope people will find this article useful and it will help others to save time solving the same issue.</p><p>Thanks a lot for reading, if you have any questions please leave a comment and I’ll try to answer ASAP :-)</p><p>Further reading:</p><ul><li><a href="https://docs.aws.amazon.com/transfer/latest/userguide/API_CreateAccess.html">CreateAccess</a></li><li><a href="https://aws.amazon.com/blogs/storage/simplify-your-aws-sftp-structure-with-chroot-and-logical-directories/">Simplify your AWS SFTP Structure with chroot and logical directories | Amazon Web Services</a></li><li><a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/transfer_user">Terraform Registry</a></li><li><a href="https://developer.hashicorp.com/terraform/language/expressions/dynamic-blocks">Dynamic Blocks - Configuration Language | Terraform | HashiCorp Developer</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=342202ab4d2e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Terraform Logarithm function deep dive]]></title>
            <link>https://medium.com/@belka.zver/terraform-logarithm-function-deep-dive-7a4978a2cd5f?source=rss-e9c0eedd17bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/7a4978a2cd5f</guid>
            <category><![CDATA[logarithm]]></category>
            <category><![CDATA[rtfm]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[binary-representation]]></category>
            <dc:creator><![CDATA[Iryna S.]]></dc:creator>
            <pubDate>Sun, 12 Mar 2023 22:45:02 GMT</pubDate>
            <atom:updated>2023-03-12T22:48:12.956Z</atom:updated>
            <content:encoded><![CDATA[<p>Recently I’ve been preparing some internal training on terraform functions and came round the most unexpected Logarithm function. My first thought was who on the Earth might want to use terraform to calculate logarithms or is it just a cool feature for parents helping children with homework? Nevertheless it was on the list so I decided to include it in my slides but first of all I needed to understand the purpose and the use of it myself.</p><p>A quick reminder of what a logarithm is:</p><p>In <a href="https://en.wikipedia.org/wiki/Mathematics">mathematics</a>, the <strong>logarithm</strong> is the <a href="https://en.wikipedia.org/wiki/Inverse_function">inverse function</a> to <a href="https://en.wikipedia.org/wiki/Exponentiation">exponentiation</a>. That means the logarithm of a <strong>number</strong> <em>x</em> to the <strong>base</strong> <em>b</em> is the <a href="https://en.wikipedia.org/wiki/Exponent">exponent</a> to which <em>b</em> must be raised, to produce <em>x</em>. For example, since 1000 = 10^3, the <em>logarithm base</em> 10 of 1000 is 3, or log10 (1000) = 3.</p><p>How is the function described in Terraform docs:</p><p>log returns the logarithm of a given number in a given base.</p><p>The syntax is <strong>log(number, base)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/1*-ay6qjOZzed_8-x99_k5EQ.png" /></figure><p>This seem to look ok but what are the use cases? Further down the line it suggests to use log and ceil together to find the <strong>minimum number of binary digits</strong> required to represent a given number of distinct values or to put it simple you can find out how many bits you’ll need to write a decimal number. Considering Terraform is supporting multiple providers there is a possibility that you might want to do it so let’s take a closer look at log and ceil combination.</p><p>ceil returns the closest whole number that is greater than or equal to the given value, which may be a fraction — basically it rounds the number UP to the next whole number</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/448/1*hQBinEBjSgyWcRUEF3dIoQ.png" /></figure><p>Let’s put them together:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/364/0*Uwi-90hS7SAwMnjp" /></figure><p>Let’s check if the results are correct:</p><p>Binary of 15–1111–4 bits</p><p>Binary of 16<strong>–10000–5 </strong>bits — WAIT??!! That doesn’t look right!</p><p>Binary of 17–10001–5 bits</p><p>At this point I got very confused and went back to Wikipedea:</p><p>“The number of digits (<a href="https://en.wikipedia.org/wiki/Bit">bits</a>) in the <a href="https://en.wikipedia.org/wiki/Binary_representation">binary representation</a> of a positive integer <em>n</em> is the <a href="https://en.wikipedia.org/wiki/Floor_and_ceiling_functions">integral part</a> of 1 + log2 <em>n</em>, i.e.</p><p>Historically, the <strong>floor</strong> of <em>x</em> has been–and still is–called the <strong>integral part</strong> or <strong>integer part</strong> of <em>x.”</em></p><p>Which means that terraform example was always rounding the logarithm up to the next whole number expecting that it should be enough but this logic clearly fails for a number of scenarios and even for 1 as a given number (where the logarithm will be 0 for any base)— while ceil function would return 0 back it clearly needs 1 bit to write it. The approach described on Wikipedia seems to make more sense — instead of rounding the result <strong>up</strong> you round it <strong>down</strong> and add +1 to it.</p><p>Let’s retest:</p><p>floor returns the closest whole number that is less than or equal to the given value, which may be a fraction</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/408/0*s5msNtpa3zvNtqGu" /></figure><p>This time our binary of 16 is 5 as it should be and “1&quot; scenario seems to be working fine as well.</p><p>The conclusion:</p><p>In the unlikely scenario you need to find the minimum number of binary digits required to represent a given number of distinct values using terraform you need to use log and floor functions together and add +1 to the result.</p><p>Hope you found this article entertaining and if you want to know more you can visit the links below :-)</p><p>Resources used:</p><p><a href="https://developer.hashicorp.com/terraform/language/functions/log">https://developer.hashicorp.com/terraform/language/functions/log</a><br><a href="https://developer.hashicorp.com/terraform/language/functions/ceil">https://developer.hashicorp.com/terraform/language/functions/ceil</a><br><a href="https://developer.hashicorp.com/terraform/language/functions/floor">https://developer.hashicorp.com/terraform/language/functions/floor</a><br><a href="https://en.wikipedia.org/wiki/Logarithm">https://en.wikipedia.org/wiki/Logarithm</a><br><a href="https://en.wikipedia.org/wiki/Binary_logarithm">https://en.wikipedia.org/wiki/Binary_logarithm</a><br><a href="https://en.wikipedia.org/wiki/Binary_number">https://en.wikipedia.org/wiki/Binary_number</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7a4978a2cd5f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fargate Spot — Quick overview and set up using Terraform]]></title>
            <link>https://medium.com/@belka.zver/fargate-spot-quick-overview-and-set-up-using-terraform-a4974b1ae8f?source=rss-e9c0eedd17bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/a4974b1ae8f</guid>
            <category><![CDATA[best-practices]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[ecs-fargate]]></category>
            <category><![CDATA[cost-savings]]></category>
            <dc:creator><![CDATA[Iryna S.]]></dc:creator>
            <pubDate>Wed, 09 Mar 2022 15:28:59 GMT</pubDate>
            <atom:updated>2023-01-05T16:48:53.227Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Fargate Spot — Quick overview and set up using Terraform</strong></h3><h3>What is Fargate Spot?</h3><p>Fargate Spot allows customers to run interrupt-tolerant Amazon ECS Tasks on spare capacity at up to a 70% discount off the regular Fargate price. With Fargate Spot, you pay the Spot price that is in effect for the time period your Amazon ECS Tasks are running. Fargate Spot prices are set by AWS Fargate and adjust gradually based on long-term trends in supply and demand for Fargate Spot capacity.</p><p>Pricing is based on requested vCPU, memory, and storage (eu-west-1):</p><p>Fargate: per vCPU per hour — $0.04048 / per GB per hour — $0.004445</p><p>Fargate Spot: per vCPU per hour — $0.012144/ per GB per hour — $0.0013335</p><p>When configuring your Service Autoscaling policy, you can specify the minimum number of regular tasks that should run at all times and then add tasks running on Fargate Spot to improve service performance in a cost-efficient way. When the capacity for Fargate Spot is available, the Scheduler will launch tasks to meet your request. If the capacity for Fargate Spot stops being available, Fargate Spot will scale down, while maintaining the minimum number of regular tasks to ensure the application’s availability.</p><h3>How does it work?</h3><p>First, you need to include Fargate Spot as a capacity provider for a cluster:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vftO7NVIeCuOzYBm" /></figure><p>*<em>Setting a default strategy on the cluster means that if a task or service gets deployed to the cluster without a strategy or launch type set, it will default to this</em></p><p>For a service you can additionally configure weight and base to specify the exact amount of Fargate and Fargate Spot tasks:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*M_i1JZ7wwb-tEwtG" /></figure><p>Weight setting means that for each Fargate task (weight=1) it will place 2 Fargate Spot tasks (weight=2), however specifying the base as well has a higher priority and enforces having at least 2 Fargate tasks before launching any Fargate Spot tasks. Any additional tasks on top of the base number would be split between Fargate and Fargate-Spot in 1:2 ratio. In this example we will have 2 Fargate and 1 Fargate-Spot tasks.</p><h3>Using Fargate Spot with autoscaling:</h3><p>If there is a scaling event any change for the number of the tasks will follow the Fargate:Fargate-Spot ratio set for the service/cluster.</p><p>NOTE: Having a “base” number set does not overwrite min/max/desired count settings.</p><p>NOTE: While you can allocate a task base count and ratio amongst Spot and On-Demand Fargate tasks, it is not possible to fall back to an On-Demand Fargate task if a Spot Fargate task cannot be provisioned. If the Capacity Provider Strategy dictates that a Spot task is to be started next, and there is no Spot capacity available, the task launch will be blocked until capacity is available again</p><p><em>*MIN: This will be the minimum number of instances that must run and auto scale group will never terminate instances below this number.</em></p><p><em>*DESIRED: If there is a scale up/down event the auto scaler will change the desired count to a specified higher/lower number and will start new or terminate existing instances to match it.</em></p><p><em>*MAX: This will be the maximum number of instances that you can run in your auto scale group and your auto scale group will never create more instances than the maximum amount specified.</em></p><h3>Use cases:</h3><p>You can use auto scaling policies to provision extra tasks in Fargate-Spot to boost performance during peak hours either using a manual scheduler or CloudWatch alarms.</p><p>You can potentially entirely replace dev/test/feature environments with Fargate Spot.</p><p>You can use Fargate Spot to boost performance during testing</p><h3>Termination:</h3><p>By design, Fargate Spot is an interruptible service. When tasks using Fargate Spot are stopped due to a Spot interruption, a two-minute warning is sent before a task is stopped.</p><p>The warning is sent as a task state change event to Amazon EventBridge and a SIGTERM signal to the running task. When using Fargate Spot as part of a service, the service scheduler will receive the interruption signal and attempt to launch additional Tasks on Fargate Spot if capacity is available.</p><p>To ensure that your containers exit gracefully before the Task stops, the following can be configured:</p><p>A stopTimeout value of 120 seconds (2 minutes) or less can be specified in the container definition that the task is using. Specifying a stopTimeout value gives us time between the moment the Task state change event is received and the point at which the container is forcefully stopped.</p><p>The SIGTERM signal must be received from within the container to perform any cleanup actions.</p><p>NOTE:</p><p>On February 13, 2023, Amazon Elastic Container Service (Amazon ECS) will release improvements to the ELB deregistration process for Fargate Spot tasks receiving Spot termination notices. Amazon ECS will now deregister your task running on Fargate Spot before issuing a SIGTERM message to inform the task that it needs to stop, making your application more resilient to spot termination events.</p><p>Previously, in the case of a Spot termination, tasks that were part of service that use the Fargate Spot capacity provider were not guaranteed to be deregistered from ELB prior to being terminated. To ensure that tasks have the opportunity to gracefully stop before being forcibly terminated in case of a Spot termination, ensure that services that use the Fargate Spot capacity provider are configured with a deregistration delay less than 120 seconds. Furthermore, you should ensure that the container stopTimeout in the task definition is configured to be greater than the deregistration delay.</p><h3>Best practices:</h3><p>Fargate Spot is great for stateless, fault-tolerant workloads, don’t rely solely on Spot Tasks for critical workloads, configure a mix of regular Fargate Tasks</p><p>Applications running on Fargate Spot should be fault-tolerant</p><p>Handle interruptions gracefully by catching SIGTERM signals</p><p>Use CloudWatch alarms for auto scaling and handling spikes in utilisation</p><h3>If you’d like to know more please visit:</h3><p>AWS Fargate capacity providers:</p><p><a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-capacity-providers.html">https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-capacity-providers.html</a></p><p><a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-capacity-providers.html#fargate-capacity-providers-existing-cluster">https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-capacity-providers.html#fargate-capacity-providers-existing-cluster</a></p><p>Deep dive into Fargate Spot to run your ECS Tasks for up to 70% less:</p><p><a href="https://aws.amazon.com/blogs/compute/deep-dive-into-fargate-spot-to-run-your-ecs-tasks-for-up-to-70-less/">https://aws.amazon.com/blogs/compute/deep-dive-into-fargate-spot-to-run-your-ecs-tasks-for-up-to-70-less/</a></p><p>AWS Fargate Pricing:</p><p><a href="https://aws.amazon.com/fargate/pricing/">https://aws.amazon.com/fargate/pricing/</a></p><p>Terraform documentation:</p><p><a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_service#capacity_provider_strategy">https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_service#capacity_provider_strategy</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a4974b1ae8f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>