i) Classic network is where your instance run in a single flat network that is shared with other customers.ii) VPC network is logically isolated to only your AWS account. Ec2 VPC instance run in a virtual private cloud.
Thursday, August 11, 2022
Migrate EC2-Classic Instance to VPC
Wednesday, June 29, 2022
Jenkins, Backup server setup. If master crash.
In this blog we will restore Jenkins backup in a new Jenkins server. where you can restore you previous or existing Jenkins backup in to a new Jenkins server.
To complete this process you should have Jenkins backup with you.
>> Let's start.<<
First we need to setup a new server and install Jenkins on it.
Now restore the old Jenkins backup to the new server under /$JENKINS_HOME folder /var/lib/Jenkins.
Create SSH secret file in Jenkins home directory with command ssh-keygen
Put SSH public key “id_rsa.pub” key into GitLab ssh-key-access settings.
And also put the public key “id_rsa.pub” key into the deployment server for communication between the Jenkins server to the deployment server.
Note: White list the new Jenkins server public IP for Gitlab server and deployment servers on AWS or respective cloud.
Terraform vs Pulumi
This article is all about terraform vs pulumi difference.
There are many (IaC) infrastructure as code tools are available. but today we are going to understand the two most popular IaC tool currently in the market.
1. Terraform
2. Pulumi
What is Terraform?
It is an open-source laC solution that helps you maintain and provision cloud infrastructures. You use a custom declarative language to describe Terraforms required components. Then, Terraform generates a plan to achieve your desired outcome.
Terraform a domain-specific language (DSL) called HashiCorp Configuration Language (HCL). HCL provides arguments, expressions, and blocks to simplify the Terraform configuration.
Below is the terraform example code.
provider "aws" {
profile = "default"
region = "us-east-1"
}
resource "aws_instance" "example" {
ami = "ami-2757f001"
instance_type = "t2.micro"
}
What is Pulumi?
It is fast-growing IaC solution. You can use it to maintain, deploy, and configure resources on your cloud infrastructure, as well as improve its efficiency.
It supports multiple private, hybrid, and public cloud providers such as OpenStack, Kubernetes, Google Cloud, Azure, Amazon Web Services (AWS), and phoenixNAP Bare Metal Cloud.
Pulumi is a multi-language infrastructure as code tool. Pulumi supports all major language.
The following language runtimes are currently supported by Pulumi.
- Node.js
- Python
- Go
- C#
- Java
- YAML
What is DevOps? DevOps Kya hai?
DevOps is not a tool or a software. DevOps simply is a hassle free process to implement, develop and deliver the product to client. It'...
-
In This blog we will learn how to clone VMs or Servers in VMware ESXi.If we don't have vCenter, VMware ESXi allow us to clone VMs / Serv...
-
DevOps is not a tool or a software. DevOps simply is a hassle free process to implement, develop and deliver the product to client. It'...
-
Enable 2FA in GitHub Account Log in to your GitHub account open the menu from the top-right icon that shows your account image. Select “ You...