<?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 landry lacssock on Medium]]></title>
        <description><![CDATA[Stories by landry lacssock on Medium]]></description>
        <link>https://medium.com/@kossockmarcellandry?source=rss-5202ac48dc44------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*xO_Wt27xGVIchXrL</url>
            <title>Stories by landry lacssock on Medium</title>
            <link>https://medium.com/@kossockmarcellandry?source=rss-5202ac48dc44------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 00:35:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kossockmarcellandry/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[Deploying a Static Application on
AWS with CI/CD: using GitHub,
CodePipeline and S3]]></title>
            <link>https://medium.com/@kossockmarcellandry/deploying-a-static-application-on-aws-with-ci-cd-using-github-codepipeline-and-s3-0fd116fe58ab?source=rss-5202ac48dc44------2</link>
            <guid isPermaLink="false">https://medium.com/p/0fd116fe58ab</guid>
            <dc:creator><![CDATA[landry lacssock]]></dc:creator>
            <pubDate>Sat, 19 Oct 2024 08:53:36 GMT</pubDate>
            <atom:updated>2024-10-19T08:53:36.400Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Background and objectives</strong></h3><p>In today’s technological landscape, companies are seeking to automate and optimize their development processes for greater efficiency and reactivity. The deployment of static applications, while often simpler than dynamic applications, also benefits greatly from automation and continuous integration/continuous deployment (CI/CD) PIPELINES. Amazon Web Services (AWS) offers a robust suite of tools for managing <br>these processes, including GitHub for source code management, <br>CodePipeline for orchestrating deployment pipelines, and Amazon S3 <br>for hosting static files. <br>The aim of this article is to provide a detailed and practical guide to <br>deploying a static application on AWS using a CI/CD chain. <br>Readers will learn how to configure GitHub for code management, how to use AWS CodePipeline to automate deployment steps, and how to deploy <br>the application on an S3 bucket to make it accessible via the Internet. This article is primarily aimed at DevOps developers and engineers who wish to <br>improve their deployment processes and take advantage of AWS services to efficient management of their static applications. <br>Key steps covered in this article include: <br>1. GitHub configuration: Repository creation and branch management. <br>2. Setting up CodePipeline: Creating and configuring the pipeline to automate builds and deployments. <br>3. Deploy to S3: Configure S3 bucket and upload static application. <br>4. Process automation: Ensure continuity of deployment with every <br>each new code modification.</p><h4>By the end of this article, readers should be able to configure a complete <br>CI/CD pipeline for their static applications, thus improving their <br>quality of their deployments. <br><br>1. Setting up the work environment</h4><p>Setting up the working environment for the deployment of a static <br> application on AWS with a CI/CD process involves using the following <br>tools, platform and services: <br><strong>- Tools and platform</strong> :<br>1. Computer <br>2. An AWS account <br><strong>- Services used :</strong></p><p>1.GitHub</p><p>— log in to your GitHub account</p><p>— push your code to GitHub</p><p>2. AWS CodePipeline:</p><p>— CI/CD pipeline automation service that orchestrates the build, <br>test and deployment stages.</p><p>—<strong> Benefits:</strong> Complete automation of the deployment process, seamless <br> integration with other AWS services and third-party tools.</p><p>3. Amazon S3 (Simple Storage Service):</p><p>— Cloud object storage service used to host the static web application. <br>application. <br><strong>- Benefits:</strong> High availability, scalability, automated version management <br>and integration with the AWS Content Delivery Network (CDN).</p><p>4. AWS CodeBuild:</p><p>— Fully managed build service for compiling application source code.</p><p><strong>— Benefits:</strong> Native integration with AWS services, automatic scaling <br>according to build requirements. <br><strong>NB:</strong> have a static application available, in our case an HTML, CSS and Javascript application. <br>Before getting into the technical side of the process of deploying a <br>static application on S3 using the CICD approach, we’re going to outline the advantages of setting up a CICD.</p><p><strong>Advantages of CICD:</strong></p><p>— Automation: Significant reduction in the time and effort required to deliver high-quality code.</p><p>— Fast feedback: From rapid error detection to automated testing and continuous deployment.<br>- Frequent delivery: Enables faster and more regular application updates.</p><p>— Increased reliability: Reduces the risks associated with manual deployments and process.</p><p>— Continuous improvement: Facilitates continuous iteration and improvement through feedback and analysis of pipeline performance.</p><p>In short, CI/CD with AWS CodeCommit, CodePipeline and S3 offers an efficient and automated way of developing, testing and deploying <br>applications on AWS. This process promotes better code quality, <br>productivity and faster delivery of functionality to end-users. <br><strong>step 1: Connect to your GitHub</strong></p><p>In this first step, you should ensure that you have successfully <br>exported your site. This will make it easier for you to access and use your site use it in AWS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/611/1*LRRaG0U7EnqqdHBQGBSYYw.png" /></figure><p>-Then connect to your AWS console.<br><strong>step 2: S3 bucket creation</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/597/1*C5SCzYa12VEtIGTGMuazPw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*PlGr7BtFQSlyFhX3kAhXDw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*rTudsLSiF5rEtGnlPN92jA.png" /></figure><p>Take the trouble here to choose your name uniquely.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*pFKMVnrkHLw3Q5PEPbxW8A.png" /></figure><p>Next, uncheck the option that blocks public access to your bucket, as it will be used for a publicly accessible site.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/1*-De0-BL-eagNiLTh8nohKw.png" /></figure><p>Enter your bucket name and configure permissions<br>● configure permissions</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*t5ekBbB1bRtiCrwnZUsqeA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*bnE4ou-XqHr5XDCTw9EqVQ.png" /></figure><p>● Setting up a bucket to host a static website</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*FKzBzKb6OoGeTfvUPQmixw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*6k4xghB6hMMX8BPzQ2zK2g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*W3pKlHwPYES-oOP-v5vTZQ.png" /></figure><p>Next,<br><strong>step 3: pipeline creation and configuration with AWS CodePipeline</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*gODFRVBtjEvV7HxHR_KLVw.png" /></figure><p>● Specify the name of your pipeline</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/489/1*FGpp7fzU1W2uc4lgtLgVlw.png" /></figure><p>-At the source configuration step, select GitHub as the source.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/458/1*6nSOBDyf4LKYIFGpgl9QxA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/1*Rkz9sDI9LA79yonPZ4J3Mg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/484/1*KrHJZbVcazhOh0KO64aMTQ.png" /></figure><p>● Skip the build step</p><p>● In the deployment phase, select Amazon S3. Choose the region in where your S3 bucket was created, then select the S3 bucket you have just<br>created for your project. Make sure you select Extract file before deployment, as Codepipleline compresses the artifact.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/485/1*DSkoyoxvrz6dLDs22iZ2hQ.png" /></figure><p>● Review and create your pipeline<br>In addition we have,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/482/1*UF6kcaJqaMLS7CKfNBjwcA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/473/1*fGvi0jbtNb3k6Uba26d9KA.png" /></figure><p><strong>step 4: test.</strong></p><p>To do this, go to S3, open our bucket and check that our application is indeed in it. Is indeed there, and also check for the presence of your deployment artifact. If it is, enter the commands to copy your application’s URL and paste it into your browser to view your application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*Lk1Z7YhRTSq930YCSK9GHA.png" /></figure><p>● Open your bucket, in our case mybucketkml23, and check for the presence of our application</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/487/1*Y_n_HIVEy-Tgk3tv77MExw.png" /></figure><p>● Navigate to properties, scroll down and stop at website hosting,<br>then copy the access url to your application</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/1*d-Rur5aFREVvw_NbEtKfMg.png" /></figure><p>And you can view your static website</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cUY0HI-37YCwybFo7v7HLg.jpeg" /></figure><p><strong>Conclusion</strong><br>In summary, hosting a static site website on Amazon S3 with continuous integration and continuous deployment (CI/CD) is a powerful solution for developers wishing to optimize the deployment process for their web applications. By combining the reliability and scalability of S3 with<br>CI/CD automation, development teams can achieve faster, more consistent and consistent and reliable deployments, while minimizing the risk of human error.</p><p>This automated process frees up valuable developer time and resources<br>developers, enabling them to focus on innovation and continuous<br>of their applications. What’s more, traceability and version control<br>facilitate team collaboration and problem-solving.<br>By adopting CI/CD for the deployment of static sites on S3, developers can achieve significant efficiency gains, improve the quality of their deployments and deliver an optimal user experience. In ultimately, this approach is essential for companies seeking to remain<br>in an ever-changing digital environment.</p><p>Technical references</p><p>●<a href="https://docs.aws.amazon.com/fr_fr/codepipeline/latest/userguide/tutorialss3deploy.html">https://docs.aws.amazon.com/fr_fr/codepipeline/latest/userguide/tutorialss3deploy.html</a></p><p>● LinkedIn: Lacssock landry</p><p>Tags #DevOps #CICD #training #AWS #cloudcumputing</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0fd116fe58ab" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>