<?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 Soumya Biswas on Medium]]></title>
        <description><![CDATA[Stories by Soumya Biswas on Medium]]></description>
        <link>https://medium.com/@soumyabiswas37?source=rss-699f0c4c51df------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*vPDgHUDg7j1GqDYf2B4Ijg.jpeg</url>
            <title>Stories by Soumya Biswas on Medium</title>
            <link>https://medium.com/@soumyabiswas37?source=rss-699f0c4c51df------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 21:30:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@soumyabiswas37/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[Configuring GitLab CI/CD to connect with Terraform Cloud to execute terraform code for different…]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://blog.stackademic.com/configuring-gitlab-ci-cd-to-connect-with-terraform-cloud-to-execute-terraform-code-for-different-0852dddcd8a6?source=rss-699f0c4c51df------2"><img src="https://cdn-images-1.medium.com/max/2600/1*X41nRnKLMMb0dI0R0pWa3w.png" width="2786"></a></p><p class="medium-feed-snippet">Introduction:</p><p class="medium-feed-link"><a href="https://blog.stackademic.com/configuring-gitlab-ci-cd-to-connect-with-terraform-cloud-to-execute-terraform-code-for-different-0852dddcd8a6?source=rss-699f0c4c51df------2">Continue reading on Stackademic »</a></p></div>]]></description>
            <link>https://blog.stackademic.com/configuring-gitlab-ci-cd-to-connect-with-terraform-cloud-to-execute-terraform-code-for-different-0852dddcd8a6?source=rss-699f0c4c51df------2</link>
            <guid isPermaLink="false">https://medium.com/p/0852dddcd8a6</guid>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[terraform-cloud]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Soumya Biswas]]></dc:creator>
            <pubDate>Sat, 28 Feb 2026 18:42:17 GMT</pubDate>
            <atom:updated>2026-03-06T07:38:33.326Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Configuring GitLab CI/CD to connect with Terraform Cloud to execute terraform code]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://aws.plainenglish.io/configuring-gitlab-ci-cd-to-connect-with-terraform-cloud-to-execute-terraform-code-f338eb916c6f?source=rss-699f0c4c51df------2"><img src="https://cdn-images-1.medium.com/max/1400/1*tgSITR6jg0zrvAuhREKO0g.jpeg" width="1400"></a></p><p class="medium-feed-link"><a href="https://aws.plainenglish.io/configuring-gitlab-ci-cd-to-connect-with-terraform-cloud-to-execute-terraform-code-f338eb916c6f?source=rss-699f0c4c51df------2">Continue reading on AWS in Plain English »</a></p></div>]]></description>
            <link>https://aws.plainenglish.io/configuring-gitlab-ci-cd-to-connect-with-terraform-cloud-to-execute-terraform-code-f338eb916c6f?source=rss-699f0c4c51df------2</link>
            <guid isPermaLink="false">https://medium.com/p/f338eb916c6f</guid>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[terraform-cloud]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Soumya Biswas]]></dc:creator>
            <pubDate>Sun, 25 Jan 2026 15:34:02 GMT</pubDate>
            <atom:updated>2026-01-30T05:11:55.701Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Terraform cloud to execute terraform code for seamless infrastructure building]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://aws.plainenglish.io/terraform-cloud-to-execute-terraform-code-for-seamless-infrastructure-building-7606c8a64b02?source=rss-699f0c4c51df------2"><img src="https://cdn-images-1.medium.com/max/1920/1*peYuUK38FZqO3EITQczGPQ.jpeg" width="1920"></a></p><p class="medium-feed-link"><a href="https://aws.plainenglish.io/terraform-cloud-to-execute-terraform-code-for-seamless-infrastructure-building-7606c8a64b02?source=rss-699f0c4c51df------2">Continue reading on AWS in Plain English »</a></p></div>]]></description>
            <link>https://aws.plainenglish.io/terraform-cloud-to-execute-terraform-code-for-seamless-infrastructure-building-7606c8a64b02?source=rss-699f0c4c51df------2</link>
            <guid isPermaLink="false">https://medium.com/p/7606c8a64b02</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[terraform-cloud]]></category>
            <dc:creator><![CDATA[Soumya Biswas]]></dc:creator>
            <pubDate>Sun, 18 Jan 2026 11:01:04 GMT</pubDate>
            <atom:updated>2026-01-30T05:28:08.772Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Handling multiple user creation in Linux host with Ansible]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://blog.stackademic.com/handling-multiple-user-creation-in-linux-host-with-ansible-ef361bc8f676?source=rss-699f0c4c51df------2"><img src="https://cdn-images-1.medium.com/max/1200/1*ZwiRNrvWWHHolnRFZLA28Q.jpeg" width="1200"></a></p><p class="medium-feed-link"><a href="https://blog.stackademic.com/handling-multiple-user-creation-in-linux-host-with-ansible-ef361bc8f676?source=rss-699f0c4c51df------2">Continue reading on Stackademic »</a></p></div>]]></description>
            <link>https://blog.stackademic.com/handling-multiple-user-creation-in-linux-host-with-ansible-ef361bc8f676?source=rss-699f0c4c51df------2</link>
            <guid isPermaLink="false">https://medium.com/p/ef361bc8f676</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[ansible]]></category>
            <dc:creator><![CDATA[Soumya Biswas]]></dc:creator>
            <pubDate>Sun, 28 Dec 2025 10:27:07 GMT</pubDate>
            <atom:updated>2026-01-30T05:28:22.404Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Setting up Ansible Automation Platform on EC2 instance]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://aws.plainenglish.io/setting-up-ansible-automation-platform-on-ec2-instance-a6208b86790a?source=rss-699f0c4c51df------2"><img src="https://cdn-images-1.medium.com/max/620/1*ayJa9JYONZBYGpipd8wrtQ.png" width="620"></a></p><p class="medium-feed-link"><a href="https://aws.plainenglish.io/setting-up-ansible-automation-platform-on-ec2-instance-a6208b86790a?source=rss-699f0c4c51df------2">Continue reading on AWS in Plain English »</a></p></div>]]></description>
            <link>https://aws.plainenglish.io/setting-up-ansible-automation-platform-on-ec2-instance-a6208b86790a?source=rss-699f0c4c51df------2</link>
            <guid isPermaLink="false">https://medium.com/p/a6208b86790a</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[ansible]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Soumya Biswas]]></dc:creator>
            <pubDate>Sat, 29 Nov 2025 16:40:24 GMT</pubDate>
            <atom:updated>2026-01-14T14:32:43.456Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Creation of Azure Resources, Deploy Jenkins Application to VM and access Jenkins application with…]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://aws.plainenglish.io/creation-of-azure-resources-and-access-jenkins-application-with-azure-firewall-public-ip-2945c6693c8a?source=rss-699f0c4c51df------2"><img src="https://cdn-images-1.medium.com/max/1030/1*_N1Fee7t09-4bhkq5uDqNA.png" width="1030"></a></p><p class="medium-feed-snippet">Introduction:</p><p class="medium-feed-link"><a href="https://aws.plainenglish.io/creation-of-azure-resources-and-access-jenkins-application-with-azure-firewall-public-ip-2945c6693c8a?source=rss-699f0c4c51df------2">Continue reading on AWS in Plain English »</a></p></div>]]></description>
            <link>https://aws.plainenglish.io/creation-of-azure-resources-and-access-jenkins-application-with-azure-firewall-public-ip-2945c6693c8a?source=rss-699f0c4c51df------2</link>
            <guid isPermaLink="false">https://medium.com/p/2945c6693c8a</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[azure]]></category>
            <dc:creator><![CDATA[Soumya Biswas]]></dc:creator>
            <pubDate>Tue, 11 Nov 2025 12:18:59 GMT</pubDate>
            <atom:updated>2026-04-23T17:58:41.426Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Installing Cloud Watch agent in Windows and Linux machines]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://aws.plainenglish.io/installing-cloud-watch-agent-in-windows-and-linux-machines-84bc63a7d87e?source=rss-699f0c4c51df------2"><img src="https://cdn-images-1.medium.com/max/817/1*RQwx7ITmEv8XnFupUw96Jw.png" width="817"></a></p><p class="medium-feed-link"><a href="https://aws.plainenglish.io/installing-cloud-watch-agent-in-windows-and-linux-machines-84bc63a7d87e?source=rss-699f0c4c51df------2">Continue reading on AWS in Plain English »</a></p></div>]]></description>
            <link>https://aws.plainenglish.io/installing-cloud-watch-agent-in-windows-and-linux-machines-84bc63a7d87e?source=rss-699f0c4c51df------2</link>
            <guid isPermaLink="false">https://medium.com/p/84bc63a7d87e</guid>
            <category><![CDATA[aws-systems-manager]]></category>
            <category><![CDATA[cloudwatch]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Soumya Biswas]]></dc:creator>
            <pubDate>Sat, 25 Oct 2025 17:04:40 GMT</pubDate>
            <atom:updated>2026-01-14T14:32:59.941Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Introduction to AWS Systems Manager and its use cases]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://aws.plainenglish.io/introduction-to-aws-systems-manager-and-its-use-cases-e8b36ba39c37?source=rss-699f0c4c51df------2"><img src="https://cdn-images-1.medium.com/max/750/1*-t0wIgrwB_1iKlhkxtmHfg.jpeg" width="750"></a></p><p class="medium-feed-link"><a href="https://aws.plainenglish.io/introduction-to-aws-systems-manager-and-its-use-cases-e8b36ba39c37?source=rss-699f0c4c51df------2">Continue reading on AWS in Plain English »</a></p></div>]]></description>
            <link>https://aws.plainenglish.io/introduction-to-aws-systems-manager-and-its-use-cases-e8b36ba39c37?source=rss-699f0c4c51df------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8b36ba39c37</guid>
            <category><![CDATA[aws-systems-manager]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Soumya Biswas]]></dc:creator>
            <pubDate>Sun, 12 Oct 2025 16:10:08 GMT</pubDate>
            <atom:updated>2026-01-14T14:35:20.168Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Cross region replication configuration between S3 buckets using terraform]]></title>
            <link>https://aws.plainenglish.io/cross-region-replication-configuration-between-s3-buckets-using-terraform-6f0ed709508e?source=rss-699f0c4c51df------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f0ed709508e</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Soumya Biswas]]></dc:creator>
            <pubDate>Tue, 02 Sep 2025 10:50:16 GMT</pubDate>
            <atom:updated>2025-09-02T12:29:51.964Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*EB8EbuJi1VZaZhJZaCwXMQ.png" /></figure><h3>Introduction:</h3><p>In this blog, I am going to use terraform to create two S3 buckets in different regions and I will enable the cross region replications i.e., the content which will be placed in one bucket will be replicated automatically in another bucket.</p><h3>Requirements:</h3><ul><li>Terraform configured in local machine</li><li>AWS account with IAM user which has proper admin rights to create S3 and IAM resources</li></ul><h3>Steps:</h3><ol><li>To fulfill the requirement, I have created my first S3 bucket. To enable the replication rule, the bucket versioning for both the source and destination buckets should be enabled.</li><li>To deliver this, a module named “<strong>bucket1</strong>” is created. It contains the below files.</li></ol><pre>#bucket.tf<br>//Creation of Source bucket with object lock enabled<br><br>resource &quot;aws_s3_bucket&quot; &quot;bucket1&quot; {<br>    bucket = &quot;application-bucket1-20250901&quot;<br>    object_lock_enabled = true<br>    region = var.region1<br>    tags = {<br>        Name = &quot;application-bucket-20250901&quot;<br>        Environment = &quot;Test&quot;<br>    }<br>}<br><br>//Defined the object ownership for the bucket<br><br>resource &quot;aws_s3_bucket_ownership_controls&quot; &quot;ownership_bucket1&quot; {<br>    bucket = aws_s3_bucket.bucket1.id<br>    rule {<br>      object_ownership = &quot;BucketOwnerPreferred&quot;<br>    }<br>    depends_on = [ aws_s3_bucket.bucket1 ]<br>}<br><br>//Defined the access control list of the bucket<br> <br>resource &quot;aws_s3_bucket_acl&quot; &quot;acl_bucket1&quot; {<br>    bucket = aws_s3_bucket.bucket1.id<br>    acl = &quot;private&quot;<br>    depends_on = [ aws_s3_bucket_ownership_controls.ownership_bucket1 ]<br>}<br><br>//Enabled the bucket Versioning<br><br>resource &quot;aws_s3_bucket_versioning&quot; &quot;versioning_bucket1&quot; {<br>    bucket = aws_s3_bucket.bucket1.id<br>    versioning_configuration {<br>        status = &quot;Enabled&quot;<br>    }<br>}</pre><pre>#bucket2.tf<br><br>//Creation of Destination bucket with object lock enabled<br><br>resource &quot;aws_s3_bucket&quot; &quot;bucket2&quot; {<br>    bucket = &quot;application-bucket2-20250901&quot;<br>    object_lock_enabled = true<br>    region = var.region2<br>    tags = {<br>        Name = &quot;application-bucket2-20250901&quot;<br>        Environment = &quot;Test&quot;<br>    }<br>}<br><br>//Defined the object ownership for the bucket<br><br>resource &quot;aws_s3_bucket_ownership_controls&quot; &quot;ownership_bucket2&quot; {<br>    bucket = aws_s3_bucket.bucket1.id<br>    rule {<br>      object_ownership = &quot;BucketOwnerPreferred&quot;<br>    }<br>    depends_on = [ aws_s3_bucket.bucket2 ]<br>}<br><br>//Defined the access control list of the bucket<br><br>resource &quot;aws_s3_bucket_acl&quot; &quot;acl_bucket2&quot; {<br>    bucket = aws_s3_bucket.bucket1.id<br>    acl = &quot;private&quot;<br>    depends_on = [ aws_s3_bucket_ownership_controls.ownership_bucket1 ]<br>}<br><br>//Enabled the bucket Versioning<br><br>resource &quot;aws_s3_bucket_versioning&quot; &quot;versioning_bucket2&quot; {<br>    bucket = aws_s3_bucket.bucket1.id<br>    versioning_configuration {<br>        status = &quot;Enabled&quot;<br>    }<br>    depends_on = [ aws_s3_bucket_acl.acl_bucket2 ]<br>}</pre><p>3. Once the buckets are created, the IAM role and inline policy for that role is created which will be used at the time of setting up the replication. If the requirement is to replicate the objects from one bucket to another bucket, it will be done through the execution of a background job which will need the required access to get few details of source bucket and permission to put the objects in the destination bucket.</p><pre>#role_policy.tf<br><br>//Creation of IAM role with trust policy<br><br>resource &quot;aws_iam_role&quot; &quot;s3_role&quot; {<br>    name = &quot;s3-replication-role&quot;<br>    assume_role_policy = jsonencode({<br>    Version = &quot;2012-10-17&quot;<br>    Statement = [<br>    {<br>        Effect = &quot;Allow&quot;<br>        Principal = {<br>          Service = &quot;s3.amazonaws.com&quot;<br>        }<br>        Action = &quot;sts:AssumeRole&quot;<br>      }<br>    ]<br>  })<br>  depends_on = [ aws_s3_bucket_versioning.versioning_bucket2, aws_s3_bucket_versioning.versioning_bucket1 ]<br>}<br><br>//Creation of IAM policy<br><br>resource &quot;aws_iam_policy&quot; &quot;replication_policy&quot; {<br>  name = &quot;s3-replication-policy&quot;<br>  description = &quot;Policy for S3 bucket replication&quot;<br><br>  policy = jsonencode({<br>    Version = &quot;2012-10-17&quot;<br>    Statement = [<br>      {<br>        Effect = &quot;Allow&quot;<br>        Action = [<br>          &quot;s3:GetReplicationConfiguration&quot;,<br>          &quot;s3:ListBucket&quot;,<br>          &quot;s3:GetBucketVersioning&quot;,<br>        ]<br>        Resource = [<br>          aws_s3_bucket.bucket1.arn,<br>        ]<br>      },<br>      {<br>        Effect = &quot;Allow&quot;<br>        Action = [<br>          &quot;s3:GetObjectVersionForReplication&quot;,<br>          &quot;s3:GetObjectVersionAcl&quot;,<br>          &quot;s3:GetObjectVersionTagging&quot;,<br>        ]<br>        Resource = [<br>          &quot;${aws_s3_bucket.bucket1.arn}/*&quot;,<br>        ]<br>      },<br>      {<br>        Effect = &quot;Allow&quot;<br>        Action = [<br>          &quot;s3:ReplicateObject&quot;,<br>          &quot;s3:ReplicateDelete&quot;,<br>          &quot;s3:ReplicateTags&quot;,<br>          &quot;s3:PutObject&quot;<br>        ]<br>        Resource = [<br>          &quot;${aws_s3_bucket.bucket2.arn}/*&quot;,<br>        ]<br>      },<br>    ]<br>  })<br>  depends_on = [ aws_iam_role.s3_role ]<br>}<br><br>//Attaching the policy with the role<br><br>resource &quot;aws_iam_role_policy_attachment&quot; &quot;role_attachment&quot; {<br>  role = aws_iam_role.s3_role.name<br>  policy_arn = aws_iam_policy.replication_policy.arn<br>  depends_on = [ aws_iam_policy.replication_policy ]<br>}</pre><blockquote><strong>The role will allow the below permissions:<br>At Source Bucket Level:<br></strong>s3:GetReplicationConfiguration, s3:ListBucket, s3:GetBucketVersioning</blockquote><blockquote><strong>At the object level of Source Bucket:<br></strong>s3:GetObjectVersionForReplication, s3:GetObjectVersionAcl, s3:GetObjectVersionTagging</blockquote><blockquote><strong>At the object level of Destination bucket:<br></strong>s3:ReplicateObject, s3:ReplicateDelete, s3:ReplicateTags, s3:PutObject</blockquote><p>4. Now the next code is written to configure the bucket replication.</p><pre>#replication.tf<br><br>//Replication configuration<br><br>resource &quot;aws_s3_bucket_replication_configuration&quot; &quot;new_replication&quot; {<br>  role = aws_iam_role.s3_role.arn<br>  bucket = aws_s3_bucket.bucket1.id #ID of source bucket<br>  rule {<br>    id = &quot;replication_rule&quot;<br>    filter {<br>    prefix = &quot;&quot; #It will define the file name starts with. If it remains empty, the rule will be applicable to all objects<br>    }<br>    delete_marker_replication {   #Enable the replication for delete markers or deleted objects as well<br>      status = &quot;Enabled&quot;<br>    }<br>    status = &quot;Enabled&quot;<br>    destination {<br>      bucket = aws_s3_bucket.bucket2.arn<br>      # storage_class = &quot;STANDARD&quot;<br>    }<br>  }<br>  depends_on = [ aws_s3_bucket_versioning.versioning_bucket2, aws_s3_bucket_versioning.versioning_bucket1, aws_iam_policy.replication_policy ]<br>}</pre><p>The next file contains the regions where the buckets will be created.</p><pre>#var.tf<br><br>variable &quot;region1&quot; {}<br>variable &quot;region2&quot; {}</pre><p>5. Now the module is designed, it is time to call the module. In the main project folder, the below files are created.</p><pre>#provider.tf<br><br>//Provides the provider information<br><br>provider &quot;aws&quot; {<br>    region = var.region1<br>}</pre><pre>#vars.tf<br><br>//Declare the variables<br><br>variable &quot;region1&quot; {}<br>variable &quot;region2&quot; {}</pre><pre>#dev.tfvars<br><br>//Declare the value of the variables<br><br>region1 = &quot;eu-west-1&quot;<br>region2 = &quot;ap-south-1&quot;</pre><pre>#main.tf<br><br>//Calling the module to implement the changes<br><br>module &quot;s3_bucket_replication&quot; {<br>    source = &quot;./bucket1&quot;<br>    region1 = &quot;${var.region1}&quot;<br>    region2 = &quot;${var.region2}&quot;<br>}</pre><p>6. The code is ready and we are all set for the deployment and we begin with below commands.</p><pre>terraform init          #Initialize terraform<br>terraform validate      #Validate the code</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/622/1*t42Pg_tJRj1Npum3MrSpPQ.png" /></figure><p>The next step is the creation of the plan and save it to a output file and apply the plan from that output file.</p><pre>terraform plan -var-file=dev.tfvars -out=dev.tfplan   #Creation of the plan with values used in dev.tfvars file and save it to de.tfplan file<br>terraform apply -var-file=dev.tfvars -input=false &#39;dev.tfplan&#39;  #Apply the plan which is created in dev.tfplan file</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*sZnjbmvOBouoGkU8jpXK9A.png" /><figcaption>Output of plan command</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WegNpmYUP-53QczbT7B93g.png" /><figcaption>Output of apply command</figcaption></figure><p>7. The resources are deployed successfully. Lets validate the same.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J_Q7MZMSn9jGe7bWkQNwYQ.png" /><figcaption>Region specific S3 buckets are created</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*otEGYtm5qZeR3mli18STpQ.png" /><figcaption>Bucket Versioning is enabled in bucket1</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IU7uCDq6oW3MdlsBHwtVBg.png" /><figcaption>Object lock is enabled in bucket1</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3tPS_TWcHkjaXegcGCqVeg.png" /><figcaption>Public access is blocked in bucket1</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6NhcBho3m-TJAucfnFj9sw.png" /><figcaption>Object ownership is set in bucket1</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0fmApgfCzwXLUQWhioIlTQ.png" /><figcaption>ACL is set in bucket1</figcaption></figure><blockquote>The same configuration will be applicable to bucket2 as well.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OU8eNpO03GFGYHBtHbBeBg.png" /><figcaption>S3 replication role is created</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1YTRdf5QiJFQg79f0pYUyQ.png" /><figcaption>Trust policy is added to the role</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pkz-XR3d5xAsO8UQkhKMfw.png" /><figcaption>Permission policy is added to the role</figcaption></figure><p>8. Now since all resources are created successfully. Lets upload a document in source S3 bucket to check if it gets replicated automatically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b2q0vR3boOL57N8PV2ZqFQ.png" /><figcaption>Uploaded the object in source bucket</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ucVYS-hA5Ol2u7_EiIh-Gg.png" /><figcaption>Object is replicated to destination bucket</figcaption></figure><p>Lets try to delete the object from source bucket and check if the delete marker replication is working as expected or not.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bGxCgwd8LMtaBkevFB6_1w.png" /><figcaption>Deleted the object from source bucket</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zepqxVAFWhzpzim-7a9fTg.png" /><figcaption>Object is removed from source bucket</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jhMzvpevTDVsp2seUd0nSQ.png" /><figcaption>Object is removed from destination bucket</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2jdTyFSQOu_O8stIoVKfOQ.png" /><figcaption>Delete marker is enabled at source bucket</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qmXpxb8mxseSXQRCwotdvw.png" /><figcaption>Delete marker is enabled at destination bucket with same version id</figcaption></figure><p>As it is checked, the replication rule is well enabled and we have successfully established the cross region replication between two S3 buckets.</p><p>Hope you have liked my content!! If you like my work and want to encourage me to publish more such content, you can buy me a coffee :) with below link!!</p><p><a href="https://buymeacoffee.com/soumyabiswas37?source=post_page-----cabbaeaa560d---------------------------------------">Soumya Biswas</a></p><h3>A message from our Founder</h3><p><strong>Hey, </strong><a href="https://linkedin.com/in/sunilsandhu"><strong>Sunil</strong></a><strong> here.</strong> I wanted to take a moment to thank you for reading until the end and for being a part of this community.</p><p>Did you know that our team run these publications as a volunteer effort to over 3.5m monthly readers? <strong>We don’t receive any funding, we do this to support the community. ❤️</strong></p><p>If you want to show some love, please take a moment to <strong>follow me on </strong><a href="https://linkedin.com/in/sunilsandhu"><strong>LinkedIn</strong></a><strong>, </strong><a href="https://tiktok.com/@messyfounder"><strong>TikTok</strong></a>, <a href="https://instagram.com/sunilsandhu"><strong>Instagram</strong></a>. You can also subscribe to our <a href="https://newsletter.plainenglish.io/"><strong>weekly newsletter</strong></a>.</p><p>And before you go, don’t forget to <strong>clap</strong> and <strong>follow</strong> the writer️!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f0ed709508e" width="1" height="1" alt=""><hr><p><a href="https://aws.plainenglish.io/cross-region-replication-configuration-between-s3-buckets-using-terraform-6f0ed709508e">Cross region replication configuration between S3 buckets using terraform</a> was originally published in <a href="https://aws.plainenglish.io/">AWS in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using terraform to modify the instance parameter in AWS]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://aws.plainenglish.io/using-terraform-to-modify-the-instance-parameter-in-aws-cabbaeaa560d?source=rss-699f0c4c51df------2"><img src="https://cdn-images-1.medium.com/max/1280/1*P0ebIA0vbYbv-db_NljWqw.png" width="1280"></a></p><p class="medium-feed-link"><a href="https://aws.plainenglish.io/using-terraform-to-modify-the-instance-parameter-in-aws-cabbaeaa560d?source=rss-699f0c4c51df------2">Continue reading on AWS in Plain English »</a></p></div>]]></description>
            <link>https://aws.plainenglish.io/using-terraform-to-modify-the-instance-parameter-in-aws-cabbaeaa560d?source=rss-699f0c4c51df------2</link>
            <guid isPermaLink="false">https://medium.com/p/cabbaeaa560d</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Soumya Biswas]]></dc:creator>
            <pubDate>Sat, 30 Aug 2025 19:15:18 GMT</pubDate>
            <atom:updated>2026-03-29T08:14:13.368Z</atom:updated>
        </item>
    </channel>
</rss>