<?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 Ashish Sarawad on Medium]]></title>
        <description><![CDATA[Stories by Ashish Sarawad on Medium]]></description>
        <link>https://medium.com/@ashishsarawad?source=rss-e754f0e66ba4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GhQRNfTCORoZBZLBKE_LTA.jpeg</url>
            <title>Stories by Ashish Sarawad on Medium</title>
            <link>https://medium.com/@ashishsarawad?source=rss-e754f0e66ba4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 10:45:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ashishsarawad/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[Managing Deployments with Complete CI/CD with AWS CodeCommit, CodeBuild, CodePipeline, CodeDeploy …]]></title>
            <link>https://medium.com/@ashishsarawad/managing-deployments-with-complete-ci-cd-with-aws-codecommit-codebuild-codepipeline-codedeploy-4ef9864f944d?source=rss-e754f0e66ba4------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ef9864f944d</guid>
            <dc:creator><![CDATA[Ashish Sarawad]]></dc:creator>
            <pubDate>Fri, 24 Mar 2023 07:29:39 GMT</pubDate>
            <atom:updated>2023-03-24T11:44:52.053Z</atom:updated>
            <content:encoded><![CDATA[<h3>Managing Deployments with Complete CI/CD with AWS CodeCommit, CodeBuild, CodePipeline, CodeDeploy : A Cross-Account multi-Region Deployment Solution.</h3><h3>AWS services</h3><p>This solution uses the following AWS services :</p><ul><li><a href="https://aws.amazon.com/codecommit/">AWS CodeCommit</a></li><li><a href="https://aws.amazon.com/codebuild/">AWS CodeBuild</a></li><li><a href="https://aws.amazon.com/codedeploy/">AWS CodeDeploy</a></li><li><a href="https://aws.amazon.com/codepipeline/">AWS CodePipeline</a></li><li><a href="https://aws.amazon.com/ec2/">AWS EC2</a></li><li><a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/WhatIsCloudWatchEvents.html">AWS CloudWatch Events</a> — To trigger CodePipeline.</li><li><a href="https://aws.amazon.com/s3/">Amazon Simple Storage Service</a></li><li><a href="https://aws.amazon.com/kms/">AWS Key Management Service</a></li></ul><h3>Overview of solution</h3><p>This solution uses two separate AWS accounts: a <strong>Dev account (111111111111)</strong> and a <strong>Prod account (222222222222)</strong> in Region us-east-1 us-east-2 and ap-south-1</p><p>We use the dev account to deploy and set up the CI/CD pipeline, along with the source code repo. It also builds and tests the code locally and performs a test deploy.</p><p>The prod account is any other account where the application is required to be deployed from the pipeline in the dev account.</p><p>In summary, the solution has the following workflow:</p><ul><li>A change or commit to the code in the CodeCommit application repository triggers CodePipeline with the help of a CloudWatch event.</li><li>The pipeline downloads the code from the CodeCommit repository, initiates the Build and Test action using CodeBuild, and securely saves the built artifact on the S3 bucket.</li><li>If the preceding step is successful, the pipeline triggers the Deploy in Dev action using CodeDeploy and deploys the app in dev account.</li><li>If successful, the pipeline triggers the Deploy in Prod action using CodeDeploy and deploys the app in the prod account.</li></ul><p>The following diagram illustrates the workflow:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*37a6m04ajQClj1hUISJGbQ.png" /><figcaption>Architecture</figcaption></figure><h3><strong>Steps to Follow:</strong></h3><p><strong>IMPORTANT NOTE: -<br>Replace all 11111111111 with your DEV Account_ID and 222222222222 with you PROD Account_ID.</strong></p><p>1.Create IAM Roles According to this following document in the repository and accordingly attach policies given in the repository <strong>(IN DEV AND PROD ACCOUNT )</strong> —</p><p><a href="https://github.com/Ashish-sarawad/AWS-Cross-Account-multi-Region-Deployment-Solution/tree/master/IAM%20Roles%20%26%20Policies">AWS-Cross-Account-multi-Region-Deployment-Solution/IAM Roles &amp; Policies at master · Ashish-sarawad/AWS-Cross-Account-multi-Region-Deployment-Solution (github.com)</a></p><p><strong>Note:- Remember to edit the policies after creating KMS Key and S3 Bucket. Replace all 11111111111 with your DEV Account ID and 222222222222 with you PROD Account ID</strong>.</p><p>2.Create a KMS Key and attach the policy <a href="https://github.com/Ashish-sarawad/AWS-Cross-Account-multi-Region-Deployment-Solution/blob/master/IAM%20Roles%20%26%20Policies/kms_key_policy.json">kms_key_policy.json</a> to the Key. Remember to Create multi-region keys according to your region of deployments. <strong>(IN DEV ACCOUNT)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FDxGuaL24fOTXL1JLzzQsQ.png" /><figcaption>Multi-region keys</figcaption></figure><p>3.Deploy EC2 Linux instances and install CodeDeploy agent on them in both accounts with multiple regions of your interest (1 in Dev and 2 in Prod). Attach the role for the instance “<em>cicd_ec2_instance_profile” </em>which is created in step-1.<strong> (IN DEV AND PROD ACCOUNT)</strong></p><p>Refer this Document to install codeDeploy agent : <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/codedeploy-agent-operations-install-linux.html">Install the CodeDeploy agent for Amazon Linux or RHEL — AWS CodeDeploy</a>.</p><p>4.Create S3 buckets <strong>(IN DEV AND PROD ACCOUNT)</strong><br>Note: While creating S3 buckets, keep the versioning enabled , in encryption choose AWS Kms and enter the arn of KMS Key created in <br>step-2 and uncheck <strong>block all public access</strong>. <br><strong>(Note: You need to mention the arn of the kms multi-region, according to the region. i.e if you are creating the bucket in ap-south-1 of PROD account you need to use the arn ap-south-1 which we created in step-2)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bnoG8_7DCFN_TbzQHkwB5Q.png" /><figcaption>USE THESE ARN’s WHILE CREATING BUCKET IN DIFFERENT REGION</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gr1WwU86Vn-3wHGa15NePg.png" /></figure><ul><li><strong>Create a bucket in DEV Account (region — us-east-1)</strong></li><li><strong>Create a bucket in PROD Account (region — us-east-2)</strong></li><li><strong>Create a bucket in PROD Account (region — ap-south-1)</strong></li></ul><p>Note: For granting access to DEV Account to S3 buckets created in PROD account. You need to add Dev account as grantee. <br>Go into permissions -&gt; Edit the Access control list (ACL) and add grantee and enter DEV Account’s canonical id. (Perform this step in Prod account’s buckets)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/816/1*Hdz_cVH39CuerD0neV9W8g.png" /><figcaption>Add Grantee and enter canonical id of Dev Account</figcaption></figure><p>Find Canonical ID in Security Credentials of your account</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gqzNyQ0tTvX-BijtUPJY-A.png" /></figure><p>5.Clone a simple java application from this repository — <a href="https://github.com/Ashish-sarawad/AWS-Cross-Account-multi-Region-Deployment-Solution.git">https://github.com/Ashish-sarawad/AWS-Cross-Account-multi-Region-Deployment-Solution.git</a> (extract the zip file).</p><p>6.Create a CodeCommit Repository <strong>(IN DEV ACCOUNT).</strong><br>Use the example name as “<em>MyWebAppRepo</em>”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*9o4xRnZQtOwJNroRC0PoOQ.png" /></figure><p>NOTE: Generate Git Credentials for CodeCommit Repo of a IAM User in the DEV Account. (IAM User-&gt; Security credential-&gt; Git Credentials)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fZZc5D48LAhcRiczmlGEQw.png" /></figure><ul><li>Assuming you have the required HTTPS Git credentials for CodeCommit as part of the prerequisites, clone the CodeCommit repo that was created earlier as part of the dev account setup. Obtain the name of the CodeCommit repo to clone, from the CodeCommit console. Enter the Git user name and password when prompted. For example:</li></ul><pre>$ git clone https://git-codecommit.us-east-1.amazonaws.com/v1/repos/MyWebAppRepo my-web-app-repo</pre><ul><li>Copy and unzip the file into the my-web-app-repo Git repository folder created earlier.</li><li>Assuming this is the simple JavaApp to be deployed, commit these changes to the Git repo. For example:</li></ul><pre>$ cd my-web-app-repo <br>$ git add -A <br>$ git commit -m &quot;initial commit&quot; <br>$ git push</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1SeAt5PHn38f-I0_T3nfLg.png" /></figure><p>7.Create a Codebuild Project. <strong>(IN DEV ACCOUNT)</strong><br>Use the example name as <em>“MyCBWebAppProject”</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/985/1*u6QzCjm_L6GCBGvUQCaFVQ.png" /></figure><ul><li>Choose <strong>source </strong>as CodeCommit and select the repository with branch which you created in step-6.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/985/1*bbZpTa8XToK5ZpL9zz2Eow.png" /></figure><ul><li>For <strong>Environment</strong> choose configuration as in the below image</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*_AWV10OH1NRCesT-eWP4Nw.png" /></figure><p>Attach the role <em>“cicd_codebuild_service_role”</em> created in step-1</p><ul><li>For <strong>Buildspec</strong> Choose “Use a buildspec file”</li><li>For <strong>Artifacts <br></strong>Choose <em>“Type”</em> as <em>“Amazon S3&quot;<br></em>Choose <em>“Bucket” </em>the created in Step-4<br>Choose “Name” as <em>“MyWebAppRepo.zip” </em>this will create a zip file and upload to s3 in Dev Account.<br>Choose “Artifact Packaging” as “ZIP” <br>Lastly in additional Configuration enter the arn of the KMS Key created in Step-2</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/556/1*gnK0O-FFu70DRMXmRkDHIQ.png" /></figure><p>8.In CodeDeploy, <strong>(IN DEV ACCOUNT)</strong><br>Create an application and Select compute Platform <br>as EC2/On-premises.<br>Use an example name as <em>“MyCDWebApp”_</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ceMXnJ8s-gm38LTepWlcCg.png" /></figure><ul><li>Create a deployment Group in the application.<br>Use example name as <em>“MyCICD-Deployment-Group-Dev”.<br></em>Choose a service role <em>“cicd_codedeploy_service_role”</em> created in step-1</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/978/1*Wt4LAIyFpndPF3Hj7dLtYw.png" /></figure><ul><li>Choose <strong><em>Deployment type</em></strong><em> </em>as <em>“In-Place”</em></li><li>In <strong>Environment configuration</strong> Choose <em>“Amazon EC2 instance”</em> and add tags of the EC2 instance created in step-3. In our case it is <br>“Name” = “MyCicdBlogWebApp”</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TyXker88IMO12Gj7ohFblg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/933/1*c0phneEdPT4Ib56Z_I84ew.png" /></figure><ul><li>In “<strong>Deployment settings” </strong>choose<strong> </strong><em>“OneAtATime”<br></em>and Disable LoadBalancer</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/932/1*QE4OIbZpTisf5kGmBSq2UA.png" /></figure><ul><li>In Advanced settings Enable Rollbacks.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/922/1*8_QwnW8I7SORqtFtgHg_Lg.png" /></figure><p>9.Time to Create CodePipeline. <strong>(IN DEV ACCOUNT)</strong><br>Use example pipeline name as <em>“MyWebAppPipeline”</em></p><ul><li>Choose existing role as <em>“cicd_codepipeline_service_role” </em>created in step-1</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/1*aaZObP1hSNGyx6ZvI-YLaQ.png" /></figure><p>In <strong>Advanced settings,<br></strong>Choose <em>“artifact store”</em> as S3 Bucket created in<em> “Dev Account” &amp; <br></em>In <em>“Encryption Key”</em> Choose <em>“Customer Managed Key ” </em>and select kms key created in step-2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*zmaxjkeJR4lJgsda1X_VHw.png" /></figure><ul><li>In <strong>Source,</strong><br>Choose <em>“source provider”</em> as <em>“CodeCommit”<br>“Repository name” </em>as<em> “MyWebAppRepo” (created in step-6)<br> </em>and <em>“branch”</em> as <em>“main”</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/927/1*hpPWNmXtH4Lgpnf1J2bfiA.png" /></figure><ul><li>In<strong> Build stage,<br></strong>Choose <em>“Build Provider” </em>as <em>“AWS CodeBuild”</em><br><em>“Region”</em> as <em>“us-east-1”</em><br><em>“Project”</em> as <em>“MyCBWebAppProject” (Created in step-7)</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/921/1*iijiz9bkYsDyGYJlnpxzRg.png" /></figure><ul><li>In<strong> Deploy stage,<br></strong>Choose <em>“Build Provider” </em>as <em>“AWS CodeDeploy”</em><br><em>“Region”</em> as <em>“us-east-1”</em><br><em>“Application”</em> as <em>“MyCBWebApp” <br>“Deployment group”</em> as <em>“MyCICD-Deployment-Group-Dev”<br>(Created in step-7)</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/935/1*y-6eXMd9nMnjr5YK7ogbfw.png" /></figure><p>Click on NEXT and Create Pipeline.</p><p>The Pipeline is ready , Now its time to edit the pipeline and add stages to deploy the application in <strong>PROD Account</strong></p><p>10.Editing the CodePipeline <strong>(IN DEV ACCOUNT)</strong><br>Click on Edit in codepipeline.<br>After deploy stage Click on <strong>add stage</strong>. <br>Specify a name for the stage, Use example name as “Push-to-S3-us-east-2”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wk_WGGmO6IOMZFNGT0Gz8A.png" /></figure><ul><li>Click on <strong>Add action group<br></strong>1.Specify an Action Name<br>2.“Action Provider” as “Amazon S3” in Deploy section<br>3.“Region” as “Us-east-2(ohio)” (the bucket is in us-east-2 in PROD)<br>4.“Input artifacts” as “WebAppRepo-BuiltArtifact”<br>5.“Bucket” as Name of the Bucket created in PROD Account in region us-east-2.<br>6.“S3 Object” Key as “MyWebAppRepo.zip” <br>7. In “Additional Config” input the arn of replica KMS key of region us-east-2.<br>8. In “canned ACL” choose “public-read-write”</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iXkXYw4qTj4SbUkZFlSu_A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oWMmpKTz5O2AxFNmbUcPsQ.png" /><figcaption>ARN OF KMS REPLICA KEY (us-east-2)</figcaption></figure><blockquote><strong>- CLICK ON DONE.<br>- ADD NEW STAGE AND FOLLOW THE SAME PROCESS FOR THE BUCKET WHICH IN Ap-South-1 (To deploy the artifact to the bucket which in ap-south-1 in Prod Account)</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M37ncm6gfZAfnZG3sxd3tQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YHeTifuClRmtrzuzFiBYAQ.png" /><figcaption>ARN OF KMS REPLICA KEY (ap-south-1)</figcaption></figure><p>11.Create CodeDeploy Application <strong>(IN PROD ACCOUNT) </strong><br>Login to your PROD Account.</p><ul><li>In Region<strong> US-EAST-2</strong>, Create CodeDeploy (follow the STEP-8)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9soGjhKl-DmBdGZqznSgeg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uJYW9Fe6iJ5xvfAYqEqwwQ.png" /></figure><p>12.Create a CodePipeline <strong>(IN PROD ACCOUNT)</strong> <br>In Region <strong>US-EAST-2</strong>, Create CodePipeline<br> Use example pipeline name as <em>“MyWebAppPipeline”</em></p><ul><li>Choose existing role as <em>“cicd_codepipeline_service_role” </em>created in step-1</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/1*37qvK_67fIlQMYo88SgoOQ.png" /></figure><ul><li>In <strong>Advanced settings,<br></strong>Choose <em>“artifact store”</em> as S3 Bucket created in<em> “prod Account” (&amp; <br></em>In <em>“Encryption Key”</em> Choose <em>“Customer Managed Key ” <br></em>and enter the arn of multi-region kms key created in step-2. <br>(NOTE: Use the arn of kms key according to your region)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bnoG8_7DCFN_TbzQHkwB5Q.png" /><figcaption>USE THESE ARN’s ACCORDING TO THE REGION</figcaption></figure><ul><li>In <strong>Source,</strong><br><em>“source provider”</em> as <em>“Amazon S3”<br>“Bucket name” </em>as<em> “Codepipeline-bucket-for-cross-account-deployment-us-east-2” (created in step-4)<br>“S3 object key” as “MyWebAppRepo.zip” (The bucket key entered in step-10 should be same in this step)</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D1gg5bTuG8YD4-BsQTE8-Q.png" /></figure><ul><li>In the <strong>Build Stage, <br></strong>Click on “skip Build stage” (Our application is already built in Dev Account)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fxMlaaipDM3iHczHWC-XPQ.png" /></figure><ul><li>In<strong> Deploy stage,<br></strong>Choose <em>“Build Provider” </em>as <em>“AWS CodeDeploy”</em><br><em>“Region”</em> as <em>“us-east-2”</em><br><em>“Application”</em> as <em>“MyCBWebApp1” <br>“Deployment group”</em> as <em>“MyCICD-Deployment-Group-Prod1”<br>(Created in step-11)</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dv3PjtOxxJkQMoocDcPnpw.png" /></figure><p>Click on Next and Create Pipeline.<br>Now the Pipeline is Ready.</p><p>13. Change the region to “Ap-south-1” <strong>(IN PROD ACCOUNT)</strong> and Repeat <strong>STEP-11 </strong>and <strong>STEP-12</strong> . Create CodeDeploy Application and CodePipeline in <strong>“ap-south-1”</strong></p><p>14.TIME TO COMMIT THE CODE <strong>(IN DEV ACCOUNT)</strong></p><ul><li>In CodeCommit, Choose the Repository <em>“MyWebAppRepo”<br></em>Navigate to files shown in the image Below 👇👇</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I3w4hYd266R3aC6xVGgDRw.png" /></figure><ul><li>And Click on Edit. <br>Make changes in statement in “<strong>return” </strong>block and Click on “<strong>COMMIT”</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B78l2tAGUc16uGAs_yVWhQ.png" /></figure><blockquote>This Will Trigger CodePipeline <strong>(IN DEV ACCOUNT)</strong></blockquote><blockquote>The Pipeline has been successfully Executed in DEV Account 👇👇</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ydYLDbOaoCPB7ynKXKOF8Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5iea5cU78cOc7XgZACPsZg.png" /></figure><blockquote>Pipelines in PROD ACCOUNT Trigged (Due to artifacts pushed to S3) and Executed Successfully</blockquote><p>US-EAST-2 👇👇</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dGociSSRJ8CNxov-gpprRg.png" /><figcaption>Artifact Pushed to S3 (us-east-2)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3nyuz-AuRvqgvJI024qZHA.png" /><figcaption>Pipeline Successfully Executed (us-east-2)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9X_HOcWogYgONg8nMBD_4Q.png" /><figcaption>CodeDeploy Successfully Deployed application to EC2 Instance (us-east-2)</figcaption></figure><p>AP-SOUTH-1 👇👇</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bmnp3Jb-5u1i7vgyO6J87w.png" /><figcaption>Artifact Pushed to S3 (ap-south-1)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZQ7BueLj5oiV3z03uYQIzg.png" /><figcaption>Pipeline Successfully Executed (ap-south-1)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zTgxeT0pwPD7AdICVnwS5A.png" /><figcaption>CodeDeploy Successfully Deployed application to EC2 Instance (ap-south-1)</figcaption></figure><p>15.Verify the Application deployed to EC2 instance from CodeDeploy.<br>The Application works on port <strong>8080. <br>“</strong><em>Make sure port 8080 is open in Security Groups of EC2 instance.”</em></p><p>1. Check in Dev Account (us-east-1)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iZgn-ap4ew-sD3oZPoAniQ.png" /></figure><p>Copy public Ip address. Enter the public IP with port 8080 in your browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ajhMfLodwoaGVYTn6TrmIQ.png" /></figure><p>Yes..!! It is Successfully Deployed in Dev Account.</p><p>2. Check in Prod Account</p><ul><li>IN US-EAST-2</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kO-G2Kplcxmgpc2t1KcVSA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3rJe3F1xqUWbQshX095z_A.png" /></figure><ul><li>IN AP-SOUTH-1</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UcYPXEJzMWTwshF3-qouvw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7OlKwABgsKnyioLjjAzL0Q.png" /></figure><p>References :</p><ul><li><a href="https://aws.amazon.com/blogs/devops/complete-ci-cd-with-aws-codecommit-aws-codebuild-aws-codedeploy-and-aws-codepipeline/">Complete CI/CD with AWS CodeCommit, AWS CodeBuild, AWS CodeDeploy, and AWS CodePipeline | AWS DevOps Blog (amazon.com)</a></li><li><a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/pipelines-create-cross-account.html">Create a pipeline in CodePipeline that uses resources from another AWS account — AWS CodePipeline (amazon.com)</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ef9864f944d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>