<?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 Abdullah Alaslan on Medium]]></title>
        <description><![CDATA[Stories by Abdullah Alaslan on Medium]]></description>
        <link>https://medium.com/@abdullahalaslan?source=rss-2d9b5fa8d377------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*LPcD_yIYMOeJsT_r_4RknQ.jpeg</url>
            <title>Stories by Abdullah Alaslan on Medium</title>
            <link>https://medium.com/@abdullahalaslan?source=rss-2d9b5fa8d377------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 09:23:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@abdullahalaslan/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[The Future of Cloud Migrations: Exploring AWS Transform]]></title>
            <link>https://abdullahalaslan.medium.com/the-future-of-cloud-migrations-exploring-aws-transform-616bd977fe2b?source=rss-2d9b5fa8d377------2</link>
            <guid isPermaLink="false">https://medium.com/p/616bd977fe2b</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Abdullah Alaslan]]></dc:creator>
            <pubDate>Fri, 16 May 2025 13:38:26 GMT</pubDate>
            <atom:updated>2025-05-16T13:38:26.863Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/568/1*oyepvej6eP8aWJE5fD7RWQ.png" /></figure><p>With AI, we’ve seen many new technologies and conveniences become part of our daily lives. Big companies continue to bring us new services powered by AI. As people working in this industry, we aim to adapt to these technologies and use them to build innovative solutions.</p><p>AWS is not only a pioneer in many innovations but also offers the fastest, most helpful services to users. With AI, many new services have entered our lives. Today, we’ll take a look at one of these: AWS Transform, which AWS introduced as its first agentic AI service. We’ll explore what it does and try a short demo.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8DOfJiyKXWGAMAAD3YTw8A.png" /></figure><h4>AWS Transform</h4><p>AWS Transform provides to support three types of migrations in a secure, fast, and AI-powered way:</p><ul><li>.NET transformation</li><li>VMware workloads to EC2</li><li>Mainframe migration</li></ul><blockquote>It deploys specialized AI agents to automate complex tasks like assessments, code analysis, refactoring, decomposition, dependency mapping, validation, and transformation planning, dramatically reducing project timelines. By executing many tasks in parallel, AWS Transform helps organizations to simultaneously modernize hundreds of applications while maintaining quality and control. Its natural language chat experience and shared workspaces allow cross-organizational and cross-functional teams to collaborate in real time, track progress, and manage transformations from start to finish. The service helps reduce both modernization costs and ongoing maintenance expenses while identifying opportunities to eliminate legacy licensing costs.</blockquote><p>These types of migrations are always critical for companies and for us as engineers. For a migration to succeed, some key points must be considered:</p><ul><li>What are the source resources to be migrated?</li><li>Cost estimation before migration</li><li>Creating a solid migration plan</li><li>Rollback scenarios</li><li>Ensuring minimum downtime</li></ul><p>AWS Transform helps us in these critical areas with AI-powered support. In fact, it shows us that migrations can soon be done with just a few simple configurations. And best of all, there is no extra charge for using this service.</p><p>Let’s now see how to enable AWS Transform and perform a .NET migration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5ncoCaMSq3rxGNgwsm3SnA.png" /></figure><p>When you click <strong>Get Started</strong> in the Transform service, the first step is choosing <strong>Encryption</strong> options. This is an important feature for data security. For now, I’m continuing with the default AWS-managed key, but you can also create your own key using AWS KMS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u5l33osJTpdPav9b-TGvSw.png" /></figure><p>After enabling the service, it’s ready to use. That’s it!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*81Ce8ShvpN-DFHYMhdaQhA.png" /></figure><p>To perform a migration using Transform, you need to add the migration team as <strong>Groups or Users</strong> and assign them to the project. Before that, you need to create these users and groups in <strong>IAM Identity Center</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_4megjFSSlwYfdDdAZm8mg.png" /></figure><p>After logging in with the user I created in IAM Identity Center, I can access AWS Transform under the <strong>Applications</strong> tab. You can either use the default Workspace or create your own.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vn3e7In2okzJFz5r--0D8w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aXZRy2oc0-9NXNksY7EgPw.png" /></figure><p>Here’s where the real magic happens — Transform provides support through an <strong>AI chat</strong>. You can use this chat to configure everything you need. You can also choose to do it by clicking through options, without writing any prompts. For this demo, I’ll continue with <strong>Modernize .NET applications to cross-platform .NET</strong>. As you can see in the screenshot, it can even calculate the estimated cost before migration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/586/1*GMnHmLiKxvZotFkxHN0h_A.png" /></figure><p>You can use your local repository as the source, but I’ll be using a .NET repo I created years ago during my internship, which is on GitHub. Transform takes me to the <strong>Connections</strong> section under <strong>Developer Tools</strong>, where I can link my AWS account with third-party tools like GitHub or Bitbucket.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x5DGUKhysdHfVfGdI-B9ng.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LvYtCowtpzt2kN_oxZAaXQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*6uUOULqKVCdDtgz0sv36bw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/587/1*JqnE2KorpV9i26FL7PyJJg.png" /></figure><p>Once the source is connected, the rest is handled by Transform. You just monitor the dashboard and logs. It scans your GitHub repositories, finds .NET projects suitable for migration, and prepares them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3y4AFkSN3zXvLbBMRoVChQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OLZH0q52SrC7jJOx5imcyQ.png" /></figure><p>It scanned the code in my GitHub repo and listed which projects are written in .NET under the <strong>Supported Projects</strong> section. I chose <strong>Customize the transformation plan</strong>, selected a different repo, and click it to migrate only that one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_2OkmQ7Uki2BGcKVmfvEng.png" /></figure><p>And now, we start…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6KRgjXre3--G6uBozNwy1w.png" /></figure><p>After about one hour, it completed transforming a 1201-line .NET project to .NET 8.0. It provides detailed statistics on the dashboard, which can also be downloaded as a JSON report.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-fhxILQiR1dgmyTApTMaVQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZN0ncGmSLMxKe8rpOiVbZw.png" /></figure><p>When I checked my GitHub repo, I saw that it had modified 163 files and pushed the changes to a new branch. We can later debug the project to verify if everything works correctly and see what was affected, but I’ll skip that part for now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HIqEBOurVUsV0lnCzttLrQ.png" /></figure><h4>Summary</h4><p>As we saw in this demo, AI technologies are becoming more integrated into our daily work. The way AWS Transform works — and how it handles everything while positioning us mainly as observers and approvers — gives us a clue about the future.</p><p>Cloud providers like AWS might soon evolve many of their services to follow this model. That’s why we must always follow such developments and know how to use them in the most efficient way for our customers.</p><p>AI agents will make our jobs easier, but we are the ones who will guide them and integrate them into our systems.</p><p>For detailed documentation and more information, you can check the pages below.</p><p><a href="https://aws.amazon.com/tr/blogs/aws/aws-transform-for-net-the-first-agentic-ai-service-for-modernizing-net-applications-at-scale/">AWS Transform for .NET, the first agentic AI service for modernizing .NET applications at scale | Amazon Web Services</a></p><p><a href="https://aws.amazon.com/tr/transform/">https://aws.amazon.com/tr/transform/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=616bd977fe2b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automating Backups for AWS EC2 Volumes]]></title>
            <link>https://abdullahalaslan.medium.com/automating-backups-for-aws-ec2-volumes-695fe68b84a8?source=rss-2d9b5fa8d377------2</link>
            <guid isPermaLink="false">https://medium.com/p/695fe68b84a8</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[ec2]]></category>
            <category><![CDATA[backup]]></category>
            <category><![CDATA[terraform]]></category>
            <dc:creator><![CDATA[Abdullah Alaslan]]></dc:creator>
            <pubDate>Mon, 16 Dec 2024 12:43:41 GMT</pubDate>
            <atom:updated>2024-12-16T12:43:41.228Z</atom:updated>
            <content:encoded><![CDATA[<p>In today’s world, as applications become increasingly critical, the importance of backups and disaster recovery strategies grows. Backups used to be time-consuming, complicated, and costly. However, this process has become much faster and easier with the integration of cloud systems into our lives. In this blog, I’ll explain how to automatically back up the disks, or volumes, of your AWS EC2 instances.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p-WAyzvYnCBQD840o7Y-Vg.png" /></figure><p><strong>What Are EC2 Volumes?</strong></p><p>If you’re researching backups, you likely already know what volumes are and where they’re used. However, to briefly recap: volumes are the disks provided under AWS’s Elastic Block Storage (EBS) service. These volumes can be attached to EC2 instances and serve as persistent storage.</p><p><strong>Why Are Backups Important?</strong></p><p>The importance of backing up volumes varies depending on your specific use case. Here are a few examples:</p><ul><li><strong>Instance Recovery:</strong> If you lose access to an EC2 instance, you can restore it from an earlier backup to get it running again.</li><li><strong>Data Recovery:</strong> For stateful applications, if data is accidentally deleted from the current volume, you can retrieve it from a previous backup.</li></ul><p>Backups are your safety net, ensuring you can recover both your system and critical data in unexpected situations.</p><p><strong>AWS Data Lifecycle Manager (DLM)</strong></p><p>AWS Data Lifecycle Manager (DLM) simplifies the process of managing backups for your EBS volumes. With DLM, you can create lifecycle policies to:</p><ul><li><strong>Automate Snapshots</strong>: Schedule snapshots for your EBS volumes at regular intervals.</li><li><strong>Set Retention Policies:</strong> Define how long snapshots should be kept before being deleted.</li><li><strong>Automate Cleanup</strong>: Automatically delete older snapshots, helping optimize costs.</li></ul><p><strong>How to Automate Backups with Terraform</strong></p><p>To make this process even more efficient, you can use <strong>Terraform</strong>, an Infrastructure as Code (IaC) tool, to manage your backup lifecycle policies. Here’s a basic example of how to define a DLM policy with Terraform:</p><pre>data &quot;aws_iam_policy_document&quot; &quot;assume_role&quot; {<br>  statement {<br>    effect = &quot;Allow&quot;<br><br>    principals {<br>      type        = &quot;Service&quot;<br>      identifiers = [&quot;dlm.amazonaws.com&quot;]<br>    }<br><br>    actions = [&quot;sts:AssumeRole&quot;]<br>  }<br>}<br><br>resource &quot;aws_iam_role&quot; &quot;dlm_lifecycle_role&quot; {<br>  name               = &quot;dlm-lifecycle-role&quot;<br>  assume_role_policy = data.aws_iam_policy_document.assume_role.json<br>}<br><br>data &quot;aws_iam_policy_document&quot; &quot;dlm_lifecycle&quot; {<br>  statement {<br>    effect = &quot;Allow&quot;<br><br>    actions = [<br>      &quot;ec2:CreateSnapshot&quot;,<br>      &quot;ec2:CreateSnapshots&quot;,<br>      &quot;ec2:DeleteSnapshot&quot;,<br>      &quot;ec2:DescribeInstances&quot;,<br>      &quot;ec2:DescribeVolumes&quot;,<br>      &quot;ec2:DescribeSnapshots&quot;,<br>    ]<br><br>    resources = [&quot;*&quot;]<br>  }<br><br>  statement {<br>    effect    = &quot;Allow&quot;<br>    actions   = [&quot;ec2:CreateTags&quot;]<br>    resources = [&quot;arn:aws:ec2:*::snapshot/*&quot;]<br>  }<br>}<br><br>resource &quot;aws_iam_role_policy&quot; &quot;dlm_lifecycle&quot; {<br>  name   = &quot;dlm-lifecycle-policy&quot;<br>  role   = aws_iam_role.dlm_lifecycle_role.id<br>  policy = data.aws_iam_policy_document.dlm_lifecycle.json<br>}<br><br>resource &quot;aws_dlm_lifecycle_policy&quot; &quot;example&quot; {<br>  description        = &quot;example DLM lifecycle policy&quot;<br>  execution_role_arn = aws_iam_role.dlm_lifecycle_role.arn<br>  state              = &quot;ENABLED&quot;<br><br>  policy_details {<br>    resource_types = [&quot;VOLUME&quot;]<br><br>    schedule {<br>      name = &quot;hourly snapshots&quot;<br><br>      create_rule {<br>        interval      = 1<br>        interval_unit = &quot;HOURS&quot;<br>        times         = [&quot;12:00&quot;]<br>      }<br><br>      retain_rule {<br>        count = 14<br>      }<br><br>      tags_to_add = {<br>        SnapshotCreator = &quot;DLM&quot;<br>      }<br><br>      copy_tags = false<br>    }<br><br>    target_tags = {<br>      Snapshot = &quot;true&quot;<br>    }<br>  }<br>}</pre><p><strong>Additional Key Variables for AWS Data Lifecycle Manager</strong></p><p>Before diving further, let’s highlight some important variables you need to consider when working with <strong>AWS Data Lifecycle Manager (DLM)</strong>. These details ensure your backup strategy is set up correctly and efficiently.</p><p><strong>DLM Role and Permissions</strong></p><p>For DLM to create snapshots, it requires an <strong>IAM Role</strong> with the appropriate permissions. This role must have a policy attached that grants access to manage snapshots. AWS provides a managed policy called <strong>AWSDataLifecycleManagerServiceRolePolicy</strong>, which can be used for this purpose.</p><p><strong>Key Variables in DLM Policy</strong></p><p>Below are the essential components to understand when defining a DLM policy:</p><p>1. resource_types</p><p>Since this blog focuses on volume backups, we set resource_types to <strong>VOLUME</strong>. However, keep in mind that DLM is not limited to volume backups—it supports other use cases as well.</p><p>2. create_rule</p><p>This block specifies how often snapshots should be taken. In the provided Terraform code, snapshots are scheduled every hour based on <strong>UTC time</strong>. You can adjust the interval to fit your requirements.</p><p>3. retain_rule</p><p>This defines how long snapshots will be retained. For example, if snapshots are taken hourly, setting retain_rule to <strong>14</strong> ensures that snapshots from the last 14 hours are retained while older ones are automatically deleted.</p><p>4. tags_to_add</p><p>This variable specifies any additional tags that should be added to the created snapshots. Tags can help you organize and identify resources more easily.</p><p>5. copy_tags</p><p>When set to true, this allows existing tags from the source volume to be copied to the snapshot. In this example, the default value <strong>false</strong> is used, meaning source tags will not be carried over.</p><p>6. target_tags</p><p>This is a crucial setting. It identifies which volumes should be backed up based on their tags. For example, if you assign a tag like <strong>Snapshot=true</strong> to specific volumes, DLM will automatically back up those volumes.</p><p><strong>Viewing the Policy in the AWS Management Console</strong></p><p>Once you apply the Terraform code, you can navigate to the <strong>EC2 Dashboard</strong> under the <strong>Lifecycle Manager</strong> section to view your policy rules. Here, you can see the details of the lifecycle policy, including the schedule, retention rules, and targeted volumes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IYy1X7DGnH__483FtZ6u4Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*yd2VH62xwH8luWMp0b87gA.png" /></figure><p>Here is the example snapshot!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/933/1*x1wNWQfNlOh6GiY2Kt0XfA.png" /></figure><blockquote>You can also back up snapshots to a different region if needed.</blockquote><p>If you want to explore more and create custom policies for different use cases, don’t forget to check the <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshot-lifecycle.html">AWS Documentation</a>. For customizing variables in Terraform, refer to the <a href="https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/dlm_lifecycle_policy">Terraform Documentation</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=695fe68b84a8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[2-Week Roadmap to Achieve the AWS DevOps Engineer Professional Exam]]></title>
            <link>https://abdullahalaslan.medium.com/2-week-roadmap-to-achieve-the-aws-devops-engineer-professional-exam-54d5930e8910?source=rss-2d9b5fa8d377------2</link>
            <guid isPermaLink="false">https://medium.com/p/54d5930e8910</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[exam]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[software]]></category>
            <dc:creator><![CDATA[Abdullah Alaslan]]></dc:creator>
            <pubDate>Wed, 29 Nov 2023 12:56:08 GMT</pubDate>
            <atom:updated>2023-11-29T13:10:15.509Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>Becoming an AWS DevOps Engineer Professional is a significant milestone in my cloud computing journey. AWS offers a comprehensive certification to validate your expertise in designing and implementing scalable and secure DevOps solutions. If you’re gearing up to take the AWS DevOps Engineer Professional exam in just two weeks, strategic preparation is key. In this blog, I’ll try to guide you through a focused and effective roadmap to help you succeed.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*8p4WTAPrNvLcqEktw7YSPg.png" /></figure><h3>Week 1: Planning and Taking Notes</h3><p><strong>Understand the Exam Blueprint:</strong> Start by thoroughly reviewing the AWS DevOps Engineer Professional exam guide. Familiarize yourself with the domains, objectives, and the percentage of questions allocated to each section. This will give you a clear understanding of where to focus your efforts.</p><p><strong>Assess Your Current Knowledge:</strong> Take a practice test or two to gauge your current understanding of the exam topics. This will help identify your strengths and weaknesses, allowing you to tailor your study plan accordingly.</p><p><strong>Explore Whizlabs Course:</strong> Invest time in Whizlabs’ AWS DevOps Engineer Professional course. Their structured content can complement your study plan, offering in-depth explanations, video tutorials, and hands-on labs. Use this resource to reinforce your understanding of key concepts.</p><p><strong>Focus on Weak Areas:</strong> Dedicate the first few days to deep-diving into your weaker areas. Utilize AWS documentation, whitepapers, and official study materials to strengthen your understanding of key concepts.</p><p><strong>Hands-on Labs:</strong> DevOps is a hands-on field, and the same applies to your preparation. Spend time working on AWS services and tools in a practical setting. Set up environments, deploy applications, and troubleshoot issues to gain real-world experience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/371/1*uJjM2av5EAlvfocFqaAMfQ.png" /></figure><h3>Week 2: Practice, Practice and More Practice</h3><p><strong>Review Exam Scenarios:</strong> Explore common scenarios that might be presented in the exam. This could involve designing a CI/CD pipeline, optimizing performance, or implementing security measures. Ensure you understand the best practices and AWS services relevant to each scenario.</p><p><strong>Deep Dive into Key Services:</strong> Focus on mastering key AWS services such as AWS CodePipeline, AWS CodeBuild, AWS CodeDeploy, AWS CloudFormation, and others. Understand how these services interact and complement each other in a DevOps environment.</p><p><strong>Mock Exams:</strong> Simulate exam conditions by taking multiple mock exams. This not only helps you practice time management but also exposes you to the format and types of questions you’ll encounter. Use the results to fine-tune your focus on remaining weak areas.</p><p><strong>Documentation Review:</strong> In the final days, revisit AWS documentation for the services and concepts you’ve covered. Pay attention to recent updates and announcements, as AWS evolves, and the exam may include the latest features.</p><p><strong>Peer Discussions:</strong> Engage in discussions with friends who are also preparing for the exam. Share insights, clarify doubts, and learn from each other’s experiences. This can provide different perspectives and enhance your overall understanding.</p><h3><strong>Exam Day Tips:</strong></h3><p><strong>Rest Well:</strong> Ensure you get a good night’s sleep before the exam. A well-rested mind performs better.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*J2CsRGVilshknn3yrlU-cw.gif" /></figure><p><strong>Time Management:</strong> During the exam, manage your time wisely. If you encounter a challenging question, consider flagging it for review and moving on to maximize your overall score.</p><p><strong>Read Questions Carefully:</strong> Pay close attention to the wording of questions. AWS exams often include nuances that require careful consideration.</p><p><strong>Stay Calm:</strong> Keep calm and maintain a positive mindset. If you’ve followed your preparation plan diligently, you’re well-equipped to tackle the challenges.</p><p>In conclusion, while two weeks might seem like a tight timeframe, a focused and strategic approach can significantly enhance your chances of success in the AWS DevOps Engineer Professional exam. Good luck on your certification journey!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54d5930e8910" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simple Todo List NodeJS Web Application CI/CD Pipeline with GCP]]></title>
            <link>https://medium.com/devopsturkiye/simple-todo-list-nodejs-web-application-ci-cd-pipeline-with-gcp-5bf25a7cdd30?source=rss-2d9b5fa8d377------2</link>
            <guid isPermaLink="false">https://medium.com/p/5bf25a7cdd30</guid>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[mongo]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <dc:creator><![CDATA[Abdullah Alaslan]]></dc:creator>
            <pubDate>Tue, 19 Jan 2021 09:55:14 GMT</pubDate>
            <atom:updated>2021-01-22T01:40:12.713Z</atom:updated>
            <content:encoded><![CDATA[<ul><li>The project builds a Kubernetes cluster on a GCP using GKE to run a simple todo list web application written in NodeJS.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/836/0*U_GJWJJmktzEZCYK.gif" /></figure><blockquote>Tools</blockquote><ul><li><strong>Github </strong>: Source Code Management</li><li><strong>CloudBuild </strong>: This is the build server which handle the compiling and building the containers and push it to GCR and deploy to Kubernetes Cluster. Also test cases run here.</li><li><strong>GKE </strong>: Kubernetes service provided by GCP. Cluster management is much easier with this service.</li><li><strong>GCR </strong>: This is the private registry to manage the pool of our container images.</li><li><strong>IAM </strong>: You use this service to control who is authenticated (signed in) and authorized (has permissions) to use resources.</li><li><strong>MongoDB Atlas</strong> : This is the cloud database service for application backend service.</li></ul><blockquote>App</blockquote><ul><li>Web application written in NodeJS. You need to install npm modules for it work.</li><li>This app is used to create to-do list. You can add, delete and list items.</li></ul><pre>npm install</pre><ul><li>I used Express.js module for a minimal and flexible Node.js web application framework. Also used ejs for need to use javascript codes in HTML.</li></ul><pre>npm install ejs<br>npm install express</pre><h3>List,Create,Delete Functions</h3><ul><li>I wrote as a function for simplicity and used routing.</li></ul><pre>// GET METHOD<br>app.route(&quot;/&quot;)<br>    .get(routings.getToDo)<br>//POST METHOD<br>    .post(routings.postToDo);<br>//DELETE<br>app.route(&quot;/remove/:id&quot;)<br>    .get(routings.deleteToDo)</pre><pre>function getToDo(req, res) {<br>    TodoTask.find({}, (err, tasks) =&gt; {<br>        res.render(&quot;todo.ejs&quot;, { todoTasks: tasks });</pre><pre>    });<br>}</pre><pre>function postToDo(req, res) {<br>    const todoTask = new TodoTask({<br>        content: req.body.content,<br>        check: true<br>    });<br>    try {<br>        todoTask.save();<br>        res.redirect(&quot;/&quot;);<br>    } catch (err) {<br>        res.redirect(&quot;/&quot;);<br>    }</pre><pre>}</pre><pre>function deleteToDo(req, res) {<br>    const id = req.params.id;<br>    TodoTask.findByIdAndRemove(id, err =&gt; {<br>        if (err) return res.send(500, err);<br>        res.redirect(&quot;/&quot;);<br>    });<br>}</pre><ul><li>Created dockerfile for dockerize application and then create an image.</li></ul><h3>Dockerfile:</h3><pre>FROM node:12</pre><pre>WORKDIR /usr/src/app //</pre><pre>COPY package*.json ./</pre><pre>RUN npm update</pre><pre>COPY . .</pre><pre>EXPOSE 8080</pre><pre>CMD [ &quot;npm&quot;, &quot;start&quot; ]</pre><ul><li>FROM node indicates the base image from which the application you are building. In this case we are using the official Image for Node.js.</li><li>WORKDIR defines the working directory of a Docker container.</li><li>COPY instructs Docker to copy files from a specific location in a local file into the Docker image itself. Copy takes in a src and destination. The package.json file holds metadata relevant to the project and provides information such as a list of modules or dependencies that the application relies on.</li><li>RUN is the command to execute any commands during the building process.</li><li>EXPOSE instructs Docker that the container will be listening on the specified network port at runtime.</li><li>CMD is the command the container executes by default to launch the built image.</li></ul><blockquote>Database</blockquote><ul><li>Used MongoDB Atlas. I used cause of i did not have to set up a database in kubernetes and has a very usefully mongoose package with nodejs. I created Cluster in Cloud and connect to my project with credentials. We kept credentials in .env file at local but can keep the credentials different place in the cloud. I’ll explain in build phase.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/0*f68PqkFAhCd98Gjh.png" /></figure><blockquote>Test</blockquote><ul><li>I used mocha and chai plugins to backend run tests.</li><li><strong>Mocha </strong>: is a testing library for Node.js, created to be a simple, extensible, and fast.</li><li><strong>Chai and Should</strong> : is an assertion library used with Mocha.</li></ul><pre>npm install mocha chai should</pre><ul><li>For example, we are testing the ‘/’ action function that brings list. If response is 200 and json type, test is passing.</li></ul><pre>describe(&#39;/GET todo Lists&#39;, () =&gt; {<br>    it(&#39;it should GET all the lists&#39;, (done) =&gt; {<br>      chai.request(server)<br>        .get(&#39;/&#39;)<br>        .end((err, res) =&gt; {</pre><pre>          res.status.should.be.equal(200);</pre><pre>          res.should.be.json;</pre><pre>          done();<br>        });<br>    });<br>  })</pre><pre>});</pre><blockquote>Pipeline</blockquote><ul><li>Building and deploying code to GKE Cluster with CloudBuild. We used cloudbuild.yaml for managing to the process. There is automatic deployment support for kubernetes environment with Dockerfile in GCP. But tests need to run during the build phase. Therefore used cloudbuild.yaml.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/409/0*a7bkDXv5GTdTZKX_.png" /></figure><h3>cloudbuild.yaml:</h3><pre>---<br>  # define the build steps<br>steps:<br>  # stage1 install the app dependencies<br>  - name: &#39;gcr.io/cloud-builders/npm&#39;<br>    args: [&#39;install&#39;]<br>  # stage2 create .env file<br>  - name: &#39;gcr.io/cloud-builders/npm&#39;<br>    args: [&#39;run&#39;, &#39;create-env&#39;]<br>    env:<br>    - &#39;DB_CONNECT=${_SECRET_KEY}&#39;<br>  # stage3 execute the tests<br>  - name: &#39;gcr.io/cloud-builders/npm&#39;<br>    args: [&#39;run&#39;, &#39;test&#39;]</pre><pre>  # stage4 build an artifact using the docker builder<br>  - name: &#39;gcr.io/cloud-builders/docker&#39;<br>    args: [&#39;build&#39;, &#39;-t&#39;, &#39;gcr.io/$_PROJECT_ID/$_REPO_NAME:latest&#39;, &#39;.&#39;]</pre><pre>  - name: &#39;gcr.io/cloud-builders/docker&#39;<br>    args: [&#39;push&#39;, &#39;gcr.io/$_PROJECT_ID/$_REPO_NAME:latest&#39;]</pre><pre>  # stage5 deploy container image to GKE<br>  - name: &#39;gcr.io/cloud-builders/gke-deploy&#39;<br>    args:<br>    - run<br>    - --filename=kubernetes.yaml<br>    - --image=gcr.io/$_PROJECT_ID/$_REPO_NAME:latest<br>    - --location=us-central1-c<br>    - --cluster=mycluster<br>  <br>images:<br>  - &#39;gcr.io/$PROJECT_ID/$_REPO_NAME:latest&#39;</pre><ul><li>Note: Before the step, We create cluster, load balancer service and node pool in Kubernetes Engine Service with default configuration by use Console.</li><li><em>In stage1</em>, installed npm modules as needed for run test.</li><li><em>In stage2</em>, we should not push db credentials(.env file) to remote repository. So, we need connect to db for run test and credentials. First of all, Add your env vars to the ‘variables’ section in one of your build trigger settings.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/248/0*5pgMGmGvN50bnfmz.png" /></figure><p>Configure cloudbuild.yaml to read in variables from your build trigger, set them as env vars, and write all env vars in a local .env file and then add create-env script to package.json.</p><pre>&quot;scripts&quot;: {<br>    &quot;start&quot;: &quot;nodemon server.js&quot;,<br>    &quot;test&quot;: &quot;mocha --exit&quot;,<br>    &quot;create-env&quot;: &quot;printenv &gt; .env&quot;</pre><p>Read env vars from .env to your app (server.js)</p><pre>npm install dotenv</pre><pre>const dotenv = require(&quot;dotenv&quot;);<br>dotenv.config();</pre><p>You deploy your app by triggering the cloudbuild and your app will have access to the env vars.</p><ul><li><em>In stage3</em>, execute the tests and see result.</li><li><em>In stage4</em>, we tell the Docker to build the image and give it the specified tag -t and push to private GCR service.</li><li><em>In stage5</em>, deploying application with latest docker image to the mycluster using kubernetes.yaml</li><li>Create and deploy application. Run application with my latest GCR image.</li></ul><h3>kubernetes.yaml:</h3><pre>---<br>apiVersion: &quot;apps/v1&quot;<br>kind: &quot;Deployment&quot;<br>metadata:<br>  name: &quot;todoapp&quot;<br>  namespace: &quot;default&quot;<br>  labels:<br>    app: &quot;todoapp&quot;<br>spec:<br>  replicas: 1<br>  selector:<br>    matchLabels:<br>      app: &quot;todoapp&quot;<br>  template:<br>    metadata:<br>      labels:<br>        app: &quot;todoapp&quot;<br>    spec:<br>      containers:<br>      - name: &quot;todoapp&quot;<br>        image: &quot;<a href="https://medium.com/gcr.io/$_PROJECT_ID/$_REPO_NAME">gcr.io/project-name/</a>gcr-repo:latest&quot;<br>        imagePullPolicy: Always</pre><blockquote>Orchestration</blockquote><ul><li>Push Docker image from CloudBuild to GCR</li><li>Deploy last image in GCR to GKE Cluster using CloudBuild and cloudbuild.yaml</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/788/0*Aeqpa7o7VqfzuLZ_.png" /></figure><ul><li>Application running on 2 node.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/0*E_0me2VgisocygDD.png" /></figure><ul><li>You can access to this external link <a href="http://35.232.122.237/">http://35.232.122.237:80</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*c7zt2SecFS0N8fp6.png" /></figure><h3>Pipeline Schema</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/455/0*I83lmsLuDlEYH8F5.png" /></figure><h3>My Decisions and Reasons</h3><h3>Why NodeJS Application?</h3><ul><li>It’s easy to write and you can handle dependencies with a single command. It’s open source, So very easy to find helpful source in web.</li></ul><h3>Why CloudBuild?</h3><ul><li>Because If I will working on GCP, I prefer gcp build service. CloudBuild is very easy making integration to pipeline. And You managing build and deploy process in one single yaml file. Simplicity is the key.</li></ul><h3>Why GKE?</h3><ul><li>GKE is covered and will manage all of it for you. Autoscale, networking, manage nodes etc. Automating deployment to GKE is easy too. GKE supports the container format, and makes it simple to store and access your private Docker images. Finally, Google Cloud Platform which also offers 300$ free credit.</li></ul><p>More details → <a href="https://github.com/abdullahalaslan/nodejs-gcp-pipeline">https://github.com/abdullahalaslan/nodejs-gcp-pipeline</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5bf25a7cdd30" width="1" height="1" alt=""><hr><p><a href="https://medium.com/devopsturkiye/simple-todo-list-nodejs-web-application-ci-cd-pipeline-with-gcp-5bf25a7cdd30">Simple Todo List NodeJS Web Application CI/CD Pipeline with GCP</a> was originally published in <a href="https://medium.com/devopsturkiye">Devops &amp; AI Türkiye☁️ 🐧 🐳 ☸️</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[NodeJS Web Application CI/CD Pipeline on AWS]]></title>
            <link>https://abdullahalaslan.medium.com/nodejs-web-application-ci-cd-pipeline-on-aws-afec69a68b2e?source=rss-2d9b5fa8d377------2</link>
            <guid isPermaLink="false">https://medium.com/p/afec69a68b2e</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[pipeline]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Abdullah Alaslan]]></dc:creator>
            <pubDate>Sat, 02 Jan 2021 12:59:24 GMT</pubDate>
            <atom:updated>2021-01-02T13:08:01.234Z</atom:updated>
            <content:encoded><![CDATA[<ul><li>The project builds a Kubernetes cluster on a AWS using EKS to run a simple ‘Hello World’ web application written in NodeJS.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n0xPJtQa7V6_qdBCtnZbGQ.png" /></figure><blockquote>Tools</blockquote><ul><li><strong>Github </strong>: Source Code Management</li><li><strong>CodeBuild </strong>: This is the CI server which handle the compiling and building the containers and push it to ECR</li><li><strong>CodePipeline </strong>: This is service required for automated as a pipeline</li><li><strong>EKS </strong>: Kubernetes service provided by AWS. Cluster management is much easier with this service.</li><li><strong>ECR </strong>: This is the private registry to manage the pool of our container images</li><li><strong>Terraform </strong>: Fast and easy service install-uninstall by IAC</li><li><strong>IAM </strong>: You use this service to control who is authenticated (signed in) and authorized (has permissions) to use resources.</li></ul><blockquote>App</blockquote><ul><li>Simple web application written in NodeJS. You need to install npm modules for it work. But If you use Docker, It’s not necessary. Because npm modules already comes from image.</li></ul><h3>hello-world.js:</h3><pre>var http = require(&#39;http&#39;);</pre><pre>var server = http.createServer(function(req, res) {<br>res.writeHead(200);<br>res.write(&#39;Hello World From NodeJS Abdullah&#39;);<br>res.end();<br>});<br>server.listen(8080)</pre><h3>Dockerfile:</h3><pre>FROM node:12</pre><pre>WORKDIR /usr/src/app</pre><pre>COPY package*.json ./</pre><pre>RUN npm install</pre><pre>COPY . .</pre><pre>EXPOSE 8080</pre><pre>CMD [ &quot;node&quot;, &quot;hello-world.js&quot; ]</pre><blockquote>Source Control</blockquote><ul><li>Using Github and Git. I used cause of public resource. You can check my repository to here. <a href="https://github.com/abdullahalaslan/aws-eks-pipeline">https://github.com/abdullahalaslan/aws-eks-pipeline</a></li></ul><blockquote>Infrastructure</blockquote><ul><li>Set up Pipeline services with terraform scripts (tf folder).These scripts just written for only CodeBuild,CodePipeline.</li></ul><p>tf folder : set up CodeBuild, CodePipeline services and define environment variables. Also set IAM roles to services.</p><blockquote>CI/CD</blockquote><ul><li>Building and deploying code to EKS Cluster with CodeBuild. We used buildspec.yml for managing to the process.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/0*1vI9jBGlXoKO6mgh.png" /></figure><h3>buildspec.yml:</h3><pre>---<br>    version: 0.2<br>    phases:<br>      install:<br>        runtime-versions:<br>          nodejs: 12<br>        commands:<br>          - curl -o aws-iam-authenticator <a href="https://amazon-eks.s3.us-west-2.amazonaws.com/1.18.9/2020-11-02/bin/linux/amd64/aws-iam-authenticator">https://amazon-eks.s3.us-west-2.amazonaws.com/1.18.9/2020-11-02/bin/linux/amd64/aws-iam-authenticator</a><br>          - curl -sS -o kubectl <a href="https://amazon-eks.s3-us-west-2.amazonaws.com/1.14.6/2019-08-22/bin/linux/amd64/kubectl">https://amazon-eks.s3-us-west-2.amazonaws.com/1.14.6/2019-08-22/bin/linux/amd64/kubectl</a><br>          - chmod +x ./kubectl ./aws-iam-authenticator<br>          - export PATH=$PWD/:$PATH<br>      pre_build:<br>          commands:<br>            - $(aws ecr get-login --no-include-email)<br>            - export KUBECONFIG=$HOME/.kube/config<br>      build:<br>        commands:<br>          - docker build -t $REPOSITORY_URI .<br>          - docker tag $REPOSITORY_URI:latest $REPOSITORY_NAME:latest<br>    <br>      post_build:<br>        commands:<br>          - docker push $REPOSITORY_URI:latest<br>          - CREDENTIALS=$(aws sts assume-role --role-arn $EKS_KUBECTL_ROLE_ARN --role-session-name Case-User --duration-seconds 900)<br>          - export AWS_ACCESS_KEY_ID=&quot;$(echo ${CREDENTIALS} | jq -r &#39;.Credentials.AccessKeyId&#39;)&quot;<br>          - export AWS_SECRET_ACCESS_KEY=&quot;$(echo ${CREDENTIALS} | jq -r &#39;.Credentials.SecretAccessKey&#39;)&quot;<br>          - export AWS_SESSION_TOKEN=&quot;$(echo ${CREDENTIALS} | jq -r &#39;.Credentials.SessionToken&#39;)&quot;<br>          - export AWS_EXPIRATION=$(echo ${CREDENTIALS} | jq -r &#39;.Credentials.Expiration&#39;)<br>          - aws eks update-kubeconfig --name $EKS_CLUSTER_NAME<br>          - kubectl apply -f service.yaml<br>          - kubectl apply -f deployment.yaml</pre><ul><li><em>Note</em>: Amazon EKS uses IAM to provide authentication to your Kubernetes cluster through the AWS IAM authenticator for Kubernetes. You can configure the stock kubectl client to work with Amazon EKS by installing the AWS IAM authenticator for Kubernetes and modifying your kubectl configuration file to use it for authentication.</li><li>I made defined variables as environment variables in codebuild. For example : $REPOSITORY_URI.</li><li>In Pre-Build step, login to ECR service.</li><li>In Build step, create a image and set tags.</li><li>In Post-Build step, the image created is push to ECR service. We create kubectl role in IAM and assign to this variable EKS_KUBECTL_ROLE_ARN.</li></ul><pre>{<br>    &quot;Version&quot;: &quot;2012-10-17&quot;,<br>    &quot;Statement&quot;: [<br>        {<br>            &quot;Effect&quot;: &quot;Allow&quot;,<br>            &quot;Action&quot;: &quot;eks:Describe*&quot;,<br>            &quot;Resource&quot;: &quot;*&quot;<br>        }<br>    ]<br>}</pre><ul><li>We assume the session user (Case-User)to the kubectl role. Cause of it is must have for working with kubectl command.</li><li>Updated kubeconfig in Cluster.</li><li>Create LoadBalancer type service and expose on port 8080</li></ul><pre>---<br>apiVersion: v1<br>kind: Service<br>metadata:<br>  name: nodejs-app<br>spec:<br>  type: LoadBalancer<br>  ports:<br>    - port: 80<br>      targetPort: 8080<br>  selector:<br>    app: nodejs-app</pre><ul><li>Create and deploy application. Run application with my latest ECR image.</li></ul><pre>---<br>apiVersion: apps/v1<br>kind: Deployment<br>metadata:<br>  labels:<br>    app: nodejs-app<br>  name: nodejs-app<br>  namespace: default<br>spec:<br>  replicas: 1<br>  selector:<br>    matchLabels:<br>      app: nodejs-app<br>  template:<br>    metadata:<br>      labels:<br>        app: nodejs-app<br>    spec:<br>      containers:<br>        - name: status<br>          image: 574868243623.dkr.ecr.eu-central-1.amazonaws.com/hello-ecrrepository:latest<br>          ports:<br>            - containerPort: 8080</pre><blockquote>Orchestration</blockquote><ul><li>Push Docker image from Codebuild to ECR</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/951/0*FHe13RkBqu23B-_7.png" /></figure><ul><li>Deploy last image in ECR to EKS Cluster using CodeBuild and buildspec.yml</li><li>Application running on one node. Desired size: 1</li><li>You can access your application to ELB DNS link.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/820/0*PBrFZP7hnBE5KEU_.png" /></figure><h3>Pipeline Schema</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/633/0*QsKhn7OBmWMyZnoP.png" /></figure><h3>My Decisions and Reasons</h3><h3>Why NodeJS Application?</h3><ul><li>It’s easy to write and you can handle dependencies with a single command. It’s open source, So very easy to find helpful source in web.</li></ul><h3>Why CodeBuild?</h3><ul><li>Because If I will working on AWS, I prefer aws build service. CodeBuild is very easy making integration to pipeline dnd you managing build and deploy process in one single yaml file. Simplicity is the key.</li></ul><h3>Why EKS?</h3><ul><li>If you want the flexibility to integrate externally with the open-source Kubernetes community, spending the additional effort on setting up EKS may be the better option. Also my experience always be on EKS.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=afec69a68b2e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Git Kullanımında Yapılandırma Seçenekleri]]></title>
            <link>https://medium.com/devopsturkiye/git-kullan%C4%B1m%C4%B1nda-yap%C4%B1land%C4%B1rma-se%C3%A7enekleri-a47268ddb630?source=rss-2d9b5fa8d377------2</link>
            <guid isPermaLink="false">https://medium.com/p/a47268ddb630</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[workflow]]></category>
            <category><![CDATA[azure-devops]]></category>
            <category><![CDATA[branch]]></category>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[Abdullah Alaslan]]></dc:creator>
            <pubDate>Mon, 20 Apr 2020 14:39:43 GMT</pubDate>
            <atom:updated>2020-09-02T10:35:51.179Z</atom:updated>
            <content:encoded><![CDATA[<h3>Mono Repo and Multiple Repo</h3><p><strong>Mono Repo</strong>; tüm source code’un tek bir repository üzerinde muhafaza edilmesi yöntemidir. Bu yapılandırma yöntemi ile tüm kullanıcıların erişimi tek bir repository üzerinden sağlanır. Tek bir repoyu clone’layarak repo üzerinde işleme başlanılabilir.</p><p><strong>Multiple Repo</strong>; source’un bir proje çatısı altında farklı repolar üzerinde saklanması yöntemidir. Bu yöntem ile her bir repo üzerinde ayrı ayrı configuration ve CI/CD süreçleri tanımlanabilir.</p><p>Bu konu ile alakalı altta paylaştığım iki makaleyi okuyabilirsiniz.</p><ul><li><a href="https://medium.com/@pavanbelagatti/microservices-mono-repo-vs-multiple-repositories-6e139b5ca44a"><strong>https://medium.com/@pavanbelagatti/microservices-mono-repo-vs-multiple-repositories-6e139b5ca44a</strong></a></li><li><a href="https://medium.com/@mattklein123/monorepos-please-dont-e9a279be011b"><strong>https://medium.com/@mattklein123/monorepos-please-dont-e9a279be011b</strong></a></li></ul><h3>Git Workflow</h3><p><strong>Feature Branch Workflow</strong>; Her bir geliştirme için masterdan clonelanan feauture branchleri aracılığıyla iş akışının ilerlemesidir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/701/1*lbMM5mDA3nqmTcEYR8_j1Q.png" /><figcaption>Feature Workflow</figcaption></figure><p><strong>GitFlow Workflow</strong>; farklı branch dallarına farklı görevler verir ve o dalların hangi durumlarda kullanılabileceği sınırlarını tanımlar. Masterdan farklı olarak development, release, feature ve hotfix gibi branch dalları kullanılabilir. Büyük projelerin yönetimi için kullanışlı bir branch modelidir. Projeyi sürümlerine ayırma ve versiyonlama konusunda daha avantajlı ve detaycı bir yöntemdir. 2010&#39;da yayınlanan aşağıdaki makale ile duyurulmuştur. Okumak isterseniz diye paylaşıyorum.</p><ul><li><a href="https://nvie.com/posts/a-successful-git-branching-model/"><strong>https://nvie.com/posts/a-successful-git-branching-model/</strong></a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/569/1*rXXRkjZH26CCAhKVDpM9OQ.png" /><figcaption>GitFlow Workflow</figcaption></figure><p><strong>Forking Workflow</strong>; modelinde geliştiriciye localinde ve sunucu tarafında olmak üzere 2 repo sağlanır. Bu repolar merkezi repodan clonelanır. Ağırlıklı olarak open-source projelerde kullanılır. Kullanıcılar sunucu tarafındaki repolarına kodlarını yürütürler.Merkezi repoya ihtiyaç olmadan entegrasyon yapılabilir. Merkezi repoya sadece proje sorumlusu bu geliştirmeleri merge edebilir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*6hy975PdL6FNOtbl54g0dA.png" /><figcaption>Forking Workflow</figcaption></figure><h3>Pull Requests</h3><ul><li>Diğer geliştiricilerin yaptıkları geliştirmeleri görmemizi sağlar.</li><li>Code review imkanı sağlar. Feedback esnekliği sağlar.</li><li>Productiona çıkacak olan kodun kontrollü olarak yürütülmesini sağlar.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/686/1*hLFz6EQiX9PIU_WsK-Oc3Q.png" /><figcaption>Pull Request Akışı</figcaption></figure><h3>Git Hooks</h3><ul><li>Git kullanımında commit, push vb. komutlardan önce veya sonra çalıştırılan özel komut dosyalarıdır.</li><li>Kodlarınızı deploy ederken ve her seferinde çalışmasını isteyeceğiniz durumları bu komutlarla çalıştırabilirsiniz.</li><li>Komutların detaylı açıklamalarını aşağıdaki linkten bulabilirsiniz.</li><li><a href="https://www.digitalocean.com/community/tutorials/how-to-use-git-hooks-to-automate-development-and-deployment-tasks"><strong>https://www.digitalocean.com/community/tutorials/how-to-use-git-hooks-to-automate-development-and-deployment-tasks</strong></a></li></ul><h3>Git LFS(Large File System)</h3><ul><li>Open-source bir git eklentisidir. Git deponuzda saklanması gereken büyük dosyalar için kullanılır. Kendi reponuzda bu dosyalar saklanmaz. Başka bir yerde saklanır ve reponuza pointer vasıtasıyla bu dosyalara ulaşılır.</li><li>Video, sound vb. büyük dosyaların depolanmasını destekler.</li><li>Tüm geliştiricilerin bu eklentiyi yüklemesi gerekiyor. Yoksa akış bozuluyor.</li><li>Github ve Azure Devops tarafından destekleniyor.</li><li>Azure Devops’da bir maksimum size detayına ulaşamadım. Kullanan, bilgisi olan varsa bilgilendirebilirler.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/729/1*-UWGap7HWWTEIZmD1wNPng.png" /><figcaption>Github Git LFS</figcaption></figure><p>Aşağıdaki makalede daha detaylı bilgilendirmeler mevcut.</p><ul><li><a href="https://www.perforce.com/blog/vcs/how-git-lfs-works"><strong>https://www.perforce.com/blog/vcs/how-git-lfs-works</strong></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a47268ddb630" width="1" height="1" alt=""><hr><p><a href="https://medium.com/devopsturkiye/git-kullan%C4%B1m%C4%B1nda-yap%C4%B1land%C4%B1rma-se%C3%A7enekleri-a47268ddb630">Git Kullanımında Yapılandırma Seçenekleri</a> was originally published in <a href="https://medium.com/devopsturkiye">Devops &amp; AI Türkiye☁️ 🐧 🐳 ☸️</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Agile Çevik Proje Yönetimi]]></title>
            <link>https://abdullahalaslan.medium.com/agile-%C3%A7evik-proje-y%C3%B6netimi-6e965f4c2c36?source=rss-2d9b5fa8d377------2</link>
            <guid isPermaLink="false">https://medium.com/p/6e965f4c2c36</guid>
            <category><![CDATA[agile-development]]></category>
            <category><![CDATA[agile-methodology]]></category>
            <dc:creator><![CDATA[Abdullah Alaslan]]></dc:creator>
            <pubDate>Tue, 26 Mar 2019 10:21:26 GMT</pubDate>
            <atom:updated>2019-03-26T10:21:26.746Z</atom:updated>
            <content:encoded><![CDATA[<p>Agile kelime anlamı olarak çevik, sağlamlık, kıvrak demek. Peki bu çevikliğin projelerimize ne tür katkıları var? Bu çeviklikten nasıl faydalanıyoruz? Ve en önemlisİ, proje yönetiminde bu çevikliği sağlamak şart mı?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QI7rsAy0N6g5TPVJ9xx4Wg.png" /></figure><h4>Agile Proje Yönetimi Nedir?</h4><p>Diyelim ki müşteriniz sizden bir proje talep etti. Projeyi gerçeklemek için ekibinizi oluşturdunuz. Proje detaylarını içeren dokümanları aldınız. Müşteriniz sizden fotoğraf paylaşımları yapılabilecek bir uygulama yapmanızı istiyor. Yüklenilen fotoğraflar 24 saat profilde duracak, insanlar bu fotoğrafı görecek ve daha sonra bir daha açılmamak üzere silinecek. Siz tamam dediniz ve proje bitimi için süre verdiniz. 1 sene. 1 sene boyunca başından sonuna kadar tüm adımları planladınız ve projenizi o hedefe doğru adım adım ilerlettiniz. Fakat o da ne? Siz projenin 6.ayına geldiğinizde başka bir şirket bu özelliği kullanan bir uygulama çıkarmış bile. Ve müşteriniz bu durumun üstüne çıkabilmek için sizden bu özelliğin yanına 24 saatte silinen video paylaşımını da eklemenizi istiyor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/625/1*b_MsIieocjuWeXTIste2RQ.jpeg" /></figure><p>Fakat siz tüm planlamalarınızı baştan belirlenen modüller üzerine kurmuştunuz. Bir diğer yazılım geliştirme modeli olan Waterfall modelini kullandınız. Peki bu model sizin ihtiyaçlarınıza cevap verebiliyor mu? Ekibiniz ve siz bu değişikliğe hazır mısınız? Zaman ve bütçeniz bu durumu kaldırabilecek mi? İşte burda sizin yardımınıza koşacak olan Agile Proje Yönetim modelidir. Adından anlaşılacağı gibi size çevik proje geliştirmeye olanak sağlar. Değişen ihtiyaçlara, güncel isteklere ve her türlü problemi anında görmenizde size destek sağlar. Agile’da önceliğiniz daima müşteri isteklerine güncel cevaplar vermek ve müşteriye optimum bir sürede, çalışabilen bir ürün ortaya koymaktır.. Tüm projeyi tamamlayıp test etmek yerine test aşamalarını her gelişimde işletmek, Agile modelinin fayda sağladığı noktalardan birisidir.</p><h3>Agile Manifestoları</h3><p>Yazılım dünyasında söz sahibi olan 17 yazılımcı 2001 yılında Utah kentinde bir araya geldi. Bu toplantının amacı yazılım sektöründe çalışan şirket ve insanların üretkenliğini arttırabilmekti. Toplantı sonucunda 12 maddeden oluşan ve 15 yılda ana akım haline dönüşen bir manifesto yayınlandı. Bu maddeler şunlardır:</p><ul><li>En önemli önceliğimiz değerli yazılımın erken ve devamlı teslimini sağlayarak müşterileri memnun etmektir.</li><li>Değişen gereksinimler yazılım sürecinin son aşamalarında bile kabul edilmelidir. Çevik süreçler değişimi müşterinin rekabet avantajı için kullanır.</li><li>Çalışan yazılım, tercihen kısa zaman aralıkları belirlenerek birkaç haftada ya da birkaç ayda bir düzenli olarak müşteriye sunulmalıdır.</li><li>İş süreçlerinin sahipleri ve yazılımcılar proje boyunca her gün birlikte çalışmalıdırlar.</li><li>Projelerin temelinde motive olmuş bireyler yer almalıdır. Onlara ihtiyaçları olan ortam ve destek sağlanmalı, işi başaracakları konusunda güven duyulmalıdır.</li><li>Bir yazılım takımında bilgi alışverişinin en verimli ve etkin yöntemi yüzyüze iletişimdir.</li><li>Çalışan yazılım ilerlemenin birincil ölçüsüdür.</li><li>Çevik süreçler sürdürülebilir geliştirmeyi teşvik etmektedir. Sponsorlar, yazılımcılar ve kullanıcılar sabit çalışma temposunu sürekli devam ettirebilmelidir.</li><li>Teknik mükemmeliyet ve iyi tasarım konusundaki sürekli özen çevikliği artırır.</li><li>Sadelik, işin özü olmayan işlerin yapılmamasını en üst seviye tutmak elzemdir.</li><li>En iyi mimariler, gereksinimler ve tasarımlar kendi kendini örgütleyen takımlardan ortaya çıkar.</li><li>Takım, düzenli aralıklarla nasıl daha etkili ve verimli olabileceğinin üzerinde düşünür ve davranışlarını buna göre ayarlar ve düzenler.</li></ul><p>Çevik yazılımlar geliştirmeniz dileğiyle.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6e965f4c2c36" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>