<?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 Ganeshgowdar on Medium]]></title>
        <description><![CDATA[Stories by Ganeshgowdar on Medium]]></description>
        <link>https://medium.com/@ganeshgowdar22?source=rss-ddbcb241adb0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*tedEkYXmcaKkGJBFd2mUxw@2x.jpeg</url>
            <title>Stories by Ganeshgowdar on Medium</title>
            <link>https://medium.com/@ganeshgowdar22?source=rss-ddbcb241adb0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 06:04:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ganeshgowdar22/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[Enhancing Multi-Cloud Security with Cyscale]]></title>
            <link>https://medium.com/@ganeshgowdar22/enhancing-multi-cloud-security-with-cyscale-61f809c47352?source=rss-ddbcb241adb0------2</link>
            <guid isPermaLink="false">https://medium.com/p/61f809c47352</guid>
            <category><![CDATA[cyscale]]></category>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[cloud-security-solution]]></category>
            <category><![CDATA[multi-cloud]]></category>
            <dc:creator><![CDATA[Ganeshgowdar]]></dc:creator>
            <pubDate>Tue, 25 Jul 2023 23:49:30 GMT</pubDate>
            <atom:updated>2023-07-27T11:40:35.613Z</atom:updated>
            <content:encoded><![CDATA[<p>Recently I got the opportunity to explore an amazing multi-cloud security platform called Cyscale. Thank you Cyscale Team for providing me access to explore the amazing platform. In this blog, we will delve into the intricacies of multi-cloud, explore the challenges it presents, and discover how Cyscale can effectively address these issues.</p><blockquote><strong>Introduction</strong></blockquote><p>In today&#39;s digital landscape, cloud computing has become the backbone of modern businesses, enabling them to scale, innovate, and optimize their operations. With the increasing adoption of multi-cloud strategies, organizations are leveraging the strengths of different cloud providers to achieve better flexibility, resilience, and cost-effectiveness. However, this approach also introduces complex challenges in managing security across multiple cloud environments. To address these concerns, Cyscale emerges as a powerful solution, empowering businesses with comprehensive multi-cloud security management.</p><blockquote><strong>Understanding Multi-Cloud Security</strong></blockquote><p>Multi-cloud environments involve using services from multiple cloud providers, such as Amazon Web Services (AWS), Microsoft Azure, Google Cloud Platform (GCP), and others, to diversify capabilities and avoid vendor lock-in. While this approach offers numerous benefits, it also demands robust security measures to ensure the confidentiality, integrity, and availability of data, applications, and resources across all cloud platforms.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BFz0PMRZLfq2idf2OqD4Bg.png" /></figure><blockquote><strong>Challenges in Multi-Cloud Security</strong></blockquote><ol><li>Diverse Security Protocols: Each cloud provider has its unique set of security protocols and configurations, leading to complexity in managing and enforcing consistent security policies across different platforms.</li><li>Limited Visibility: Monitoring and maintaining a clear overview of security incidents, threats, and vulnerabilities across various clouds can be overwhelming, making it harder to respond effectively.</li><li>Compliance Concerns: Different regions and industries may have specific regulatory requirements that organizations must adhere to, complicating compliance efforts within multi-cloud environments.</li><li>Identity and Access Management (IAM): IAM policies must be precisely controlled to ensure authorized access to resources, while also preventing unauthorized access across diverse cloud providers.</li><li>Data Protection and Encryption: Securing sensitive data across different clouds is crucial, and managing encryption keys and access controls consistently can be challenging</li></ol><blockquote><strong>Introducing Cyscale: A Multi-Cloud Security Enabler</strong></blockquote><p>Cyscale is a leading-edge platform that specializes in multi-cloud security management. It addresses the challenges of securing multiple cloud environments by providing a unified and intuitive interface to manage security posture, compliance, and incident response seamlessly.</p><ol><li>Centralized Security Management: Cyscale unifies security management across multiple cloud platforms, offering a holistic view of security postures, threats, and vulnerabilities. This centralized approach simplifies security operations by providing a single dashboard to monitor and manage all cloud environments, enabling security teams to identify potential risks proactively.</li><li>Automated Compliance Monitoring: The platform allows users to map regulatory requirements, streamlining compliance efforts and providing actionable insights to meet the necessary standards. With automated compliance monitoring, organizations can assess their cloud infrastructure against industry standards and best practices, facilitating smooth audits and reducing compliance-related challenges.</li><li>Continuous Threat Prevention: Cyscale continuously monitors for security threats, including unauthorized access, suspicious activities, and potential data breaches, enabling organizations to prevent incidents. By leveraging real-time threat intelligence and machine learning algorithms, the platform can detect anomalous behaviors and patterns, helping security teams stay one step ahead of potential cyber threats.</li><li>Identity and Access Management (IAM) Integration: The platform integrates with cloud providers’ IAM services to provide granular control over user access and permissions, minimizing the risk of unauthorized access. Cyscale enables organizations to enforce the principle of least privilege, ensuring that users have access only to the resources necessary for their roles, thereby reducing the attack surface and enhancing overall security.</li><li>Data Protection and Encryption: Cyscale assists organizations in implementing robust data protection measures, including encryption key management and data lifecycle security. This ensures that sensitive data remains secure, both at rest and in transit, regardless of the cloud provider.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CUnD4Ml_oSBmAmNbFdqYIw.png" /><figcaption>Cyscale platform dashboard</figcaption></figure><p>Cyscale is designed to support various industry standards and best practices for cloud security. It allows organizations to align their multi-cloud environments with widely recognized frameworks. By adhering to these standards, businesses can ensure that their cloud deployments meet industry-accepted security guidelines, boosting customer trust and compliance efforts.</p><blockquote><strong>Integrations</strong></blockquote><p><strong>Integration with Cloud Providers</strong>: Cyscale seamlessly integrates with major cloud providers like AWS, Azure, and GCP, allowing organizations to pull in real-time security data from each platform. This integration enables security teams to monitor and assess the security posture of all cloud resources through a single dashboard, facilitating quicker incident response and threat detection.</p><p><strong>API Integrations: </strong>Cyscale offers Application Programming Interfaces (APIs) that enable easy integration with existing security tools and third-party solutions. This interoperability ensures that organizations can leverage their existing security investments while complementing them with Cyscale’s multi-cloud security capabilities.</p><p><strong>Single Sign-On (SSO) Integration:</strong> Cyscale supports Single Sign-On integration with popular Identity Providers (IDPs), simplifying user authentication and access management. This integration enhances the user experience, improves security by enforcing consistent identity controls, and reduces the management burden for administrators.</p><p><strong>Compliance Integration:</strong> Cyscale provides integrations with compliance management tools, facilitating the aggregation and analysis of compliance-related data from various cloud platforms. This integration ensures that organizations can assess their compliance status comprehensively and streamline audit processes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wAHb82SmB6iW68oAVpeSfw.png" /></figure><blockquote><strong>Compliance standards and policies</strong></blockquote><ol><li><strong>Standards and Best Practices:</strong> Cyscale is designed to support various industry standards and best practices for cloud security. It allows organizations to align their multi-cloud environments with widely recognized frameworks such as NIST, CIS, ISO 27001, and SOC 2, among others. By adhering to these standards, businesses can ensure that their cloud deployments meet industry-accepted security guidelines, boosting customer trust and compliance efforts.</li><li><strong>Custom Security Policies:</strong> While Cyscale comes equipped with pre-defined security policies based on industry standards, it also allows organizations to customize policies to suit their specific needs. This flexibility enables businesses to establish security measures that align with their unique requirements, ensuring a tailored and effective security posture across multi-cloud environments.</li><li><strong>Automated Policy Enforcement:</strong> Cyscale streamlines the enforcement of security policies across multiple cloud providers through automation. By defining security policies once and deploying them consistently across all platforms, organizations can avoid manual errors and ensure uniform security implementation, regardless of the cloud service being used.</li><li><strong>Centralized Policy Management: </strong>With Cyscale’s centralized approach, security policies can be managed and updated from a single location, providing a unified view of policy enforcement across all cloud environments. This centralized management simplifies policy administration, reduces overhead, and enhances security governance.</li></ol><blockquote><strong>Conclusion</strong></blockquote><p>Embracing multi-cloud strategies can be a game-changer for organizations seeking to leverage the full potential of cloud computing. However, it is crucial to recognize and address the security challenges that come with this approach. Cyscale emerges as a powerful solution to enhance multi-cloud security, offering a unified platform for comprehensive security management, automated compliance monitoring, real-time threat detection, IAM integration, and data protection.</p><p>By deploying Cyscale, businesses can confidently harness the benefits of multi-cloud while ensuring the confidentiality, integrity, and availability of their data and applications. As the cloud landscape continues to evolve, Cyscale remains at the forefront of multi-cloud security, empowering organizations to embark on their cloud journey securely and efficiently. Embrace the power of Cyscale and unlock the true potential of multi-cloud computing while safeguarding your digital assets.</p><p>To know more about Cyscale contact:<br><a href="https://www.linkedin.com/in/barrylyne/">https://www.linkedin.com/in/barrylyne/</a></p><p>Cheers,<br>Ganesh</p><p><a href="https://www.linkedin.com/in/ganesh-gowdru/">https://www.linkedin.com/in/ganesh-gowdru/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=61f809c47352" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying a Kubernetes Cluster on Ubuntu: Setting Up Master and Slave Nodes]]></title>
            <link>https://medium.com/@ganeshgowdar22/deploying-a-kubernetes-cluster-on-ubuntu-setting-up-master-and-slave-nodes-13ef830ece8d?source=rss-ddbcb241adb0------2</link>
            <guid isPermaLink="false">https://medium.com/p/13ef830ece8d</guid>
            <category><![CDATA[pods]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[kubernetes-cluster]]></category>
            <dc:creator><![CDATA[Ganeshgowdar]]></dc:creator>
            <pubDate>Sat, 15 Jul 2023 21:30:34 GMT</pubDate>
            <atom:updated>2023-07-15T21:32:19.056Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eQZghtStFSLTokDPL1i0xA.png" /></figure><h3>Introduction:</h3><p>Kubernetes is a powerful container orchestration platform that simplifies the management and scaling of containerized applications. In this tutorial, we will guide you through the process of setting up a Kubernetes cluster on Ubuntu, consisting of a master node and multiple slave nodes. By the end of this guide, you will have a fully operational Kubernetes cluster ready to deploy and manage your applications.</p><p>Prerequisites:</p><ol><li>Multiple machines running Ubuntu (preferably the latest LTS version).</li><li>Basic knowledge of the Linux command line.</li><li>Familiarity with networking concepts.</li></ol><p>Let’s begin!</p><p><strong>Step 1</strong>: Update System Packages To ensure that all your machines have the latest software versions, update the system packages by executing the following commands on all nodes (master and slaves):</p><pre>sudo apt update</pre><p><strong>Step 2</strong>: Install Docker Kubernetes relies on containerization technology, and Docker is the most popular containerization platform. Execute the following commands to install Docker:</p><pre>sudo apt install docker.io -y<br>sudo systemctl start docker<br>sudo systemctl enable docker</pre><p><strong>Step 3</strong>: Disable Swap Kubernetes requires that the swap space is disabled on the host machine. To do so, run the following command:</p><pre>sudo swapoff -a</pre><p><strong>Step 4</strong>: Install Kubernetes Tools To install the necessary Kubernetes components, execute the following commands:</p><pre>#add the required repository for kubeadm<br>sudo apt-get update &amp;&amp; sudo apt-get install -y apt-transport-https curl<br>curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -<br>cat &lt;&lt;EOF | sudo tee /etc/apt/sources.list.d/kubernetes.list<br>deb https://apt.kubernetes.io/ kubernetes-xenial main<br>EOF<br><br>#update the repository<br>$ sudo apt-get update<br><br>#installing kubelet, kubeadm and kubectl<br>sudo apt-get install -y kubelet kubeadm kubectl<br><br>#setting apt-mark<br>sudo apt-mark hold kubelet kubeadm kubectl</pre><p><strong>Step 5</strong>: Initialize the Kubernetes Cluster on the Master Node Run the following command on the master node to initialize the Kubernetes cluster(ONLY ON MASTER NODE):</p><pre>kubeadm init --pod-network-cidr 10.11.0.0/16</pre><p>After the initialization is complete, make a note of the kubeadm join command provided in the output. This command will be used to add the slave nodes to the cluster.</p><p><strong>Step 6</strong>: Configure the Kubernetes Cluster on the Master Node Once the initialization is done, configure Kubernetes for regular user access. Execute the following commands on the master node:</p><pre>mkdir -p $HOME/.kube<br>sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config<br>sudo chown $(id -u):$(id -g) $HOME/.kube/config</pre><p><strong>Step 7</strong>: Deploy a Pod Network Addon on the Master Node To enable communication between pods in the Kubernetes cluster, a pod network addon is required. Choose a suitable addon, such as Calico, Flannel, or Weave. In this blog, we’ll use Calico as an example. Execute the following command on the master node to install Calico(ONLY ON MASTER NODE):</p><pre>kubectl create -f https://raw.githubusercontent.com/projectcalico/calico/v3.25.0/manifests/tigera-operator.yaml<br>wget https://raw.githubusercontent.com/projectcalico/calico/v3.25.0/manifests/custom-resources.yaml</pre><p><strong>Step 8</strong>: Add the CIDR range specified previously in step 5.</p><pre>vi custom-resources.yaml &lt;&lt;&lt;&lt;&lt;&lt; edit the CIDR for pods if its custom(10.11.0.0/16)</pre><p>then save the YAML file and execute</p><pre>kubectl apply -f custom-resources.yaml</pre><p><strong>Step 9</strong>: Join the Slave Nodes to the Cluster Now, move to each of the slave nodes, and execute the kubeadm join command you noted down. This command will connect the slave nodes to the master and add them to the Kubernetes cluster.</p><p>If you lose the join command use the below command to fetch it again</p><pre>kubeadm token create --print-join-command</pre><p><strong>Step 10</strong>: Verify the Cluster Status To check if the Kubernetes cluster is up and running, return to the master node and execute the following command:</p><pre>kubectl get nodes</pre><p>You should see the master node and all the joined slave nodes listed, along with their status.</p><p>If you’re unable to execute commands like kubectl get pods in slave node. You need to copy the/etc/kuberenetes/admin.conf file from the master node and paste it into/etc/kubernetes/admin.conf of the worker node. After pasting run these commands</p><pre>cat /etc/kuberenetes/admin.conf //copy from master node<br><br>//run the following commands in the worker node after pasting admin.conf in worker node<br>mkdir -p $HOME/.kube<br>sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config<br>sudo chown $(id -u):$(id -g) $HOME/.kube/config</pre><p>Conclusion:</p><p>Hurray! We have successfully set up a Kubernetes cluster on Ubuntu, with a master node and multiple slave nodes. This cluster provides a robust foundation for deploying and managing containerized applications. Take advantage of Kubernetes’ vast ecosystem and explore its powerful features to scale and orchestrate your applications effortlessly.</p><p>Cheers,</p><p>Ganesh</p><p><a href="https://www.linkedin.com/in/ganesh-gowdru/">https://www.linkedin.com/in/ganesh-gowdru/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=13ef830ece8d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I cleared Terraform Associate exam with 82%…!]]></title>
            <link>https://medium.com/@ganeshgowdar22/how-i-cleared-terraform-associate-exam-with-82-e234d4f8860?source=rss-ddbcb241adb0------2</link>
            <guid isPermaLink="false">https://medium.com/p/e234d4f8860</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[iac]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[terraform]]></category>
            <dc:creator><![CDATA[Ganeshgowdar]]></dc:creator>
            <pubDate>Wed, 17 May 2023 11:28:00 GMT</pubDate>
            <atom:updated>2023-05-17T11:28:00.605Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pVwpgroTKxSY1ma9EjE0cg.png" /></figure><p><strong>Introduction</strong></p><p>The Terraform Associate exam is a highly regarded certification offered by HashiCorp, designed to validate an individual’s knowledge and skills in utilizing Terraform for infrastructure as code (IaC) deployments. With the growing demand for efficient infrastructure provisioning and management, achieving the Terraform Associate certification can open doors to exciting career opportunities in the cloud and DevOps domains. In this article, I will delve into the details of the Terraform Associate exam, exploring its structure, content, and tips for success.</p><p><strong>Exam Structure</strong></p><p>The Terraform Associate exam is a multiple-choice exam administered through an online proctored system. It consists of 57 questions to be answered within a time frame of 60 minutes. The exam is computer-based and assesses your understanding of Terraform’s core concepts, best practices, and practical application in real-world scenarios. The passing score for the exam is 70%.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/629/1*I6iGHlZET_Aok6fVeym11Q.png" /></figure><p>Main objectives of this exam includes</p><ol><li><strong>Understand infrastructure as code (IaC) concepts</strong></li><li><strong>Understand the purpose of Terraform (vs other IaC)</strong></li><li><strong>Understand Terraform basics</strong></li><li><strong>Use Terraform outside of core workflow</strong></li><li><strong>Interact with Terraform modules</strong></li><li><strong>Use the core Terraform workflow</strong></li><li><strong>Implement and maintain state</strong></li><li><strong>Read, generate, and modify configuration</strong></li><li><strong>Understand Terraform Cloud capabilities</strong></li></ol><p>Exam is very straightforward. Types of questions you can expect are</p><ol><li>Single choice</li><li>Multiple choice</li><li>Fill in the blanks</li><li>Boolean</li></ol><p><strong>Tips for Success: </strong>To increase your chances of success in the Terraform Associate exam, consider the following tips:</p><ol><li><strong>Thoroughly Review Official Documentation</strong>: HashiCorp’s official Terraform documentation is an invaluable resource. Familiarize yourself with the documentation, paying attention to core concepts, provider-specific information, and best practices.</li><li><strong>Hands-On Experience:</strong> Practice using Terraform in a lab environment. Set up your own infrastructure, create configurations, and deploy resources on popular cloud platforms like AWS, Azure, or GCP. This practical experience will solidify your understanding and provide real-world context.(Must)</li><li><strong>Practice tests:</strong> Practice tests play a crucial role in preparing for the Terraform Associate exam. They help you become familiar with the exam format, question types, and time constraints. By experiencing a similar testing environment beforehand, you can reduce test anxiety and feel more confident on exam day.</li><li><strong>Identification of Weak Areas:</strong> Practice tests highlight specific areas where you may need additional study or improvement. When you review the test results, pay attention to the questions you answered incorrectly or struggled with. These insights help you identify your weak areas and focus your study efforts on those topics, ensuring a more targeted and effective preparation strategy.</li></ol><p>Study Materials which I used for clearing the exam:</p><p>Terraform associate course by KodeKloud: <a href="https://kodekloud.com/courses/hashicorp-certified-terraform-associate/">https://kodekloud.com/courses/hashicorp-certified-terraform-associate/</a></p><p>HashiCorp Certified: Terraform Associate Practice Exam 2023 by Bryan Krausen : <a href="https://www.udemy.com/course/terraform-associate-practice-exam/">https://www.udemy.com/course/terraform-associate-practice-exam/</a></p><p>250 sample questions: <a href="https://medium.com/bb-tutorials-and-thoughts/250-practice-questions-for-terraform-associate-certification-7a3ccebe6a1a">https://medium.com/bb-tutorials-and-thoughts/250-practice-questions-for-terraform-associate-certification-7a3ccebe6a1a</a></p><p><strong>Exam link:</strong> <a href="https://www.hashicorp.com/certification/terraform-associate">https://www.hashicorp.com/certification/terraform-associate</a></p><p>You’ll get the results right after the completion of the exam and get the Terraform badge within 48 hours.</p><p><strong>Conclusion</strong></p><p>By dedicating time and effort to understanding Terraform’s principles, mastering its usage, and leveraging practice tests to enhance preparedness, individuals can clear the Terraform Associate exam with confidence. This certification opens doors to exciting career opportunities and establishes a solid foundation for further growth in the ever-evolving world of infrastructure as code.</p><p>All the best!!!</p><p>Reach out to me if you have any queries</p><p>LinkedIn: <a href="https://www.linkedin.com/in/ganesh-gb/">https://www.linkedin.com/in/ganesh-gb/</a></p><p>Email: ganesh.221998@gmail.com</p><p>Cheers,</p><p>Ganesh</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e234d4f8860" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Power of DependsOn attribute in AWS cloudformation]]></title>
            <link>https://medium.com/@ganeshgowdar22/power-of-dependson-attribute-in-aws-cloudformation-4717a20d1830?source=rss-ddbcb241adb0------2</link>
            <guid isPermaLink="false">https://medium.com/p/4717a20d1830</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[aws-cloudformation]]></category>
            <category><![CDATA[cloudformation]]></category>
            <dc:creator><![CDATA[Ganeshgowdar]]></dc:creator>
            <pubDate>Tue, 10 Jan 2023 00:17:43 GMT</pubDate>
            <atom:updated>2023-01-15T11:37:00.565Z</atom:updated>
            <content:encoded><![CDATA[<p>Are you bored of having to manually enter the values that AWS generated into the cloudformation templates? We’ll go over how to automate it in this blog.</p><h3>DependsOn attribute</h3><p>The DependsOn attribute allows you to specify that one resource depends on another resource, meaning that the dependent resource cannot be created until the required resource has been created. This can be useful when you have resources that need to be created in a specific order, or when one resource is required by another resource.</p><p>For example, if you have a CloudFormation stack that creates an Amazon S3 bucket and an Amazon EC2 instance, you might want to specify that the EC2 instance depends on the S3 bucket. This would ensure that the S3 bucket is created before the EC2 instance, so that the EC2 instance has access to the bucket when it is launched.</p><p>Here is an example of how you might use the DependsOn attribute in a CloudFormation template</p><pre>Resources:<br>  MyS3Bucket:<br>    Type: AWS::S3::Bucket<br><br>  MyEC2Instance:<br>    Type: AWS::EC2::Instance<br>    DependsOn: MyS3Bucket<br>    Properties:<br>      # EC2 instance properties here</pre><p>This blog is written to demonstrate the dependsOn attribute’s possibilities for building layered stacks. We may retrieve the output of one stack into the input of another stack using the dependsOn property. Assume, for instance, that we are utilizing the cloudformation stacks to create the VPC and a few Ec2 instances. As we are aware, it is more realistic to execute the nested stack along with the nested stack as compared to executing the two scripts separately. However, because the value for VPCId is automatically produced by AWS, we may have to hard code the value for these in advance when creating Ec2 instances and other resources.</p><p>So in the VPC cloudformation template, we can specify the output section in which it exports the generated VPCId as shown below…</p><h3>Example</h3><pre>  VPC:<br>    Description: A reference to the created VPC<br>    Value: !Ref VPC<br>    Export:<br>      Name: VPCId</pre><p>In the Ec2 cloudformation template, we can specify as shown below. This will import the value from the output of the vpc cloudformation template.</p><pre>    Properties:<br>      VpcId: <br>          Fn::ImportValue:<br>            !Sub VPCId</pre><p>Specify dependsOn attribute in the parent stack as shown below</p><pre>  EC2NestedStack:<br>  #This stack launches the public intsnacinstancee and private instance<br>    Type: &#39;AWS::CloudFormation::Stack&#39;<br>    DependsOn: VPCNestedStack<br>    Properties:<br>      TemplateURL: &gt;-<br>       https://cfn-scripts-for-infra.s3.amazonaws.com/EC2_Instances.yaml</pre><p>This will wait till the creation of vpc is complete and imports the values from the created stacks and creates new stacks based on those values.</p><p><a href="https://github.com/L00171140/CFN-of-Website">GitHub - L00171140/CFN-of-Website</a></p><h3><strong>References:</strong></h3><p><a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html">DependsOn attribute</a></p><p>Feel free to contact me in case of any queries at ganesh.221998@gmail.com</p><p>LinkedIn: <a href="https://www.linkedin.com/in/ganesh-gb/">https://www.linkedin.com/in/ganesh-gb/</a></p><p><em>Keep following me for more content</em></p><p>Cheers,</p><p>Ganesh.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4717a20d1830" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Want to run your website in AWS for free..?]]></title>
            <link>https://medium.com/@ganeshgowdar22/want-to-run-your-website-in-aws-for-free-e4af52edf053?source=rss-ddbcb241adb0------2</link>
            <guid isPermaLink="false">https://medium.com/p/e4af52edf053</guid>
            <category><![CDATA[shell-script]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[website]]></category>
            <category><![CDATA[cloudformation]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Ganeshgowdar]]></dc:creator>
            <pubDate>Tue, 29 Nov 2022 23:04:53 GMT</pubDate>
            <atom:updated>2022-12-06T12:27:22.521Z</atom:updated>
            <content:encoded><![CDATA[<p>Ever wondered how to spin up the entire infrastructure and website in one go? This blog will show how to host a website in one go…</p><p>AWS Cloudformation is a web service that enables users to manage their infrastructure as code. It manages and coordinates the building, releasing, and running of applications on Amazon’s cloud. Cloudformation is an important AWS service because it enables users to automate the deployment and management of their instances with scripts or templates in a few easy steps.</p><p>Cloudformation templates are text files that contain instructions for managing and deploying AWS resources. These templates are used by Cloudformation to create the infrastructure users want on demand. Users upload these templates into the AWS Management Console and edit them there before deploying them</p><figure><img alt="Architecture Diagram for the Infrastructure" src="https://cdn-images-1.medium.com/max/1024/1*NyJndx4YhmGkgHqtMcYrAg.png" /></figure><p>With one private subnet and one public subnet, I have created a VPC. A private instance was built in the private subnet to serve as AppServer, while a public instance was created in the public subnet to serve as JumpHost. For the private instance’s internet access, a NAT gateway is attached to the public subnet.</p><p>I have also added the Amazon GuardDuty service which provides nearly real-time detection of malicious activity on AWS resources operated by you and your AWS account. The service proactively looks for anomalous and potentially unauthorized changes to the configurations of your machine images, security settings, or instances. With GuardDuty, you can quickly detect and investigate potentially compromised accounts that could lead to a data breach.(optional)</p><p>All of these resources were produced in distinct stacks, each of which was then called by the parent stack or root stack, which will call all of the stacks. Additionally, you may provide the “DependsOn” attribute, which will build the stack it depends on. It’s similar to stating the sequence in which the stacks should be created.</p><p>Replace your GitHub website URL in the section of user data while creating the instance.</p><p>If you want it to be free…you can launch only one t2.micro instance without any additional resources. AWS offers t2.micro for free upto certain usage and after that also AWS charges minimal amount for running t2.micro.</p><p>This is the basic version; in the upcoming blogs, I’ll be adding more automated techniques. Stay tuned!!!</p><p>GitHub Link: <a href="https://github.com/L00171140/CFN-of-Website">https://github.com/L00171140/CFN-of-Website</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/983/1*PKhEsYGyzJL-WZzzE8kfug.png" /><figcaption>Creating AWS Cloudformation through the console</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/988/1*SAFYec6hnwn1r8sFWIeDQw.png" /><figcaption>Specifying the parameters</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/869/1*KaJYkMPz1yvn2O1mxqg01A.png" /><figcaption>Stack Creation process</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5PdPJvNt7ItVrKfc_BGvbQ.png" /><figcaption>Shell script to host the website in apache server</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IVEjcFi2f6YvlYjMJLc1AQ.png" /><figcaption>Hosted Website</figcaption></figure><p>Contact me in case of any queries</p><p>Gmail: ganesh.221998@gmail.com</p><p>LinkedIn: <a href="https://www.linkedin.com/in/ganesh-gb/">https://www.linkedin.com/in/ganesh-gb/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e4af52edf053" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>