This is a familiar requirement for everyone I believe. How to clone an EC2 instance and create a new instance with the same configuration. While we want to launch multiple EC2 instances of the same configuration there are multiple ways we follow. Creating Auto Scaling Group or Launch Template Create[...]
Read moreCategory: DevOps_Beginner
Pulumi AWS Example - Creating VPC, Subnets, EC2, Bastion host
In this article, we are going to see how to set up compute infrastructure consisting of virtual private cloud, subnets, internet gateway, NAT gateway, route tables and EC2 instances in Amazon web services using one of the most competent IaC tool 'Pulumi' In addition to this, we shall see how[...]
Read moreTerraform For Each Examples - How to use for_each | Devops Junction
In this post, we’ll try to cover Terraform looping constructs. We’ll cover the looping constructs that specifically work at the resource level. They handle resource creation itself. There are two Looping constructs. count: This is often brought up when talking about looping with Terraform. for_each: This technique is similar to the count[...]
Read moreTerraform Create Multiple EC2 with different Configs - for_each and count together
Those who have been using Terraform might already know that you can create multiple numbers of the same resources with the help of count or for_each But What if we want to create multiple resources with different configurations at the same time. For example. we can easily create No of[...]
Read moreTerraform AWS EC2 user_data example - aws_instance| Devops Junction
In this article we are going to see how to create AWS EC2 instance with user_data. While launching AWS Ec2 instances we might want to add some customizations to it like adding a key and executing few shell commands or scripts to make sure they are ready to launch your[...]
Read moreHow to Deploy Tomcat on Kubernetes Step by Step
Overview In this post, we are going to see how to deploy tomcat on Kubernetes. How to Deploy Tomcat based web application into Kubernetes. We are taking Google Cloud - Kubernetes Engine (GKE) for our example and creating our Kubernetes Cluster with 3 nodes You can do all these steps[...]
Read moreTerraform AWS Example - Create EC2 instance with Terraform
Terraform, An outstanding and innovative product from hashicorp and it is a leader in Infrastructure as Code tools Segment. Before I go any further, I think I should set the context. In this article, we are going to learn how to use Terraform to create AWS EC2 instance and create[...]
Read moreAnsible EC2 Example - Create EC2 instance with Ansible
Infrastructure as Code is getting all attention it deserves and everyone is trying to find their way to the `Completely automated Infrastructure Provisioning & Management` While there are a lot of tools available now in the market starting from Terraform, AWS CloudFormation, Chef, Puppet, Salt Stack There are some differences[...]
Read moreDocker network between containers - Docker Networking Example
In this post we are going to see How to establish docker network between containers, How to Link Docker Containers, How to Access one Container from Another, Docker inter-container communication, How to Connect to Container, etc. This post is to answer all that. So How do we connect a[...]
Read moreAnsible Playbook Examples - Sample Ansible Playbooks | Devops Junction
In this post, we are going to see examples of Ansible playbook and various different modules and playbook examples with various modules and multiple hosts. We will start with a basic Ansible playbook and learn what is task and play and what is playbook etc. What is Ansible Playbook It[...]
Read more